Skip to Content
0
Former Member
Mar 16, 2009 at 07:02 AM

Error in execution of EJB model

11 Views

Hi All ,

I am using EJB model in my web dynpro dc which is having two wd comp.CompA is firing plug to interfaceview of compB.b4 firing plug its calling showDetails() method from interface controller of compB and executing model based on data sent by compA. When i am clicking link for the first time its working fine.i click link for the second time i am getting error as given below.

also this EJB model is used by both (compA , compB). I have written code to create model instance in init of controllers of both components.

com.sap.tc.cmiimpl.base.exception.BaseCMIImplRuntimeException: No object for mandatory target role 'return' of model class 'Response_HrHelpDeskLocal_getAllPolicyDocuments' with cardinality 'ONE' maintained

at com.sap.tc.cmiimpl.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:403)

at com.apl.hrhlpdyn.model.Response_HrHelpDeskLocal_getAllPolicyDocuments.getReturn(Response_HrHelpDeskLocal_getAllPolicyDocuments.java:33)

at com.apl.hrhlpdyn.policydoc.wdp.IPublicPolicyDocs$IGetAllPolicyDocumentsReturnNode.doSupplyElements(IPublicPolicyDocs.java:1660)

at com.sap.tc.webdynpro.progmodel.context.DataNode.supplyElements(DataNode.java:100)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:242)

at com.sap.tc.webdynpro.progmodel.context.MappedNode.createMappedElementList(MappedNode.java:78)

at com.sap.tc.webdynpro.progmodel.context.MappedNode.supplyElements(MappedNode.java:69)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:242)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:259)

at com.sap.tc.webdynpro.progmodel.context.Node.getChildNodeInternal(Node.java:950)

at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:1368)

at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:1339)

at com.sap.tc.webdynpro.progmodel.context.Paths.isValid(Paths.java:922)

at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Table._isValidBindingOfPrimaryProperty(Table.java:973)

at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:366)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter._init(TableAdapter.java:22926)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter.setViewAndNodeElement(TableAdapter.java:360)

at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:348)

at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:124)

at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.getAdapterFor(AbstractAdapter.java:814)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.getContent(GridLayoutAdapter.java:978)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.getParameter(GridLayoutAdapter.java:692)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.renderTrayFragment(LSTrayRenderer.java:1648)

at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.render(LSTrayRenderer.java:157)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.renderFlowLayoutItemFragment(LSFlowLayoutRenderer.java:271)

at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.renderFlowLayoutFragment(LSFlowLayoutRenderer.java:243)

at com.sap.tc.ls.renderer.ie6.LSFlowLayoutRenderer.render(LSFlowLayoutRenderer.java:118)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.renderScrollContainerFragment(LSScrollContainerRenderer.java:672)

at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.render(LSScrollContainerRenderer.java:131)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.renderTabStripStaticContainer(LSTabStripRenderer.java:1795)

at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.renderTabStripFragment(LSTabStripRenderer.java:1039)

at com.sap.tc.ls.renderer.ie6.LSTabStripRenderer.render(LSTabStripRenderer.java:154)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.renderTrayFragment(LSTrayRenderer.java:1648)

at com.sap.tc.ls.renderer.ie6.LSTrayRenderer.render(LSTrayRenderer.java:157)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.renderViewContainerFragment(LSViewContainerRenderer.java:202)

at com.sap.tc.ls.renderer.ie6.LSViewContainerRenderer.render(LSViewContainerRenderer.java:118)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutCellFragment(LSGridLayoutRenderer.java:830)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutRowFragment(LSGridLayoutRenderer.java:423)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.renderGridLayoutFragment(LSGridLayoutRenderer.java:350)

at com.sap.tc.ls.renderer.ie6.LSGridLayoutRenderer.render(LSGridLayoutRenderer.java:124)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:129)

at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.renderScrollContainerFragment(LSScrollContainerRenderer.java:672)

at com.sap.tc.ls.renderer.ie6.LSScrollContainerRenderer.render(LSScrollContainerRenderer.java:131)

at com.sap.tc.webdynpro.clientimpl.html.renderer.lightspeed.base.LSRenderManager.render(LSRenderManager.java:151)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:505)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:273)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.getHtmlEtc(HtmlClient.java:1588)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:892)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:2207)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:243)

at com.sap.tc.webdynpro.clientserver.phases.RetrieveDataPhase.execute(RetrieveDataPhase.java:69)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)

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

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1431)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1251)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:458)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:249)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)