Index: 0, Size: 0

Samebug tips1


Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4154

Stack trace

  • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at File2Array.getPersons( at File2Array.main(

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, last one,
9 times, last one,
Agócs TamásAgócs Tamás
8 times, last one,
2 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
225 more bugmates