Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Retail Matrix Application

Hi all,

I am trying the Retail Matrix Application. There are 2(one master) records in the repository in the main table with one Item Category Group and one Matrix Product Group.

Now the Url constructed is

http://<Server Name>:50000/webdynpro/dispatcher/local/MDMMatrixApp/MatrixApp?tableId=1&records=Test&user=Admin&server=<MDM Server>&port=2010&repository=Article_SP3P3&lang=English%20[US]&schemaLang=English%20[US]&x=%20&categoryId=1&sap-cssurl=http://<Server Name>:50000/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/sap_mdm_retail

After deploying its giving

An error has occurred. Please see the log for details. String index out of range: 2

And the error in the log is:

#

#1.5#0014221E20B50057000000B20000307C0004140DAA41ECED#1147948830515#System.err#sap.com/tcwddispwda#System.err#Guest#192####ba20ae41e65a11dabea60014221e20b5#ID\#(J2EE4583100)ID1929661550DB10147134413176214396End.ba20ae40e65a11daad580014221e20b5##0#0#Error##Plain###com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method isMainTable.

at com.sap.mdm.retail.matrix.ejbs.RetailMatrixLocalLocalObjectImpl0.isMainTable(RetailMatrixLocalLocalObjectImpl0.java:1155)

at com.sap.mdm.retail.matrix.MatrixAppComp.initClientSelections(MatrixAppComp.java:318)

at com.sap.mdm.retail.matrix.MatrixAppComp.wdDoInit(MatrixAppComp.java:113)

at com.sap.mdm.retail.matrix.wdp.InternalMatrixAppComp.wdDoInit(InternalMatrixAppComp.java:156)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

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:95)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

Caused by: java.lang.NullPointerException

at com.sap.mdm.retail.matrix.ejbs.RetailMatrixBean.isMainTable(RetailMatrixBean.java:460)

at com.sap.mdm.retail.matrix.ejbs.RetailMatrixLocalLocalObjectImpl0.isMainTable(RetailMatrixLocalLocalObjectImpl0.java:1139)

... 30 more

java.lang.NullPointerException

at com.sap.mdm.retail.matrix.ejbs.RetailMatrixBean.isMainTable(RetailMatrixBean.java:460)

at com.sap.mdm.retail.matrix.ejbs.RetailMatrixLocalLocalObjectImpl0.isMainTable(RetailMatrixLocalLocalObjectImpl0.java:1139)

at com.sap.mdm.retail.matrix.MatrixAppComp.initClientSelections(MatrixAppComp.java:318)

at com.sap.mdm.retail.matrix.MatrixAppComp.wdDoInit(MatrixAppComp.java:113)

at com.sap.mdm.retail.matrix.wdp.InternalMatrixAppComp.wdDoInit(InternalMatrixAppComp.java:156)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

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:95)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

#

Is there any other requirement for running the retail application?

Regards,

Jaydeep

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question