on 11-24-2008 5:06 PM
I have a node in web dynpro context, whose cardianity is 0..n and selection property is 0..1
Due to some action on the view , the node's one and only element also gets removed from it.
This throws a dump .....with the following stack trace. Can anyone help avoid this dump ?
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Do I need to change the properties of the node. Other properties of the node are also given below.
collectionType list
initializeLeadSelection true
singleton true
typedAccessRequired true
Hi,
If ur using loop anywhere to dispaly values.
Try in this way.
for (int i = wdContext.createClientNode.size()- 1; i >= 0; --i)
Thanks & Regards,
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please post the complete error trace ?
is it rfc context ? or re imported the rfc ?
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try removing the lead selection by calling setLeadSelection(NO_SELECTION) on the node before removing the last element or set initializeLeadSelection = false.
Cheers, Karsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.