IBM Support

PI22912: NULLPOINTEREXCEPTION THROWN FROM SESSION MANAGER CODE EVEN THOUGH THE APPLICATION SERVER IS UP AND RUNNING.

Fixes are available

8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Following NullPointerExceptions were thrown from session
    manager code stating the Application server was stopping even
    though the server is up and running.
    --------------------------------------------
    [6/26/14 15:17:38:551 JST] 00000064 webapp        E
    com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E:
    [Servlet Error]-[com.avp.AServlet]: java.lang.RuntimeException:
    SESN0007E: Attempted to access a session while the WebSphere
    Application Server was stopping.
    ---------------------------------------------
    This APAR fixes this NullPointerExcpetions.
    
    WebSphere Application Server V8.5.5.2
    Distributes Operating Systems.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 7.0, 8.0, 8.5 and IBM      *
    *                  WebSphere Application Server Liberty        *
    *                  Profile version 8.5 users.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Session Manager may fail when an        *
    *                      Exception is thrown from an             *
    *                      HttpSessionListener during server       *
    *                      shutdown.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Exceptions may be thrown from customer implemented
    HttpSessionListeners during shutdown.
    This may create an instance where the server becomes stuck in a
    'stopping' state, preventing any further access to the server
    until the JVM is restarted.
    Errors may appear like this:
    com.ibm.ws.webcontainer.webapp.WebApp destroy SRVE0297E: Web
    Application
    sesslstEAR#sesslst.war destroy encountered errors:
    java.lang.NullPointerException
    at com.avp.AListener.sessionDestroyed(AListener.java:28)
    at
    com.ibm.ws.session.http.HttpSessionObserver.sessionDestroyed(Htt
    pSessionObserver.java:179)
    at
    com.ibm.ws.session.SessionEventDispatcher.sessionDestroyed(Sessi
    onEventDispatcher.java:160)
    at
    com.ibm.ws.session.StoreCallback.sessionInvalidated(StoreCallbac
    k.java:126)
    at
    com.ibm.ws.session.store.memory.MemorySession.invalidate(MemoryS
    ession.java:232)
    at
    com.ibm.ws.session.store.memory.MemorySession.invalidate(MemoryS
    ession.java:878)
    at
    com.ibm.ws.session.store.memory.MemorySession.callInvalidateFrom
    InternalInvalidate(MemorySession.java:864)
    at
    com.ibm.ws.session.store.memory.MemorySession.internalInvalidate
    (MemorySession.java:780)
    at
    com.ibm.ws.session.store.memory.MemoryStore.invalidateAllMemoryS
    essions(MemoryStore.java:495)
    at
    com.ibm.ws.session.store.memory.MemoryStore.stop(MemoryStore.jav
    a:563)
    at
    com.ibm.ws.session.SessionContext.stop(SessionContext.java:744)
    

Problem conclusion

  • A try/catch condition was added to destruction of
    HttpListeners, allowing the shutdown to continue running.
    The error is appropriately logged in the trace.
    This APAR is targeted for inclusion in WebSphere Application
    Server Fix packs 7.0.0.37, 8.0.0.10, and 8.5.5.4.
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22912

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-29

  • Closed date

    2014-10-28

  • Last modified date

    2014-10-28

  • 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 APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 8.0

Reference #: PI22912

Modified date: 28 October 2014