IBM Support

PM16223: HANG AND NULLPOINTEREXCEPTION ON EXECUTING PORTLET ACTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under some rare conditions a hang can be seen when Portlet
    actions are executed. These conditions are that the same action
    ID is submitted more than one time by a Portlet and garbage
    collection occours between the 2 actions.
    
    In the logs a NullPointerException can be seen:
    
    [6/9/10 9:13:07:007 CDT] 0000006a Servlet       E
    com.ibm.wps.engine.Servlet handleException EJPEJ0070E: An
    exception occurred while processing the request.
    java.lang.NullPointerException
    at com.ibm.wps.engine.phases.WPActionPhase$LockManager$Data
    .access$200(WPActionPhase.java:3462)
    at com.ibm.wps.engine.phases.WPActionPhase$LockManager
    .lockReleased(WPActionPhase.java:3453)
    at com.ibm.wps.engine.phases.WPActionPhase
    .processPortlets(WPActionPhase.java:2762)
    at com.ibm.wps.engine.phases.WPActionPhase
    .execute(WPActionPhase.java:668)
    at com.ibm.wps.state.phases.AbstractActionPhase
    .next(AbstractActionPhase.java:130)
    at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:855)
    at com.ibm.wps.engine.Servlet.doGet(Servlet.java:617)
    at com.ibm.wps.engine.Servlet.doPost(Servlet.java:888)
    ...
    
    Some minutes later the Application Server will report hang
    threads:
    
    [6/9/10 9:22:41:135 CDT] 00000025 ThreadMonitor W   WSVR0605W:
    Thread "WebContainer : 31" (00000088) has been active for
    602945
    milliseconds and may be hung.  There is/are 1 thread(s) in
    total
    in the server that may be hung.
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.park(LockSupport
    .java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer
    .parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer
    .acquireQueued(AbstractQueuedSynchronizer.java:778)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer
    .acquire(AbstractQueuedSynchronizer.java:1114)
    at java.util.concurrent.locks.ReentrantLock$FairSync
    .lock(ReentrantLock.java:201)
    at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock
    .java:262)
    at com.ibm.wps.engine.phases.WPActionPhase
    .processPortlets(WPActionPhase.java:2463)
    at com.ibm.wps.engine.phases.WPActionPhase
    .execute(WPActionPhase.java:668)
    at com.ibm.wps.state.phases.AbstractActionPhase
    .next(AbstractActionPhase.java:130)
    at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:855)
    at com.ibm.wps.engine.Servlet.doGet(Servlet.java:617)
    at com.ibm.wps.engine.Servlet.doPost(Servlet.java:888)
    ...
    

Local fix

Problem summary

  • Under some rare conditions a hang can be seen when Portlet
    actions are executed. These conditions are that the same action
    ID is submitted more than one time by a Portlet and garbage
    collection occurs between the 2 actions. In the logs a
    NullPointerException can be seen:
    
          [6/9/10 9:13:07:007 CDT] 0000006a Servlet       E
    com.ibm.wps.engine.Servlet handleException EJPEJ0070E: An
    exception occurred while processing the request.
    java.lang.NullPointerException at
    com.ibm.wps.engine.phases.WPActionPhase$LockManager$Data.access$
    200(WPActionPhase.java:3462)
          at
    com.ibm.wps.engine.phases.WPActionPhase$LockManager.lockReleased
    (WPActionPhase.java:3453)
          at
    com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPAction
    Phase.java:2762)
          at
    com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.ja
    va:668)
          at
    com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractAction
    Phase.java:130)
          at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:855)
          at com.ibm.wps.engine.Servlet.doGet(Servlet.java:617)
          at com.ibm.wps.engine.Servlet.doPost(Servlet.java:888) ...
    S
    
       Some minutes later the Application Server will report hang
    threads:
    
          [6/9/10 9:22:41:135 CDT] 00000025 ThreadMonitor W
    WSVR0605W: Thread "WebContainer : 31" (00000088) has been active
    for 602945 milliseconds and may be hung.  There is/are 1
    thread(s) in total in the server that may be hung.
          at sun.misc.Unsafe.park(Native Method) at
    java.util.concurrent.locks.LockSupport.park(LockSupport.java:158
    )
          at
    java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndChe
    ckInterrupt(AbstractQueuedSynchronizer.java:747)
          at
    java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQue
    ued(AbstractQueuedSynchronizer.java:778)
          at
    java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(Ab
    stractQueuedSynchronizer.java:1114)
          at
    java.util.concurrent.locks.ReentrantLock$FairSync.lock(Reentrant
    Lock.java:201)
          at
    java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java
    :262)
          at
    com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPAction
    Phase.java:2463)
          at
    com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.ja
    va:668)
          at
    com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractAction
    Phase.java:130)
          at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:855)
          at com.ibm.wps.engine.Servlet.doGet(Servlet.java:617)
          at com.ibm.wps.engine.Servlet.doPost(Servlet.java:888) ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM16223

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61C

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-10

  • Closed date

    2010-07-20

  • Last modified date

    2010-07-20

  • 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

  • R61C PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 July 2010