Skip to Content

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

weried runtime exception

Hello to everyone,

may anyone know about strange exception described below? It appears during start of VC application

Here below is detailed exception stack:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:

Exception was thrown in preprocessing phase of application session

3086c9afbe6f11e2c6f10000003cc602. The causing exception is nested.

RID=30859965be6f11e293ab0000003cc602

  at

com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:663)

  at

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

  at

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

  at

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

  at

com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)

  at

com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:55)

  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

  at

com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

  at

com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:361)

  at

com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:478)

  at

com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:63)

  at

com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doGet(ForwardServlet.java:31)

  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

  at

javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

  at

com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

  at

com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)

  at

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

  at

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

  at

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

  at

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

  at

com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:82)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

  at

com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

  at

com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

  at

com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

  at

com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)

  at

com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)

  at

com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at

com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at

com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)

  at

com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)

  at

com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

  at

com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

  at

com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

  at

com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused

by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException:

wdInvokeEventHandler: exception thrown in this user coding area

  at

com.sap.tc.webdynpro.progmodel.generation.DelegatingWindow.invokeEventHandler(DelegatingWindow.java:125)

  at

com.sap.tc.webdynpro.progmodel.window.ViewController.invokeInboundPlugHandler(ViewController.java:446)

  at

com.sap.tc.webdynpro.progmodel.window.InterfaceView.invokeInboundPlugHandler(InterfaceView.java:173)

  at

com.sap.tc.webdynpro.clientserver.cal.NavigationManager.processInboundPlugQueue(NavigationManager.java:305)

  at

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

  at

com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1475)

  at

com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)

  ...

50 more

Caused by:

com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException:

wdInvokeEventHandler: exception thrown in this user coding area

  at

com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:146)

  at

com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:492)

  at

com.sap.tc.wd4vc.launcher.wdp.InternalLauncher.wdFireEventPassParameters(InternalLauncher.java:236)

  at

com.sap.tc.wd4vc.launcher.Launcher.start(Launcher.java:237)

  at

com.sap.tc.wd4vc.launcher.wdp.InternalLauncher.start(InternalLauncher.java:144)

  at

com.sap.tc.wd4vc.launcher.LauncherInterfaceView.onPlugDefault(LauncherInterfaceView.java:122)

  at

com.sap.tc.wd4vc.launcher.wdp.InternalLauncherInterfaceView.wdInvokeEventHandler(InternalLauncherInterfaceView.java:95)

  at

com.sap.tc.webdynpro.progmodel.generation.DelegatingWindow.invokeEventHandler(DelegatingWindow.java:121)

  ...

56 more

Caused by: java.lang.RuntimeException: java.lang.RuntimeException:

java.lang.RuntimeException:

com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: Failed to create

Component for the object GridView: RG_UI

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:110)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainer.init(XGLContainer.java:287)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainer.init(InternalXGLContainer.java:157)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainerInterface.init(XGLContainerInterface.java:153)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainerInterface.wdInvokeMethod(InternalXGLContainerInterface.java:201)

  at

com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterfaceInvocationHandler.invoke(ExternalControllerPI.java:339)

  at

$Proxy2696.init(Unknown Source)

  at

com.sap.tc.wd4vc.xglengine.XGLEngine.displayUI(XGLEngine.java:436)

  at

com.sap.tc.wd4vc.xglengine.XGLEngine.start(XGLEngine.java:262)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.start(InternalXGLEngine.java:140)

  at

com.sap.tc.wd4vc.xglengine.XGLEngineInterface.start(XGLEngineInterface.java:140)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.wdInvokeMethod(InternalXGLEngineInterface.java:245)

  at

com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterfaceInvocationHandler.invoke(ExternalControllerPI.java:339)

  at

$Proxy2686.start(Unknown Source)

  at

com.sap.tc.wd4vc.launcher.LauncherView.start(LauncherView.java:567)

  at

com.sap.tc.wd4vc.launcher.LauncherView.launchApplication(LauncherView.java:529)

  at

com.sap.tc.wd4vc.launcher.LauncherView.getParameters(LauncherView.java:297)

  at

com.sap.tc.wd4vc.launcher.wdp.InternalLauncherView.wdInvokeEventHandler(InternalLauncherView.java:196)

  at

com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)

  ...

63 more

Caused by: java.lang.RuntimeException: java.lang.RuntimeException:

com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: Failed to create

Component for the object GridView: RG_UI

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:110)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainer.init(XGLContainer.java:287)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainer.init(InternalXGLContainer.java:157)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainerInterface.init(XGLContainerInterface.java:153)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainerInterface.init(InternalXGLContainerInterface.java:124)

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:95)

  ...

81 more

Caused by: java.lang.RuntimeException:

com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: Failed to create

Component for the object GridView: RG_UI

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:110)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainer.init(XGLContainer.java:287)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainer.init(InternalXGLContainer.java:157)

  at

com.sap.tc.wd4vc.core.std.containers.XGLContainerInterface.init(XGLContainerInterface.java:153)

  at

com.sap.tc.wd4vc.core.std.containers.wdp.InternalXGLContainerInterface.init(InternalXGLContainerInterface.java:124)

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:95)

  ...

86 more

Caused by:

com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: Failed to create

Component for the object GridView: RG_UI

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.createComponentInternal(XGLInterpreter.java:2452)

  at

com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.getCompInstanceFromUsage(XGL2_2Interpreter.java:2107)

  at

com.sap.tc.wd4vc.util.java.containers.XGLTemporalContainerImpl.createPaneComponent(XGLTemporalContainerImpl.java:77)

  at

com.sap.tc.wd4vc.util.java.containers.XGLContainerImpl.initChildComponents(XGLContainerImpl.java:97)

  ...

91 more

Caused by: java.lang.reflect.InvocationTargetException

  at

sun.reflect.GeneratedMethodAccessor2380.invoke(Unknown Source)

  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at

java.lang.reflect.Method.invoke(Method.java:597)

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.createComponentInternal(XGLInterpreter.java:2442)

  ...

94 more

Caused by:

com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: Failed to create

Component for the object Infoview: RG

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.createComponentInternal(XGLInterpreter.java:2452)

  at

com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.getCompInstanceFromUsage(XGL2_2Interpreter.java:2023)

  at

com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstance(XGLEngine.java:333)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.getCompInstance(InternalXGLEngine.java:152)

  at

com.sap.tc.wd4vc.xglengine.XGLEngineInterface.getCompInstance(XGLEngineInterface.java:195)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.getCompInstance(InternalXGLEngineInterface.java:136)

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.getCompUsage(XGLInterpreter.java:2309)

  at

com.sap.tc.wd4vc.core.std.interactors.pane.java.XGLInteractor.doNodeMapping(XGLInteractor.java:338)

  at

com.sap.tc.wd4vc.core.std.interactors.pane.java.XGLInteractor.init(XGLInteractor.java:322)

  at

com.sap.tc.wd4vc.core.ny.alvadapter.AlvAdapter.init(AlvAdapter.java:351)

  at

com.sap.tc.wd4vc.core.ny.alvadapter.wdp.InternalAlvAdapter.wdInvokeMethod(InternalAlvAdapter.java:325)

  at

com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterfaceInvocationHandler.invoke(ExternalControllerPI.java:339)

  at

$Proxy2699.init(Unknown Source)

  ... 98 more

Caused by:

java.lang.reflect.InvocationTargetException

  at

sun.reflect.GeneratedMethodAccessor2133.invoke(Unknown Source)

  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at

java.lang.reflect.Method.invoke(Method.java:597)

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.createComponentInternal(XGLInterpreter.java:2442)

  ...

110 more

Caused by:

com.sap.tc.webdynpro.repository.utils.RepositoryRuntimeException: Failed to

create RelatedModelObject for the object com.sap.tc.wd4vc.xglengine.XGLEngine,

relation ComponentUsages, relatedObject + OI.

  at

com.sap.tc.webdynpro.repository.model.delegation.DelegatorRepositoryModelClass.createRelatedModelObject(DelegatorRepositoryModelClass.java:594)

  at

com.sap.tc.webdynpro.progmodel.repository.wdp.Proxy$IWDComponentInfo$IFramework.createInComponentUsagesInternal(Unknown

Source)

  at

com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentUsageOfSameType(ComponentUsage.java:134)

  at

com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.createInnerDatashareComponentInternal(XGL2_2Interpreter.java:2163)

  at

com.sap.tc.wd4vc.core.xgl2_2.xglengine.java.XGL2_2Interpreter.getCompInstanceFromUsage(XGL2_2Interpreter.java:2025)

  at

com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstance(XGLEngine.java:333)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.getCompInstance(InternalXGLEngine.java:152)

  at

com.sap.tc.wd4vc.xglengine.XGLEngineInterface.getCompInstance(XGLEngineInterface.java:195)

  at

com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngineInterface.getCompInstance(InternalXGLEngineInterface.java:136)

  at

com.sap.tc.wd4vc.xglengine.java.XGLInterpreter.getCompUsage(XGLInterpreter.java:2309)

  at

com.sap.tc.wd4vc.core.xgl2_2.infoviews.java.XGL2_2Infoview.init(XGL2_2Infoview.java:129)

  at

com.sap.tc.wd4vc.core.xgl2_2.infoviews.XGLInfoview.init(XGLInfoview.java:271)

  at

com.sap.tc.wd4vc.core.xgl2_2.infoviews.wdp.InternalXGLInfoview.init(InternalXGLInfoview.java:154)

  at

com.sap.tc.wd4vc.core.xgl2_2.infoviews.XGLInfoviewInterface.init(XGLInfoviewInterface.java:155)

  at

com.sap.tc.wd4vc.core.xgl2_2.infoviews.wdp.InternalXGLInfoviewInterface.wdInvokeMethod(InternalXGLInfoviewInterface.java:169)

  at

com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterfaceInvocationHandler.invoke(ExternalControllerPI.java:339)

  at

$Proxy2698.init(Unknown Source)

  ... 114 more

Caused by:

com.sap.tc.webdynpro.repository.utils.RepositoryRuntimeException: Cannot create

object with the name OI and rolenameComponentUsages because it already

exists.

  at

com.sap.tc.webdynpro.repository.model.delegation.DelegatorRepositoryModelClass._checkCreate(DelegatorRepositoryModelClass.java:678)

  at

com.sap.tc.webdynpro.repository.model.delegation.DelegatorRepositoryModelClass.createRelatedModelObject(DelegatorRepositoryModelClass.java:584)

Sincerely,

Anton

replied

Hi Anja,

thank you for reply. I revealed the reson and workaround.

The issue related to using WD component and connected table with the results.

So, if the table is edited in Web VC and the model is deployed afterwards then the exception appears after first launch. But at the first time application starts normally.

I could detect that by searching in source codes for given id that is OI in my case. It belongeв to mentioned table coming after WD component.

As a remark, we use NWDI for VC so we have model available as well as in WebVC also in NWDS through track.

So, to fix the issue I used NWDS to delete the table and create it again. After deployment the situation fixed.

Best Regards,

Anton

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question