cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating query

Former Member
0 Kudos

Hi ,

I am creating 7.1 laptop application, I am getting error while creating the queries. I have 2 queries in my Model DC, When I create the 1st query I am able to use it in the applicationDC without any problem, But when I am creating the second query, I am getting exception "Caused by: com.sap.tc.mobile.exception.standard.SAPIllegalArgumentException: Cannot find class com.acc.iss.issdatamodel.GetAccountDetails" . At design time in the application, I dont face any problem and I am able to build the application also. But during runtime at applicaiton la the error starts coming. In my 2nd query I have an input attribute and output based out on this input attribute.

The detailled error trace is below

ping="true" text="com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session ApplicationSession(name=com.acc.iss.issapp.iss.ISS, id=A957F1DFFD3B8DC70000012917EA1114). The causing exception is nested. RID=3f9de732730811dfad7b005056b36f88

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:652)

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

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

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest0(WebDynproRequestHandler.java:189)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest(WebDynproRequestHandler.java:127)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.AbstractRequestHandler.handleRequest(AbstractRequestHandler.java:306)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest0(SimpleHttpServer.java:247)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest(SimpleHttpServer.java:215)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.run(SimpleHttpServer.java:164)

at java.lang.Thread.run(Unknown Source)

Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.acc.iss.issapp.iss.comp.ISSComp. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:150)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:75)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:75)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:643)

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

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

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:649)

... 9 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

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

... 20 more

Caused by: java.lang.ExceptionInInitializerError

at com.acc.iss.issdatamodel.ISSDataModel.createGetAccountDetails(ISSDataModel.java:57)

at com.acc.iss.issapp.iss.comp.ISSComp.<init>(ISSComp.java:517)

at com.acc.iss.issapp.iss.comp.wdp.InternalISSComp.<init>(InternalISSComp.java:685)

... 25 more

Caused by: com.sap.tc.mobile.exception.standard.SAPIllegalArgumentException: Cannot find class com.acc.iss.issdatamodel.GetAccountDetails

at com.sap.tc.mobile.cfs.meta.io.MetaRuntimeUtils.findClass(MetaRuntimeUtils.java:229)

at com.sap.tc.mobile.cfs.meta.io.MetaRuntimeUtils.findClass(MetaRuntimeUtils.java:204)

at com.acc.iss.issdatamodel.GetAccountDetails.<clinit>(GetAccountDetails.java:45)

... 28 more

Regards,

Priya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Priya,

I also have this error. In fact every time I do a change in my model DC, it is not reflected in my other DC which depends on this one. Rebuild, reload, .. nothing helps...

Did you eventually found the problem? Reinstalling the client solves the problem, but as you can imagine, that's not a helpful trick.

regards

Peter

pvannest
Participant
0 Kudos

Dear SDN'ers,

I reported this error to SAP. A bugfix will be foreseen for this in the following patch for MI7.1 SP9, probably patch3.

regards

Peter