java.lang.IndexOutOfBoundsException

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(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at Library.main(Library.java:103)

    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

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    18 times, 6 hours ago
    230 more bugmates