cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error at Deployment....

dhruv_shah3
Active Contributor
0 Kudos

Hi Experts,

I am getting the Following when i am trying to deploy my application.

com.sap.tc.webdynpro.progmodel.context.ContextException: Node(QuizComp.QuizData): must not bind more than one element to a Node of cardinality 0..1 or 1..1

Exception Trace:

at com.sap.tc.webdynpro.progmodel.context.Node.setElements(Node.java:477)

at com.sap.tc.webdynpro.progmodel.context.Node.bind(Node.java:555)

at com.sap.training.wd.QuizComp.wdDoInit(QuizComp.java:134)

at com.sap.training.wd.wdp.InternalQuizComp.wdDoInit(InternalQuizComp.java:116)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95)

Regards,

DS

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi DS,

Provide your context structure and properties of the node. Also provide the code also if you are getting exception in code.

See this also

regards,

Siva

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi DS,

Do u have any node with cardinality 1..1 & trying to create & add any element to that node?? check line 134 in QuizComp.java:134. For a node with such cardinality no need to create & add any element.

regards

Sumit

Former Member
0 Kudos

hi,

This is happeneing because you are trying to add more than one element to a node of cardinality 0..1 or 1..1. Change the cardinality to 1..n

thanks & regards,

Manoj