If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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.

  • Random numbers without duplicates
    via by 807596,
  • exception thrown on debugging
    via by mkleint,
    • java.lang.IndexOutOfBoundsException: Index: 5, Size: 5 at java.util.ArrayList.RangeCheck( at java.util.ArrayList.get( at model.Lottery.printEntry( at model.Lottery.main(

    Users with the same issue

    1 times, last one,
    4 times, last one,
    Unknown visitor1 times, last one,
    9 times, last one,
    Agócs Tamás
    8 times, last one,
    225 more bugmates