on 12-15-2004 6:19 AM
Hi
I had created TRAVEL REQUEST interactive form as per the document. Im successful till deployment. But then while running the application Im getting the below stack
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to created delegate
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:748)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:333)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:341)
at com.sap.tc.webdynpro.clientserver.task.Task.createApplication(Task.java:181)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:494)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:49)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:239)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:130)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:92)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:35)
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:373)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:250)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:321)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:299)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:698)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:146)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
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:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:43)
... 26 more
Caused by: java.lang.NoSuchMethodError: com.sap.tc.webdynpro.progmodel.context.Node.<init>(Lcom/sap/tc/webdynpro/progmodel/context/NodeInfo;Lcom/sap/tc/webdynpro/progmodel/context/Node;)V
at com.sap.demo.travelrequest.wdp.IPublicTravelRequestComp$IContextNode.<init>(IPublicTravelRequestComp.java:29)
at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.wdInitContextNode(InternalTravelRequestComp.java:49)
at com.sap.demo.travelrequest.wdp.InternalTravelRequestComp.<init>(InternalTravelRequestComp.java:89)
... 31 more
Can any bode tell me whether it is Version incompatibility or any other specific reason ?
thanks
raj
Hi Raja,
The problem is from the web dynpro side rather at the framework level. If you please can point me to the Travel Request Interactive Form document on the SDN, I can try that application and can have a discussion on the same.
Thanks and Regards,
Krishanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Thank you for the reply. Here is the URL
https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=AdobeForms_Tips.htm
thanks
raj
Hi Raja,
did you recognize the following part from the tutorial: "If you are running Web AS 6.40 (< SP8), there is a limitation that Adobe Forms cannot deal with a simple flat context structure as above. As a work around, you can create a dummy node (with cardinality 1..1) underneath the TravelData node with a dummy attribute. The context appears as shown below. This issue is fixed in SP8." Do you work with a version < SP8?
Hope that helps.
Regards
Stefan
Hi Raja,
just to be sure, does your server and the Developer Studio have the same versions?
One possible reason for this kind of errors (NoSuchMethodExceptions related to Context) is, that you deploy with a NWDS having a version greater than the target WebAS server version.
Hope that helps.
Regards
Stefan
Hi Raja,
something is wrong with your context in the component controller. Please verify your context structure with the structure in the document, which you mentioned. Do you really use value nodes and attributes? Is the mapping to the view correct and also the binding between the interactive form ui-element and the context nodes of the view?
Regards, Carsten
Message was edited by: Carsten Brandt
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.