on 10-31-2008 8:26 AM
Hello experts,
I have a problem with my wdDoInit Method. I have implemented following argument:
wdContext.nodeReference_Customer_Junkers().currentReference_Customer_JunkersElement().setVKOrg("22");
But at Runtime I get a NullPointerException. I don`t no why. Seems everything ok with my Context. The Atrribute VKOrg is a String.
Any ideas???
Regards
Marco
Hi,
Check the cardinality of the node "Customer_Junkers", if its 0..n change that to 1..n
or else before accessing currentReference_Customer_JunkersElement create an element as follows
wdContext.nodeReference_Customer_Junkers().createElement();
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Set the Reference_Customer_Junkers cardinality property 1:n
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
what is the cardinality of the node "Reference_Customer_Junkers" if it is 0..n
make it to 1..1.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.