on 02-24-2010 3:42 PM
hey guys,
we have a CRM 7 J2EE running on Windows Server 2003 (64) with the CRM Abap Backend on Linux for zSeries.
All applications have the latest patch levels (SP5). We configured the Middleware, the XCM and the OS with the same seetings as our Sandbox which had SP3 and works without any problems.
The shop is running. I can configure products, view the catalog, etc.
But when i want to create a new order or quotation this runtime exception occurs:
runtime exception occurred on the highest level
java.lang.NullPointerException
at com.sap.isa.backend.JCoHelper.setValue(JCoHelper.java:889)
at com.sap.isa.backend.crm.WrapperCrmIsa.crmIsaBasketGetHead(WrapperCrmIsa.java:3285)
at com.sap.isa.backend.crm.SalesDocumentCRM.readHeaderFromBackend(SalesDocumentCRM.java:1397)
at com.sap.isa.backend.crm.SalesDocumentCRM.createInBackend(SalesDocumentCRM.java:342)
at com.sap.isa.businessobject.SalesDocument.init(SalesDocument.java:1690)
at com.sap.isa.isacore.action.order.CreateBasketAction.executeCreateBasket(CreateBasketAction.java:328)
at com.sap.isa.isacore.action.order.CreateBasketAction.isaPerform(CreateBasketAction.java:179)
at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:418)
at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:344)
at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:375)
at com.sap.isa.core.BaseAction.execute(BaseAction.java:212)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:692)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:409)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:284)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:409)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
I searched for notes or SDM threads a few days long but i haven´t see anyone who had this problem yet.
TREX is working fine and catalog is working too.
I also created a session trace of this problem.
It starts with this lines:
Debug com.sap.isa.core.eai.sp.jco.JCoManagedConnectionFactory Serving function module "CRM_ISA_BASKET_GETHEAD" from existing repository "DCR150"
Path com.sap.isa.backend.crm.WrapperCrmIsa Exiting method
(and then the same exception is in the session trace)
Error com.sap.isa.isacore.action.order.CreateBasketAction A runtime exception occurred on the highest level
java.lang.NullPointerException
...
...
I hope you can help me.
regards
Tobias
Hi Tobias,
From your Error. It seems that when you are creating an order Your application is not passing required value to RFC and it is NULL.
This is the reason you are getting java.lang.NullPointerException at com.sap.isa.backend.JCoHelper.setValue(JCoHelper.java:889)
Try to debug and check what value you are passing to the RFC CRM_ISA_BASKET_GETHEAD in Java class.
Set Debugger in WrapperCrmIsa.crmIsaBasketGetHead(WrapperCrmIsa.java:3285) class method and check what value is not coming from JSP page to this RFC.
Basically you are not passing value required by CRM_ISA_BASKET_GETHEAD when you are creating an order or Quotation.
I hope this information will help you to find missing value.
eCommerce Developer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobias,
I am facing similar issue on Advanced search in Catalog section of CRm B2B. Assuming that you have resolved this issue can you please advise on how to resolve this issue?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.