Technote

(troubleshooting)
Servlet exception in auction messages
Problem(Abstract)
You notice when any of these auction messages: StartAuction, BidOverride, CompleteOrder, and Winner, are sent from WebSphere Commerce, a javax.servlet.ServletException occurs.
Symptom
The e-mail messages and the messages sent to the inbox in the Auctions Gallery contain an error similar to this:

An error has occurred. Error Code: 500

Stack Trace:
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: at com.ibm.ws.webcontainer.servlet.ServletWrapper.constructErrorReport(ServletWrapper.java:916) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code)) at
...
...
Root Cause: javax.servlet.ServletException



In the SystemOut.log you will see this type of error:

[8/30/06 22:36:18:293 EEST] 0000004e ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet /AdvancedB2BDirect/AuctionArea/Messages/CompleteOrder.jsp. Exception thrown : javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:640)
at com.ibm._jsp._CompleteOrder._jspService(_CompleteOrder.java:766)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
.....
.....
Caused by: java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java(Compiled Code))
at java.lang.Long.parseLong(Long.java(Compiled Code))
at com.ibm.commerce.negotiation.beans.BidDataBean.setBidId(BidDataBean.java:216)
... 71 more
Resolving the problem This problem (APAR IY91134) is fixed in WebSphere Commerce Fix Pack 6.0.0.2. The fix is also included in the latest fix pack for 6.0.0 which can be obtained from the Recommended fixes and settings page.
Cross Reference information
Segment Product Component Platform Version Edition
Commerce WebSphere Commerce Developer Enterprise Runtime Windows 6.0, 6.0.0.1 Enterprise
Commerce WebSphere Commerce Professional Edition Runtime AIX, i5/OS, Linux, Linux iSeries, Linux pSeries, Linux xSeries, Linux zSeries, Solaris, Windows 6.0, 6.0.0.1 Professional Edition
Commerce WebSphere Commerce Developer Professional Edition Runtime Windows 6.0, 6.0.0.1 Developer Professional Edition
Commerce WebSphere Commerce - Express Runtime AIX, i5/OS, Linux, Linux iSeries, Linux pSeries, Linux xSeries, Linux zSeries, OS/390, Solaris, Windows 6.0, 6.0.0.1 Express
Commerce WebSphere Commerce Developer Express Runtime Windows 6.0, 6.0.0.1 Developer Express
 

Product Alias/Synonym
wcs60 wc60 wcs6.0 wc6.0 wcs wc
   

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21253655