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 web6964

  • via Coderanch by Sushma Sharma, 7 months ago
    Index: 0, Size: 0
  • via Coderanch by Ben Zahler, 8 months ago
    Index: 0, Size: 0
  • via Coderanch by Mira Pradhan, 11 months ago
    Index: 0, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at TryReadFileToArray_2.getPersons( at TryReadFileToArray_2.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

    18 times, 10 hours ago
    6 times, 3 days ago
    9 times, 3 days ago
    2 times, 1 week ago
    19 times, 1 week ago
    230 more bugmates