IBM Support

PK69227: NULLPOINTEREXCEPTION THROWN WHILE PARSING INVALID COOKIE NAMES

 

APAR status

  • Closed as program error.

Error description

  • When rendering content, If you have configured WCM to pass a
    custom parameter(cookie) and the parameter name contains a
    space, a NullPointException will be thrown such as the
    following:
    
    0000005f ServletWrappe E   SRVE0068E:
    Uncaught exception thrown in one of the service methods of the
    servlet:
    RenderingPortlet. Exception thrown :
    java.lang.NullPointerException
    at com.presence.connect.connector.http.HttpCookieCollection.
    parseCookieHeader(HttpCookieCollection.java:480)
    

Local fix

Problem summary

  • NullPointer Exceptions get thrown when processing invalid cookie
    

Problem conclusion

  • This problem was originally fixed in 6.0 but regressed in 6.1.
    Basically , an invalid cookie name/value such as  Hedrick,Brooke
    - 43 would cause a NPE
    while processing the cookie in WCM
    
    It was found that the cookie Name does not support blank as a
    character and that was causing exceptions while processing it. W
    e now handle the exceptions originating from an invalid cookie
    correctly in the code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK69227

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-17

  • Closed date

    2008-12-02

  • Last modified date

    2008-12-02

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R61A PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021