IBM Support

JR39011: CMVC 178947 - HANDLE WCCOOKIEUSERSESSION.DECIPHERTOKENS NULLPOINTEREXCEPTION MORE GRACEFULLY AFTER CHANGING MERCHANT KEY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The shopper who was browsing the site before the merchant key is
    changed, encounters blank screens after the merchant key is
    changed. The error present in the log is similar to:
    [2/28/11 18:48:14:123 CST] 0000003c CommerceSrvr  E
    LoginTimeoutHelper handleRelogon CMN0409E: The following error
    has occurred during processing:
    "java.lang.NullPointerException".java.lang.NullPointerException
     at
    com.ibm.commerce.browseradapter.WCCookieUserSession.decipherToke
    ns(WCCookieUserSession.java:959)
     at
    com.ibm.commerce.browseradapter.WCCookieUserSession.deserialize(
    WCCookieUserSession.java:443)
     at
    com.ibm.commerce.browseradapter.WCUserSession.getUserId(WCUserSe
    ssion.java:155)
     at
    com.ibm.commerce.browseradapter.LoginTimeoutHelper.handleRelogon
    (LoginTimeoutHelper.java:460)
    
    WebSphere Commerce then terminates the request, leaving the
    shopper with a blank screen.
    

Local fix

  • Upgrade to WebSphere Commerce 6.0.0.8 or newer.
    

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce users on 6.0.0.0 up to and including
    6.0.0.7
    
    PROBLEM ABSTRACT:
    After changing the merchant key, the shoppers encounter blank
    pages. Logs show a NullPointerException associated with
    WCCookieUserSession.decipherTokens.
    
    BUSINESS IMPACT:
    Blank pages are served to the end user, disrupting the shopping
    experience.
    
    RECOMMENDATION:
    

Problem conclusion

  • The exception thrown by WCCookieUserSession.decipherTokens is
    now handled more gracefully. The user would be redirected to the
    CookieErrorView view instead of having their request terminated.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR39011

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-01

  • Closed date

    2012-07-06

  • Last modified date

    2012-07-06

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

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

Document Information

Modified date:
06 July 2012