Java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.Modifi
Hi All,
when i try to run a sample adobe webDynpro application i am getting this error -
1) One text filed on adobe form .
2) Mode used is generate PDF
Please look into it and through some light to resolve this .
<b>Root Cause</b>
The initial exception that caused the request to fail, was:
java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.ModifiableSimpleType
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.modifyDataType(InteractiveForm.java:861)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:248)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
... 27 more
<u><b>Detailed Error Information
Detailed Exception Chain</b></u>
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to GENERATEPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
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(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: java.lang.ClassCastException: com.sap.tc.webdynpro.progmodel.context.ModifiableSimpleType
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.modifyDataType(InteractiveForm.java:861)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:248)
... 30 more
Regards,
Nanda
Hi Narasimha,
Please check the context node/attribute binding which used in webdynpro screen layouts.
Hope it will helps
Regards
Arun Jaiswal
Similar Messages
-
Hi Experts,
I am consuming RFC to my webdynpro java application. The rfc takes some input values and returns some output vaules.
In the application I had taken model to my component and mapped ( model --> component --> view ). i created Application and deployed it. it is giving the following Exception.
com.sap.tc.webdynpro.progmodel.context.ContextException: NodeElement(.ComponentOne.Zbapi_Material_Create_Input): model node element cannot be created without a model instance
at com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.<init>(ModelNodeElement.java:63)
at com.sap.demo.sample.wd.comp.componentone.wdp.IPublicComponentOne$IZbapi_Material_Create_InputElement.<init>(IPublicComponentOne.java:357)
at com.sap.demo.sample.wd.comp.componentone.wdp.IPublicComponentOne$IContextNode.doCreateElement(IPublicComponentOne.java:55)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:1269)
Here actually it had to display the input screen (default view page )but while loading the starting page it gives the above exception.
I searches lot of forums, but they are related to particular inputfields, but here it is not that scenario, i am not using any fields here just to display the view page. I don't know exactly what was the mistake, Help me please if you know.
Regards,
Pradeep KumarHi Pradeep,
Did you checked that all the requierd code has been genarated or not in component controller?
If you use apply template--> servicee controller some times service controller will not genarate the requierd code.
check in the wdDoInit() method whether the following code has been genarated or not.
if not wirte tht code.
//$$begin Service Controller(17224717)
WSTest model = new WSTest();
wdContext.nodeRequest_EmployeeDeatilsByType().bind(new Request_EmployeeDeatilsByType(model));
//$$end
Revert back if you have any quaries.
Thanks & Regards,
Bhargava. -
After upgraded MII Patch from 12.2 SP2 to SP3. Facing issue on system properties -
SAP MII - System Management --> System Properties --> Edit
When we trying to change any properties setting and save then got following error -
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(path=NavigationComponent.HostedComponentPlaceHolder/SystemAdministrationView.SystemAdminPropNode, class=com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo): unknown attribute MDODataSource
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.getAttributeInternal(NodeInfo.java:715)
at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdGetAttributeInfo(NodeElement.java:466)
at com.sap.tc.webdynpro.progmodel.context.NodeElement.setAttributeValue(NodeElement.java:918)
at com.sap.xapps.xmii.ui.admin.syscfg.syscfgcomp.sysconfigcomp.SystemAdministrationView.onActionCancel(SystemAdministrationView.java:370)
at com.sap.xapps.xmii.ui.admin.syscfg.syscfgcomp.sysconfigcomp.wdp.InternalSystemAdministrationView.wdInvokeEventHandler(InternalSystemAdministrationView.java:181)
... 71 moreHi Ashish and Sumit,
You need to remove from XMII_SYSPROPS table the record where in the PROPNAME column is equal MDODataSource'.
You need have access on MII database.
Regards
Thiago Barros -
Hello,
Im having trouble running a Web Dynpro Application. When running, the application is showing me the following exception,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_po_ws.wd_po_ws_model.Wd_po_ws_Model.<init>(Wd_po_ws_Model.java:124)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.Wd_po_ws_Comp.wdDoInit(Wd_po_ws_Comp.java:120)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.wdp.InternalWd_po_ws_Comp.wdDoInit(InternalWd_po_ws_Comp.java:195)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
This is in the DoInit() method, In the line,
Wd_po_ws_Model wd_po_ws_ModelModel = new Wd_po_ws_Model();
It could be the METADATA or MODELDATA destination configuration?
Thanks
SUHello,
The problem is solved following these steps,
"NWDS IDE is in SP04 whereas the WebDynpro Runtime is in SP01. So yo have to upgrade your WebDynpro in WebAS to SP04.
All WebDynpro for Java patches are available on SAP Service Marketplace.Note 330793 explains how to download patches from SAP Service Marketplace. Note 1395865 explains how to find the Web Dynpro for Java related SCAs.
Update your system via JSPM.
Please refer the link to the official documentation for JSPM
http://help.sap.com/saphelp_nwpi711/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
From WebDynpro perspective, we recommend you to apply both WD-RUNTIME.SCA and FRAMEWORK.SCA. So if any one of the archive is not mentioned in the 'SP Patch Level' tab, it is recommended to apply the same which is available in the service market place."
Regards
SU -
Hi everybody,
I got trouble with my WebDynpro Application. When I deploy an application including a Table without being bound to any context node, the deployment works and the view is rendered properly. As soon as I bind this table to the context in order to fill the columns, I receive the Exception Message in the subject line. I tried running this application on several WEB AS Version from SP 14 to 17, however, I received the same Exception everytime. Is the framework of my NWDS broken or what is going on?
I'm grateful for every hint that could solve the issue,
thx and rgds,
OttoHi Armin,
here goes the stacktrace.
java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractTableColumn
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructors(Class.java:865)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:486)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:523)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:619)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:262)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:819)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:359)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
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: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)
rgds,
Otto -
Hello,
I have SAP EH1 for SAP NWCE 7.1 and NWDS with the recent upgrade pack of WD. When I run my WD application the following exception ocurr,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_test_esr.wdtestesr_model.Wdtestesr_Model.<init>(Wdtestesr_Model.java:240)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.Wdtestesr_Comp.wdDoInit(Wdtestesr_Comp.java:111)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.wdp.InternalWdtestesr_Comp.wdDoInit(InternalWdtestesr_Comp.java:445)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
My DoInit Method only have this code,
public void wdDoInit()
Wdtestesr_Model model = new Wdtestesr_Model();
Any ideas?
Regards
MGThe problem is that the logical destinations are not well configured.
-
Hi All,
I have created and deployed an EJB application in CE7.1,I am using this jars "_webdynpro_pdfobject.jar",for read the xml data in pdf ,For that time i am getting following errors",
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDataat com.sap.tc.webdynpro.pdfobject.api.WDPDFObjectFactory.getPDFObject(WDPDFObjectFactory.java:43)
Plz anyone suggest
Regards,
Vinoth Raja.VWell, first of all, you should not use a Web Dynpro API in an EJB app. Web Dynpro is a UI technology, EJB implements the business logic.
Furthermore, the PDFObject API has been deprecated. For more information and guidance, please refer to its [javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/pdfobject/api/package-summary.html].
HTH!
\-- Vladimir
P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting. -
Com.sap.tc.webdynpro.progmodel.context.ContextException
Hi Everybody,
I am getting the below mentioned error, while deploying the application. I am trying to get some values from backend to display it in a dropdownKey. So I am giving an GroupID and UserID in my wdDoinit().
com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(AuditRepCompView <VIEW NAME>): cannot modify Groupid <MODEL ATTRIBUTE> because it is mapped and there is no active NodeElement to take the value
Regards/Guruhi jhansi,
I didn't use any model attribute. i just create 2 attribute from the context. after tat, i mapped those two attributes to the relevant context element.
But after i rebuilt & deploy my application, it show this error: com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(StartView): cannot modify pwd because it is mapped and there is no active NodeElement to take the value
Can u pls tell me wad this error means?
Thanks & Rgds,
Angie -
Hi All,
While trying to deploy webdynpro application in NWDS 7.3.1 i get the below exception.
com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException:
NodeInfo(path=Sample_Comp/Custom_Search.Sample_Data_Input.T_data, class="com".sap.tc.webdynpro.progmodel.context.DataNodeInfo): structure field Name1 not found
But I have reimported the function module Sample_Data and i see name1 structure in T_data table in Custom_Search controller.
Please help me to sort this problem.
Thanks in advance.clear the rfc cache
-
Dear all,
i have two web dynpro components, say A and B.
A is using component B.
When i push a close button in B, i do the following things:
1. wdComponentAPI.getMessageManager().reportWarning("Some warning!!!");
2. wdThis.wdGetICLRequestDetailsController().leaveRequestDetails();
This leaveRequestDetails() fires a plug (standard) to leave back to my component A and component A deletets the componentUsage when needed... ( if(hasActiveComponent()) )
Component B has a view with an inputfield for an amount (bigdecimal). When this has valid input and i push the button and execute 1. and 2. everything works fine and i see the warning on the view of my comp. A.
When i put invalid input in the amount field ( for example some characters) and i push the button, i see an error message on my view in comp. B. (automatic validation)
When i correct the input and push the submit button again while the previous error message is still visible on the screen (so there's no event trigerred since the automatic validation), i get the following nullpointer exception on calling the deleteComponent method in component A:
java.lang.NullPointerException
+ at com.sap.tc.webdynpro.progmodel.controller.MessageManager.setAttributeValidbyContext(MessageManager.java:656)+
+ at com.sap.tc.webdynpro.progmodel.context.NodeElement.clearPendingInput(NodeElement.java:297)+
+ at com.sap.tc.webdynpro.progmodel.context.NodeElement.exit(NodeElement.java:132)+
+ at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.exit(Node.java:1859)+
+ at com.sap.tc.webdynpro.progmodel.context.Node.clearElements(Node.java:1560)+
+ at com.sap.tc.webdynpro.progmodel.context.Node.forgetDataNode(Node.java:1733)+
+ at com.sap.tc.webdynpro.progmodel.context.Node.exit(Node.java:295)+
+ at com.sap.tc.webdynpro.progmodel.context.Node.exit(Node.java:306)+
+ at com.sap.tc.webdynpro.progmodel.context.Context.exit(Context.java:53)+
+ at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:161)+
+ at com.sap.tc.webdynpro.progmodel.view.View.exitController(View.java:403)+
+ at com.sap.tc.webdynpro.progmodel.view.View.exitController(View.java:435)+
+ at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:154)+
+ at com.sap.tc.webdynpro.progmodel.view.ViewManager.exit(ViewManager.java:125)+
+ at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.exit(ClientComponent.java:211)+
+ at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.deleteComponent(ClientComponent.java:195)+
+ at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.deleteComponent(ComponentUsage.java:199)+
When i do the same again, but without reporting the warning before leaving comp B, i don't get the nullpointer exception and can continue interacting on my view in component A.
Can anyone tell me what's the cause for this nullpointer? is it a bug?
Kind regards.
J.The following is a working solution for me:
MessageManager mManager = (MessageManager)wdComponentAPI.getMessageManager();
mManager.reset();
I have put these lines right before i call the deleteComponent() method in my web dynpro component A. -
I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below.
Buy using the Debugging facility in NWDS i can see that the problem is this code linie:
<i>SldApplicationServiceInterface srvContext = (SldApplicationServiceInterface) jndiContext.lookup(SldApplicationServiceInterface.KEY);</i>
<u><b>NWDS Log</b></u>
07:50:12 Start of test
Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
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)
Root Cause:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
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.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface
at com.danfoss.xi.mapping.util.GenerateFileNumber.getFileGeneratedNumber(GenerateFileNumber.java:53)
at com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_.getFGN$(_SAP_APPL_Invoice_to_CustomerInvoice_.java:2556)
... 29 more
RuntimeException in Message-Mapping transformation: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]Hi,
Looks like your CLASSPATH is not set properly...Just try to Put the Jar inside "<DOMAIN_HOME>\lib" directory...in that case u need not to alter anything in the Classpath variable...it will be appended at the end of Classpath at the run time, Using Extended Directory ClassLoader.
by default Classpath settings doesnt take effect if we specify it in the startScript of Servers but we start them using NodeManagers...So if you are using Nodemanagers to start your Servers... then you can follow the below link to set the Classpath & Memory Arguments http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
hi all,
i was trying to build and try a web service in my project.
but at runtime it keeps throwing the following error( log trace)
i am unable to figure out the source of error.
is it in the jco or anything else
thanks in advance
1.5#001143C809E500470000002E00000B8C00040CBB0F05957C#1139897457152#com.sap.engine.services.httpserver##com.sap.engine.services.httpserver#Guest#2####a9a4e0009d2011dacd42001143c809e5#SAPEngine_Application_Thread[impl:3]_16##0#0#Error#1#/System/Server#Plain###User Guest, IP address
HTTP request processing failed. HTTP error [401] will be returned. The error is [Cannot authenticate the user.No details available].#
#1.5#001143C809E500530000001F00000B8C00040CBB0FEBCF9E#1139897472233#com.sap.engine.services.ejb#sap.com/xappsospservicebundle~enterpriseapp#com.sap.engine.services.ejb#I020381E1#1839####b13de9b09d2011da944e001143c809e5#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Java###
[EXCEPTION]
#1#com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method getRelatedReports.
at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBLocalLocalObjectImpl10.getRelatedReports(OrgMgmtSBLocalLocalObjectImpl10.java:121)
at com.sap.xapps.osp.orgmgmt.servicebundle.facade.OrgMgtFacadeBean.getRelatedReports(OrgMgtFacadeBean.java:425)
at com.sap.xapps.osp.orgmgmt.servicebundle.facade.OrgMgtFacadeLocalLocalObjectImpl10.getRelatedReports(OrgMgtFacadeLocalLocalObjectImpl10.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
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: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.NoClassDefFoundError: com/sap/util/monitor/jarm/TaskMonitor
at com.sap.mw.jco.util.Jarm.getRequestMonitor(Jarm.java:57)
at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:19069)
at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:18151)
at com.sap.xapps.osp.orgmgmt.servicebundle.common.OrgMgmtSBHelper.createFunction(OrgMgmtSBHelper.java:491)
at com.sap.xapps.osp.orgmgmt.servicebundle.impl.OrgMgmtBusinessDelegate.getRelatedReports(OrgMgmtBusinessDelegate.java:1273)
at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBBean.getRelatedReports(OrgMgmtSBBean.java:170)
at com.sap.xapps.osp.orgmgmt.servicebundle.sbejb.OrgMgmtSBLocalLocalObjectImpl10.getRelatedReports(OrgMgmtSBLocalLocalObjectImpl10.java:103)
... 27 morehi,
thanks for the replies.
well i guess that(user authentication) is not the problem.
Coz that happens even before i start the web service.
i guess the problem is that the appl. is not finding the TaskMonitor class ( see the last 10 lines of the log).
does anyone have a solution for that.
thanks -
Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
Following is the log file
!SESSION -
!ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.getConstructor(Class.java:1027)
at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
Can somebody help me to resolve this? What should be the potential cause for the error?java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
Either a missing jar or the classpath is not defined right. -
hi,
In every view, the "com.sap.tc.webdynpro.progmodel.api.IWDView view" is the parameter of the mothed wdDoModifyView(). I wonder, if we can make type com.sap.tc.webdynpro.progmodel.api.IWDView parameter in other methods which are designed by ourself. Thank you!Hi Daniel,
This method wdDoModifyView will be raised every time the view is changed or refreshed (i.e. button pressed, drop down selected). This should cover all cases where you need IWDView, personally I can't think of another case where you need this parameter.
As far as I know it is not possible but even if it is it's not recommended.
But perhaps I'm wrong, I'll be happy to hear more opinions from more experienced SDNers...
Roy -
hi,everybody,
As we all know, there is a com.sap.tc.webdynpro.progmodel.api.IWDView object in wdDoModifyView() parameters.We can use the IWDView object in the method or after the method.But in my project, I want to use the IWDView object before wdDoModifyView() method.I don't know how to create a IWDView object. Would you please help me.Thank you!Hi daniel,
wdModifyView is called by framework while rendering the view & IWDView is used for it. Before wdDoModifyView its not possible according to me , may be u can check with armin.
Hi Manoj,
First of all, even if u declare a variable , u can't initializae it before weDoModifyView. Apart from that its always suggested , not to access the IWDView outside the wdModifyView . i think that's why wdDoModifyView is static & called everytime ,u do anything with the view.
regards
Sumit
Maybe you are looking for
-
Launch a BI Publisher Report from ODI 11g
Hello, I have a requirement where after a data load completes in ODI, a BI Publisher report should be launched which will email some pdf output to users. Is there a way in ODI that as the last step in the data load process, I can launch a BI Publishe
-
I have a new computer that we set up with itunes home sharing and I need some assistance. I also have my own apple id and would like to make the new computer the one I use for my music. Should I set up a whole new itunes library/account or still work
-
Sending smartform as pdf attachment through mail
Dear All, Can anyone suggest me sample code of how an sap smartform output is sent as pdf attachment to a receipients email address? Thanks M A
-
Windows 2011 SBS Reinstallation, PDC and User CALs - Assistance Requested.
Hi, Here is my situation, I currently have a WS2011SBS which is the PDC, running AD, DNS and DHCP, This server is having Issues which I believe a reinstall would likely fix. We no longer use Exchange or SharePoint on this server as we have moved to
-
Adobe Premiere Pro CS6 Freezes/Stops Responding No Matter What I Do. Any ideas?
My Adobe Premiere Pro CS6 keeps freezing or not responding (pin wheel of death). This problem started happening 3 weeks ago. There is no one thing that triggers it, but it does seem to happen more often when trying to read my media from the media bro