Skip to Content

Context Error after Model-Reimport

Hi,

after a model-reimport (adding a 5th column to an existing model parameter) i get an error during runtime.

I did build/rebuild/deploy the DC and the modelDC.

Still I get this error.

In NWDS I can see the new column (in DC and in the model DC), build runs fine, but during runtime I crashes with the follwing internal server error:

com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(CmpResultDerivat.M02_Wb_Tree_Data_Get_Input.Output_TDG.Et_Strings): structure field Col5 not found
	at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:295)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:669)
	at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:233)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
	at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
	at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
	at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347)
	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:855)
	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:158)
	at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:143)
	at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:110)
	at com.vw.pml.ptl.result.CmpResultView.onActionSelect(CmpResultView.java:333)
	at com.vw.pml.ptl.result.wdp.InternalCmpResultView.wdInvokeEventHandler(InternalCmpResultView.java:623)
	at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
	at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
	at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
	at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
	at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
	at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
	at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
	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:95)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

Seems to crash on context-initialization, but I don't have a clue ...

Any idea what's wrong? Any help is appreciated.

TIA

Alf

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 17, 2006 at 05:57 PM

    Hi Alfred,

    Right click on used WD component and select "repair".

    Best regards, Maksim Rashchynski.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 18, 2006 at 04:44 AM

    Hi Alfred,

    Looks like after the re-import one of the fields that you were using earlier is not available anymore.But looks like you are trying to use this somewhere in the context binding or something.Try to rebind your context. If it still doesnt solve the problem delete the model, import it again and then rebind all the contexts..But this is the last solution.

    Regards,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

    • > Hi Alfred,

      > Looks like after the re-import one of the fields

      > s that you were using earlier is not available

      > anymore.But looks like you are trying to use this

      > somewhere in the context binding or something.Try to

      > rebind your context. If it still doesnt solve the

      > problem delete the model, import it again and then

      > rebind all the contexts..But this is the last

      > solution.

      >

      > Regards,

      > Arun

      Actually Col5 is the newly added parameter from the model.

      I can see it in the model-project, and I can see it in

      the imported model in my DC. Still it causes this error.

      I'll try to redo all bindings and see what happens.

      Thanks.

      Alf

  • Posted on Oct 23, 2006 at 10:46 AM

    A complete re-do of all bindings and then rebuilding

    solved this thing.

    Cheers,

    Alf

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      You need to restart your J2EE server after model reimport - otherwise there could be incosistencies in the server cache and it doesn't see the changes (for example new added parameter is not visible during runtime).

      Regards

      Ladislav

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.