cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime exception for configurable products

Former Member
0 Kudos

Hi Gurus,

I am getting a runtime exception for configurable products on clicking the link You can select more product options in CRM 7 b2c application . But when i login with a registered user and click the same link , it opens up and takes to the page for configuration of products .

Please find the error from logs :

[EXCEPTION]

79823 java.lang.NullPointerException: It was tried to rebuild the connection because of invalidity. It is not allowed because the connection type is not JCoConnectionStateless. You may also check the user authorizations.

79824 at com.sap.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP.getDefaultJCoConnection(BackendBusinessObjectBaseSAP.java:55)

79825 at com.sap.isa.maintenanceobject.backend.crm.DynamicUICRM.readData(DynamicUICRM.java:121)

79826 at com.sap.isa.maintenanceobject.businessobject.DynamicUI.read(DynamicUI.java:767)

79827 at com.sap.isa.ipc.ui.jsp.action.InitDynamicUIAction.ecomPerform(InitDynamicUIAction.java:67)

79828 at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:375)

79829 at com.sap.isa.core.BaseAction.execute(BaseAction.java:212)

79830 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

79831 at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:692)

79832 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

79833 at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:409)

79834 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

79835 at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)

79836 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

79837 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

79838 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

79839 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)

79840 at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)

79841 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

79842 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)

Can anybody help me out to find the issue .

Thanks and Regards,

Tony Isaac

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Tony,

It looks more like an issue with the loading of the JCO properties before the logon. Can you go to XCM and try reentering the password and save the config. Once done do a test connection and restart the application.

Then set a breakpoint in the BackendBusinessObjectBaseSAP class in the method getDefaultJCoConnection().

Here when the current connection is invalid it tries to read the config properties from XCM. Just check if it is reading the correct values from the config ISA_COMPLETE which is read on the backend object.

In case of mismatch, you need to fix that or you could try to build a new JCO connection with your own parameters.

Pradeep

Edited by: Pradeep Kumar on Mar 11, 2010 6:20 AM