java.lang.IndexOutOfBoundsException: Index: 1, Size: 0


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.


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

  • IndexOutOfBoundException for ArrayList
    via Stack Overflow by Shreyas Rao B
  • Why won't my ArrayList initialize properly?
    via Stack Overflow by Imray
    • java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.rangeCheck( at java.util.ArrayList.set( at at

    Users with the same issue

    poroszd1 times, last one,
    tyson9254 times, last one,
    sriharshakiran2 times, last one,
    chenjunjun1 times, last one,
    Unknown visitor1 times, last one,
    151 more bugmates