IBM Support

PH11182: Null Pointer Exception Occurs in the PortletRequestWrapper#getCookies Method.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • There is a bug in PortletRequestWrapper#getCookies method that
    causes the method to return  null in some scenarios.
    

Local fix

  • The best solution would be to change your bean logic so as to
    process the event during JSF lifecycle execution, if that would
    be possible. Note that during JSF lifecycle execution, you
    should be able to obtain the EventRequest object from the
    FacesContext, which would allow you to access the event payload.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application,     *
    *                  version  8.0.0.15 and some users of         *
    *                  8.5.5.x, who use the JSF Portlet Bridge.    *
    ****************************************************************
    * PROBLEM DESCRIPTION:  A Null Pointer Exception occurs when   *
    *                      using the                               *
    *                      PortletRequestWrapper#getCookies        *
    *                      method.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The IBM JSF Portlet Bridge contained a programming error that
    caused the list of cookies returned to the application to
    always be null. Therefore, the application is unable to
    retrieve
    its cookies. Depending on the application, this may result in
    improper behavior or an exception. An interim fix is available
    to resolve this problem.
    

Problem conclusion

  • An interim fix is available.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH11182

  • 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

    2019-04-17

  • Closed date

    2019-07-08

  • Last modified date

    2019-09-30

  • 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

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022