Skip to Content
author's profile photo Former Member
Former Member

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

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 02:02 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.