IBM Support

PI44611: JSP ENGINE THROWING AN ILLEGALSTATEEXCEPTION WHEN PAGECONTEXT.FINDATTRIBUTE(STRING ATTRIBUTENAME) IS CALLED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a session has been invalidated, calls to
    methods getAttributesScope(String name),
    findAttribute(String name) or removeAttribute(String name)
    of javax.servlet.jsp.PageContext will throw a
    java.lang.IllegalStateException.
    
    These methods should be able to operate over
    the page, request, session and application scope.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 7.0, 8.0 and 8.5.5 and     *
    *                  Liberty Profile version 8.5.5 users of      *
    *                  JavaServer Pages (JSP).                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A IllegalStateException is thrown if    *
    *                      the session object was invalidated      *
    *                      and one of the following methods of     *
    *                      javax.servlet.jsp.PageContext is        *
    *                      called: getAttributesScope(String       *
    *                      name), findAttribute(String name) or    *
    *                      removeAttribute(String name).           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When calling methods the API methods of a PageContext object,
    an IllegalStateException is thrown if the session object has
    been invalidated. An example exception is the following:
    Exception: SRVE0777E: Exception thrown by application class
    'com.ibm.ws.session.http.HttpSessionImpl.getAttribute:200'
    java.lang.IllegalStateException: The following session is not
    valid! sessionID
    at
    com.ibm.ws.session.http.HttpSessionImpl.getAttribute(HttpSession
    Impl.java:200)
    ...
    These methods should operate over the page, request, session
    and application scope.
    

Problem conclusion

  • The JSP container was modified to handle the
    IllegalSateException in PageContext API methods if a session
    has been invalidated.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.12 and 8.5.5.8.  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

    PI44611

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-07-08

  • Closed date

    2015-08-11

  • Last modified date

    2015-11-03

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 October 2021