IBM Support

PK77410: NULLPOINTEREXCEPTION IN WPACTIONPHASE IF PAGE SELECTION IS CHANG ED DURING PORTLET ACTION PHASE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Changing the page selection of a request in a portlet action
    results in the following NullPointerException:
                                     java.lang.NullPointerException
     at
    com.ibm.wps.engine.phases.WPActionPhase.isMultipleActionExecutio
    Allowed(WPActionPhase.java:1743)
     at
    com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPAction
    hase.java:2534)
     at
    com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.ja
    a:690)
     at
    com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractAction
    hase.java:130)
     at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:801)
     at com.ibm.wps.engine.Servlet.doGet(Servlet.java:608)
     at com.ibm.wps.engine.Servlet.doPost(Servlet.java:834)
     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    The code currently assumes that the portlet which received the
    action is on the currently selected page.
    This assumption however is no longer true if a selection change
    has taken place during the portlet action.
    

Local fix

Problem summary

  • Changing the page selection of a request in a portlet action
    results in the following NullPointerException:
    
    java.lang.NullPointerException
        at
    com.ibm.wps.engine.phases.WPActionPhase.isMultipleActionExecutio
    nAllowed(WPActionPhase.java:1743)
        at
    com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPAction
    Phase.java:2534)
        at
    com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.ja
    va:690)
        at
    com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractAction
    Phase.java:130)
        at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:801)
        at com.ibm.wps.engine.Servlet.doGet(Servlet.java:608)
        at com.ibm.wps.engine.Servlet.doPost(Servlet.java:834)
        at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    The code currently assumes that the portlet which received the
    action is on the currently selected page.
    This assumption, however, is no longer true if a selection
    change has taken place during the portlet action.
    

Problem conclusion

  • APAR makes sure that the above NullPointerException does not
    occur by handling the selection change case properly.
    
    Failing Module(s):
       Engine: State handling
    
    Affected Users:
       All Users
    
    Version Information:
        Portal Version(s): 6.0.1.5
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.0
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.1
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    Platform Specific:
       This fix applies to all platforms.
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PK77410&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK77410

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-15

  • Closed date

    2009-02-23

  • Last modified date

    2009-02-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61A PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021