Skip to Content
author's profile photo Former Member
Former Member

Context Exception at startup with server-side-rendring

Hi there,

i have a simple WD with the following Context nodes:

Node Offer: Card.: 0...n / Type: List / Selection:0...1 / singelton: true

Subnode BaseData: Card.: 0...n / Type: List / Selection:0...1 / singelton: false

Attribute of BaseData: Name

A Input Field references the Attribute.

When i start the application in Client-side-rendering-Mode, all runs fine, but when i start the application in HtmlClient-Mode, i get the following Error:

com.sap.tc.webdynpro.progmodel.context.ContextException: Node(NodeTestView.Offer): no child node 'BaseData' at index -1

at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:786)

at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:758)

at com.sap.tc.webdynpro.progmodel.context.Paths.createAttributePointer(Paths.java:89)

at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1050)

at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1098)

at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:550)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.InputFieldRenderer.render(InputFieldRenderer.java:41)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:177)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:148)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:33)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment

......

Any ideas ?

Regards,

Claus

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2005 at 04:04 PM

    Ensure that there is always a "Offer" node selected. If possible, set the selection cardinality of the "Offer" node to 1:1.

    Newer SSR versions can also handle the case without selection.

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

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.