cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 while inserting

Former Member
0 Kudos

Dear All,

I get the following error:

"java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" while inserting a record from the web dynpro java application into the sap table.

What Im doing is inserting the value in the table based on the key value "uname" into the backend.

Please do let me know what could be the possible error.

Thanks and Regards,

Soumyadeep.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

This is a common java exception thrown on iteration over a collection and index on iteration is exceeded over the collection index. I guess , here you are not getting the table node instant and your iterator is trying to loop.

Thanks,

Tony.