Direct link to fix
APAR status
Closed as program error.
Error description
Null Pointer Exception is thrown during session timeout and shopper is still able to see the products in the shopping cart. The steps to reproduce the issue are as followed: 1. change the wc-server.xml to the following: <LoginTimeout enabled="true"> <Timeout display="false" value="300000"/> <!-- 1800000--> 2. restart the server 3. open the site 4. log in 5. add the product to the cart 6. delete the ctxmgmt and ctxdata for the session from the db. 7. stop the server 8. restart the server 9. refresh the shopping cart page. Then on the systemOut.log, the following error will be seen: [8/1/12 18:05:51:584 PDT] 00000038 CommerceSrvr E LoginTimeoutHelper handleLoginTimeout CMN0409E: The following error has occurred during processing: "java.lang.NullPointerException".java.lang.NullPointerException at com.ibm.commerce.browseradapter.LoginTimeoutHelper.handleLoginTi meout(LoginTimeoutHelper.java:367) at com.ibm.commerce.browseradapter.AbstractHttpBrowserAdapter.preIn vokeCommand(AbstractHttpBrowserAdapter.java:348) at com.ibm.commerce.browseradapter.HttpBrowserAdapter.preInvokeComm and(HttpBrowserAdapter.java:376) at com.ibm.commerce.struts.BaseAction.preProcess(BaseAction.java:13 46) at com.ibm.commerce.struts.BaseAction.executeAction(BaseAction.java :625) at com.ibm.commerce.struts.BaseAction.execute(BaseAction.java:160) at org.apache.struts.action.RequestProcessor.processActionPerform(R equestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcess or.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.jav a:1482) at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionS ervlet.java:237)
Local fix
Problem summary
USERS AFFECTED: Websphere Commerce v6.0 and v7.0 users PROBLEM ABSTRACT: Null Pointer Exception is thrown during session time out. BUSINESS IMPACT: Unexpected behavior of the session time out. RECOMMENDATION:
Problem conclusion
LoginTimeoutHelper will check the existence of the globalization context. If it is null, it will not include any language ID in the pre-expiry URL. ------------------------------------------------------------- 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
JR44373
Reported component name
WC BUS DEV ED W
Reported component ID
5724I3900
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-10-12
Closed date
2013-01-21
Last modified date
2013-01-21
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 DEV ED W
Fixed component ID
5724I3900
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
07 December 2021