cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to create delegate (ESS - Travel and Expenses)

Former Member
0 Kudos

Hi,

We are using the webdynpro ESS BP in portal (EP7 SP04).

The following is the exception thrown in Travel and Expenses. The main screen is displaying fine here. Where as if I click in any links for ex : "My Trips and Expenses", this generates the following exception, there is a noclassdef for "InternalVcTraAllMyTrips". Do I need to redeploy any components?

I have looked into the other threads with similar issues, this is not a custom built application, we are using the BP provided by SAP.

Exception(com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.tra.vc.allmytrips.VcTraAllMyTrips. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)) during processing a Web Dynpro Application.

[EXCEPTION]

#1#com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.tra.vc.allmytrips.VcTraAllMyTrips. (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:38)

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

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:906)

... at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:745)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:562)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)

...

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

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.ControllerHelper.createDelegate(ControllerHelper.java:74)

... 75 more

Caused by: java.lang.NoClassDefFoundError

at com.sap.xss.tra.vc.allmytrips.wdp.InternalVcTraAllMyTrips.<init>(InternalVcTraAllMyTrips.java:290)

... 80 more

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Try to rebuild your project and redeploy.This will help you

Kind Regards

Mukesh

Former Member
0 Kudos

Hello Shubham,

We crosschecked the points mentioned by you, items 1 and 2 are already in place. From the WD content explorer, the same exception is appearing.

Hello Mukesh,

We are not using NWDI to rebuild the project (we did not do any modification to the code too). We have the .sca's only, will you please update how can we redeploy this application? Is it the particular application needs to be redeployed?

Thanks & Regards

Former Member
0 Kudos

Hi Rem,

What is the version of your ESS package (sca's) and your ERP version? You should have a proper version of ESS which depends on your WAS version.

Check the following SAP Notes:

Note 761266 - Self Services Patches

Note 937369 - EP interface: Error in AllMyTrips links

If this does not helps, I will suggest you raise an OSS message to SAP.

Regards,

Shubham

Former Member
0 Kudos

Hi Rem,

Can you please check the following:

1) In your ERP system, in view V_T7XSSSERSRV check if there is an entry EMPLOYEE_TRAVEL_ALLMYTRIPS and the corresponding link resource as EMPLOYEE_TRAVEL_ALLMYTRIPS_SRV

2) In view V_T7XSSSERRES check that there is an entry EMPLOYEE_TRAVEL_ALLMYTRIPS_SRV with directloty path sap.com/ess~tra and Object Name AllMyTrips

3) Check in WebDynpro Content Explorer if the application sap.com/ess~tra/AllMyTrips is deployed and running. Try running the same from WebDynpro Content Explorer if you find it.

Hope this helps.

Regards,

Shubham