java.lang.IndexOutOfBoundsException

Index: 4, Size: 4


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 web6763

Solution icon of icesoft
Index: 4, Size: 4

Solution icon of bugzilla
via Eclipse Bugzilla by xwang, 1 year ago
Index: 4, Size: 4

Solution icon of bugzilla
Index: 4, Size: 4

Solution icon of bugzilla
Index: 4, Size: 4

Solution icon of bugzilla
via Eclipse Bugzilla by jfrancis, 1 year ago
Index: 4, Size: 4

Solution icon of bugzilla
via Eclipse Bugzilla by channingwalton, 1 month ago
Index: 4, Size: 4

Solution icon of bugzilla
via Netbeans Bugzilla by mpetras, 1 month ago
Index: 4, Size: 4

Solution icon of github
via GitHub by ctrueden
, 1 year ago
Index: 4, Size: 4

Solution icon of github
Index: 4, Size: 4

Solution icon of github
Index: 4, Size: 4

Stack trace

  • java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429)

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

Once, 2 months ago
2 times, 1 year ago
Once, 1 year ago
2 times, 1 year ago
3 times, 2 days ago
243 more bugmates