cancel
Showing results for 
Search instead for 
Did you mean: 

Don't check recursion

Former Member
0 Kudos

Hi,

i want add context node to my view via Model Binding...

sometimes i get IndexOutOfBoundException... I think Web Dynpro don't check or understand that theire is a recursion....

and the other time i can add my context without any Problems...

example for my Node:

Request...createTeam

     + teamEntity

          + events

          + teamMembers

          + topicField

         id: long

         teamNumber: int

     leaderId; long

i tried it yesterday many times... with no result...

and tried it for a few minutes... and it worked

Anyone any idea ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Sorry for my bad explanation. A second trial with images...

i am trying to add a context node via model binding...

i get this exception....

and here i am trying the same...

but here i dont get any exception...

Both situation are the same without any changes on views or entity beans

junwu
Active Contributor
0 Kudos

change ini file, give more memory to the eclipse.

Former Member
0 Kudos

i did it already... but this was not the solution for this problem...

like i said before... i tried it two times...

first time... i get the exception...

second time... it works without an exception

junwu
Active Contributor
0 Kudos

it is constantly like that? first time error, second time ok.

Former Member
0 Kudos

not constantly like that...

sometimes it works first time...

sometimes i can try it many times and i always get error... since i have luck and it works...

junwu
Active Contributor
0 Kudos

maybe just leave it.

you don't have to edit that everyday right?

Former Member
0 Kudos

yeah, i dont change it everyday ...

i was curios...that's why i asked...

if i get this exception... i try it so long till it works

junwu
Active Contributor
0 Kudos

i think it is just memory issue. if you do it immediately just after the IDE is opened, you should be good

Former Member
0 Kudos

Hi Buenyamin Sever,

I am also not able to understand the issue properly.

But I can tell you that if you are trying to populate the context nodes in view via model binding please try to check the node size after model execution & if it is not equal to null then only bind with context nodes of view, else try to set some default values in order to avoid those "IndexOutOfBoundException"  exceptions displaying in portal screen.

Thanks,

Patralekha Sur

junwu
Active Contributor
0 Kudos

no idea what you are talking