Topic
2 replies Latest Post - ‏2013-07-08T05:47:56Z by Remya Thampi
lijowilson
lijowilson
1 Post
ACCEPTED ANSWER

Pinned topic Unable to hit my shopping cart page , its throwing some exception

‏2011-02-11T14:42:30Z |
2/11/11 19:39:07:698 IST 00000037 CommerceSrvr E com.ibm.commerce.struts.BaseAction execute CMN0409E: The following error has occurred during processing: "java.lang.NullPointerException".
2/11/11 19:39:07:698 IST 00000037 CommerceSrvr E ExceptionHandler convertToECException CMN0420E: The following command exception has occurred during processing: "java.lang.NullPointerException".java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:630)
at com.ibm.commerce.webcontroller.WebControllerHelper.mergeProperties(WebControllerHelper.java:199)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.createInputProperties(AbstractErrorViewExecUnit.java:347)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.initializeViewProperties(AbstractErrorViewExecUnit.java:253)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.locateErrorView(AbstractErrorViewExecUnit.java:88)
at com.ibm.commerce.struts.StrutsErrorExecUnit.<init>(StrutsErrorExecUnit.java:100)
at com.ibm.commerce.struts.BaseAction.execute(BaseAction.java:174)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.shc.ecom.struts.action.ECTilesRequestProcessor.processActionPerform(ECTilesRequestProcessor.java:155)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:237)
at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:179)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:255)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:431)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:241)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:237)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1521)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
at com.ibm.commerce.campaigns.filter.CampaignsFilter.doFilter(CampaignsFilter.java:131)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.commerce.dynacache.filter.CacheFilter$2.run(CacheFilter.java:376)
at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:507)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.sso.filter.CASFilter.doFilter(CASFilter.java:110)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.util.filter.EntryFilter.doFilter(EntryFilter.java:1634)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.servlet.TimeoutExtenderServletFilter.doFilter(TimeoutExtenderServletFilter.java:134)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.util.filter.OriginFilter.doFilter(OriginFilter.java:356)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.util.filter.OriginFilter.doFilter(OriginFilter.java:356)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:269)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$0(RuntimeServletFilter.java:228)
at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:191)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:212)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.shc.ecom.servlet.SNCFilter.doFilter(SNCFilter.java:69)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3177)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:114)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:950)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:657)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:364)
at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:760)
at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:70)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

2/11/11 19:39:07:714 IST 00000037 RequestProces W org.apache.struts.action.RequestProcessor processException Unhandled Exception thrown: class java.lang.NullPointerException
2/11/11 19:39:07:714 IST 00000037 CommerceSrvr E com.ibm.commerce.struts.ECActionServlet processRequest CMN0420E: The following command exception has occurred during processing: "java.lang.NullPointerException".java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:630)
at com.ibm.commerce.webcontroller.WebControllerHelper.mergeProperties(WebControllerHelper.java:199)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.createInputProperties(AbstractErrorViewExecUnit.java:347)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.initializeViewProperties(AbstractErrorViewExecUnit.java:253)
at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.locateErrorView(AbstractErrorViewExecUnit.java:88)
at com.ibm.commerce.struts.StrutsErrorExecUnit.<init>(StrutsErrorExecUnit.java:100)
at com.ibm.commerce.struts.BaseAction.execute(Ba
Updated on 2011-02-11T22:25:51Z at 2011-02-11T22:25:51Z by KiranYayavaram
  • KiranYayavaram
    KiranYayavaram
    45 Posts
    ACCEPTED ANSWER

    Re: Unable to hit my shopping cart page , its throwing some exception

    ‏2011-02-11T22:25:51Z  in response to lijowilson
    Need more info about..

    1. Do you have custom OrderItemDisplay cmd?
    2. From what i see in the logs, check the Error view name that is being passed in the response properties.

    ~Kiran
  • Remya Thampi
    Remya Thampi
    11 Posts
    ACCEPTED ANSWER

    Re: Unable to hit my shopping cart page , its throwing some exception

    ‏2013-07-08T05:47:56Z  in response to lijowilson

    Hi Lijo/Kiran,

     

    Even I am getting the same exception while trying to throw an ECApplication exception. Ideally it should be redirected to the error view name given but it is throwing the below exception and redirecting to generic error page. Please let me know if you people have resolved the above issue, if so kindly help me out with this.

    at java.util.Hashtable.put(Hashtable.java:875)
        at com.ibm.commerce.webcontroller.WebControllerHelper.mergeProperties(WebControllerHelper.java:214)
        at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.createInputProperties(AbstractErrorViewExecUnit.java:348)
        at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.initializeViewProperties(AbstractErrorViewExecUnit.java:254)
        at com.ibm.commerce.webcontroller.AbstractErrorViewExecUnit.locateErrorView(AbstractErrorViewExecUnit.java:88)
        at com.ibm.commerce.struts.StrutsErrorExecUnit.<init>(StrutsErrorExecUnit.java:100)
        at com.ibm.commerce.struts.BaseAction.execute(BaseAction.java:188)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:225)
        at com.ibm.commerce.struts.ECActionServlet.doPost(ECActionServlet.java:180)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1663)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
        at com.ibm.commerce.campaigns.filter.CampaignsFilter.doFilter(CampaignsFilter.java:148)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
        at com.ibm.commerce.likeminds.filter.LikeMindsFilter.doFilter(LikeMindsFilter.java:183)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
        at com.ibm.commerce.dynacache.filter.CacheFilter$1.run(CacheFilter.java:390)
        at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:553)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
        at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:735)
        at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$0(RuntimeServletFilter.java:545)
        at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:486)
        at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:511)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3944)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:717)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:413)
        at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1066)
        at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
     

     

    Updated on 2013-07-08T05:48:55Z at 2013-07-08T05:48:55Z by Remya Thampi