on 09-17-2009 9:24 AM
Hi All,
I am facing a problem Netweaver mobile 7.1 Laptop Solution.
My first screen displays an set of records in a table. I need to select a record , and based on this I need to execute a new query and the reult needs to be shown in another table. But in my component controller I have written a code as below. This throws an exception. How to resolve this.
/*
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). <p>
*
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
*/
//@@begin others
MMSCompModel model1 = MMSCompModel.getInstance();
QueryobjList = model1.createQueryWorkOrderObjList();
//@@end
Regards,
Muhammed Nishad J
Applexus
Issue Solved
Muhammed Nishad
Applexus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you post the exception details?
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
The Error I am getting is
java.lang.ExceptionInInitializerError
at mmscompmodelpackage.MMSCompModel.createQueryWorkOrderObjList(MMSCompModel.java:458)
at com.applexus.mmshandhelduicomp.mmsapp.comp.MmsappComp.objlistFire(MmsappComp.java:236)
at com.applexus.mmshandhelduicomp.mmsapp.comp.wdp.InternalMmsappComp.objlistFire(InternalMmsappComp.java:374)
at com.applexus.mmshandhelduicomp.mmsapp.comp.WorkOrderGetList.onActionShowObjList(WorkOrderGetList.java:220)
at com.applexus.mmshandhelduicomp.mmsapp.comp.wdp.InternalWorkOrderGetList.wdInvokeEventHandler(InternalWorkOrderGetList.java:290)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
at com.sap.tc.webdynpro.clientimpl.scxml.client.SmartClient.executeTasks(SmartClient.java:671)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1439)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1259)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:88)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:614)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:634)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:565)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:304)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:701)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
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(Thread.java:595)
Caused by: com.sap.tc.mobile.exception.standard.SAPIllegalArgumentException: Cannot find class mmscompmodelpackage.QueryWorkOrderObjList
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 mmscompmodelpackage.QueryWorkOrderObjList.<clinit>(QueryWorkOrderObjList.java:43)
... 34 more
Regards,
Muhammed Nishad
Applexus
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.