cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to create delegate ERROR

Former Member
0 Kudos

Hi All,

I am getting the following error after I import the web service model and binded it to the view.

Request for any clue to resolve this issue.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.abc.pct.xyz.CAObject. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)

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

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

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:670)

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

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)

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

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

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

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

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

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

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

Caused by: java.lang.ClassNotFoundException: com.abc.pct.xyz.wdp.ICAObject

-


Loader Info -


ClassLoader name: [local/A_C_T]

Parent loader name: [Frame ClassLoader]

References:

common:service:http;service:servlet_jsp

service:ejb

common:service:iiop;service:naming;service:p4;service:ts

service:jmsconnector

library:jsse

library:servlet

common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl

library:ejb20

library:j2eeca

library:jms

library:opensql

common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore

interface:resourcecontext_api

interface:webservices

interface:cross

interface:ejbserialization

sap.com/tcwddispwda

sap.com/tcwdcorecomp

service:webdynpro

service:sld

service:webservices

library:tcddicddicservices

library:com.sap.aii.proxy.framework

library:tcgraphicsigs

library:com.sap.mw.jco

library:com.sap.lcr.api.cimclient

library:jnet

library:sapxmltoolkit

library:com.sap.aii.util.rb

library:com.sap.util.monitor.jarm

library:tcddicddicruntime

library:core_lib

library:com.sap.aii.util.xml

library:tccolapi

library:com.sap.aii.util.misc

library:tc~cmi

library:tccolruntime

Resources:

D:\usr\sap\J2E\JC01\j2ee\cluster\server0\apps\local\A_C_T\webdynpro\public\lib\app.jar

Loading model: {parent,references,local}

-


at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:370)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)

... 27 more

Regards,

Venkat

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Venkatesan,

Please Rebuid the project and then deployee the project.

Kind Regards

Mukesh

Former Member
0 Kudos

Hi Mukesh,

I tried several times by rebuilding the project. it says "Caused by: java.lang.ClassNotFoundException" .

Any idea how to explicitly set the class path ?

Reg/Venkat

sridhar_k2
Active Contributor
0 Kudos

Hi,

R u using any DC's in your project? Make sure about used DC's. If possible reassign them once again.

R u deploying application from DTR perspective? Try with Web Dynpro Application ( Deploy and Run).

Regards,

Sridhar

Former Member
0 Kudos

Hi Venkatesan,

I have also suffered from the same problem. So first save all metadata and repair it,rebuild and deploy it.

I hope it will solve

Saravanan K

Former Member
0 Kudos

Hi Sridhar,

I get this error when i bind the Custom controller to the view .

Kindly tell me how to resolve this issue.

I am getting "nosuchclass found error "

reg,

venkat

Message was edited by: Venkatesan Selvaraj

Former Member
0 Kudos

What is the exact error message (stacktrace)?

Armin

Former Member
0 Kudos

Hi Venkatesan,

Ensure that the value node that you created in custom controller is available in componentcontroller and in View,Kindly check it and after deploy it.

Saravanan K

Former Member
0 Kudos

Hi Venkatesan,

1. Remove the binded node from component controler and from the view.

2. Save the Project and rebuid and deployee.

3. Bind the node to the component controler and view

4. Save the project and execute it.

Kind Regards

Mukesh.

Former Member
0 Kudos

Hi All,

This problem is resolved after shorten the View Name Length. I noticed that the error was getting populated after binding the CC to that particular view.

Thanks for all your kind support.

Reg/Venkat

Former Member
0 Kudos

Hi,

Check on to ur Versions of NWDS and WAS. If they are different sometimes u get chance of this error.

Whick stack are you using?

Regards,

Nagarajan.

Former Member
0 Kudos

Hi Nagaraj,

I am using SAP_NETWEAVER_2004S FULL JAVA EDITION which I downloaded from sdn.sap.com.

I never get this error for other projects. Why Iam getting for this project. Also that error says "java.lang.ClassNotFoundException" . Do I need to explicitly set class path. If yes tell me how ?

Expecting a reply.

Reg/Venkat