Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.


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

  • string index out of range
    via by kenny koh,
  • why i am geeting this error
    via Stack Overflow by Sonal Akhal
  • How to reRender specific row in richfaces 4
    via Stack Overflow by Mike
  • Vala read file line by line
    via Stack Overflow by David Gomes
  • StringIndexOutOfBoundsException
    via by Unknown author,
  • Exceptions
    via by Unknown author,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: -2. at java.lang.String.charAt(

    Users with the same issue

    12 times, last one,
    1 times, last one,
    1 times, last one,
    1 times, last one,
    1 times, last one,
    30 more bugmates