cancel
Showing results for 
Search instead for 
Did you mean: 

ProjectProperties.wdproperties how is this generated in a DC

govardan_raj
Contributor
0 Kudos

hi to all ,

A file called ProjectProperties.wdproperties is found in the path src/packages/ of a DC , and it has references of the used dcs, and Logical Names of JCos if used any , this file is of type xml format, can any one please give more details like when is the file being generated and what is the use of this file in a DC .

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

what you want to do?

govardan_raj
Contributor
0 Kudos

hi Jun wu,

As we are using the new server , after deploying a DC im getting yet another error like

WDRuntimeException : Failed to create delegate for component

for which i refer ed the below sdn url https://scn.sap.com/thread/1022824 in which they have specified about ProjectProperties.wdproperties having references to the added libraries etc , in my DC on cross checking it is missing some of the references so wanted complete detail of ProjectProperties.wdproperties , so that if possible i could edit and try to solve the error and im using NWDI .

junwu
Active Contributor
0 Kudos

can you post the whole error log?

govardan_raj
Contributor
0 Kudos

The error log is as follows

java.lang.VerifyError: (class: com/xxxx/custrpt/vccustreportcomp/VcCustReportComp, method: getExportSummaryTableExcel signature: ()V) Incompatible argument to function

  at com.xxxxx.custrpt.vccustreportcomp.wdp.InternalVcCustReportComp.<init>(InternalVcCustReportComp.java:481)

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

    ... 47 more

 

See full exception chain for details.

and In Detailed Error information i have the below error log.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.axisbank.custrpt.vccustreportcomp.VcCustReportComp. (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:382)

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

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

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

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)

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

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

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

at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)

at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)

at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)

at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)

at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)

at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)

at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)

at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

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

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

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

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

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

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

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

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

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

... 46 more

junwu
Active Contributor
0 Kudos

can you build your dc locally?

govardan_raj
Contributor
0 Kudos

yes  i have builded my DC locally , Dc is built successfully with out any errors.

junwu
Active Contributor
0 Kudos

do you use dc build?

i think that file is auto generated based on what dependency you have specified. usually don't have to change it manually.

former_member182372
Active Contributor
0 Kudos

The problem is NOT:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.axisbank.custrpt.vccustreportcomp.VcCustReportComp. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)

The problem is:

java.lang.VerifyError: (class: com/xxxx/custrpt/vccustreportcomp/VcCustReportComp, method: getExportSummaryTableExcel signature: ()V) Incompatible argument to function

seems like the version of jar you are using to build (on NWDS) is not the same you are using to execute (runtime on the server). Are you usign external lib or used components?

govardan_raj
Contributor
0 Kudos

HI maksim,

the external library dc was having the JXL jar file , I first removed external library dc , then created a new external library dc , then after deploying, the application started working with new external lib file, you are absolutly right it was problem with external library dc, that was not availble at run time .

govardan_raj
Contributor
0 Kudos

but i have one doubt , like when we use external lib dc, during build time they dont give any errors but druing run time we face these kind of issues, why it happens and also it will be greatfull if you could explain about the external library usage dependencies , i.e Run Time , build time , deploy time etc.

junwu
Active Contributor
0 Kudos

i don't think that is root cause.

without adding runtime dependency, it starts working?

getExportSummaryTableExcel is the method in component, nothing to with the jxl right?

junwu
Active Contributor
0 Kudos

from the log you provided, i think it is not external lib issue

it is dc build issue, if i am not wrong

Answers (0)