Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Errro in Table Tutorial in CE 7.1 ?

hi @,

I have migrated Table tutorial given in SDN to CE 7.1 SR5 and its showing no error but when I am deploying it and runnning it is giving exception. I am not able to figure our the error I am getting following exception:

Caused by: java.lang.ClassCastException: class java.lang.String:null incompatible with interface com.sap.dictionary.runtime.IField:library:com.sap.dictionary.runtime com.sap.engine.boot.loader.ResourceMultiParentClassLoader150d5d6alive

at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.getStructureField(DataAttributeInfo.java:265)

at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.initReferenceAttribute(DataAttributeInfo.java:457)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initStructureType(NodeInfo.java:1021)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAfterCompletedMapping(NodeInfo.java:979)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.initAfterCompletedMapping(MappedNodeInfo.java:228)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initAfterCompletedMapping(MappingInfo.java:176)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.setDataNode(MappingInfo.java:75)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:137)

at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:171)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:193)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:925)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:929)

at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:79)

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

at com.sap.tc.webdynpro.progmodel.window.ViewManager.getView(ViewManager.java:705)

at com.sap.tc.webdynpro.progmodel.window.ViewManager.bindRoot(ViewManager.java:600)

at com.sap.tc.webdynpro.progmodel.window.ViewManager.init(ViewManager.java:183)

at com.sap.tc.webdynpro.progmodel.window.InterfaceView.manageEmbeddedViewManager(InterfaceView.java:146)

at com.sap.tc.webdynpro.progmodel.window.InterfaceView.initController(InterfaceView.java:56)

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

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:352)

at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)

at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)

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

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

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

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)

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

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

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

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

Where and why this exception is coming when my migration is successfull?

REgards

Former Member
Former Member replied

Hi,

we are working on it

In the meantime you could undeploy all versions you had deployed and take this version:

[table_final.zip|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f06c0940-79ca-2910-14b5-c4de1efd3bf5], which you also can find here: [WEb Dynpro Samples and Tutorials: Creating Tables|/docs/DOC-8061#46].

I tried it myself and after a repair it did run without problems.

kind regards

Stefanie

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question