cancel
Showing results for 
Search instead for 
Did you mean: 

Context Error after Model-Reimport

0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

A complete re-do of all bindings and then rebuilding

solved this thing.

Cheers,

Alf

former_member188498
Active Participant
0 Kudos

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

former_member85655
Active Participant
0 Kudos

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

0 Kudos

> 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

former_member182372
Active Contributor
0 Kudos

Hi Alfred,

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

Best regards, Maksim Rashchynski.

0 Kudos

> Hi Alfred,

>

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

>

> Best regards, Maksim Rashchynski.

Hi Maksim,

unfortunately I only have a "Used Models"-entry and there's no option "Repair".

Thanks anyways.

Alf