java.lang.StringIndexOutOfBoundsException

tip

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.


rafael

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

  • Compiling Ok but code has errors?
    via by Juan Bonilla,
  • 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
    ,
  • How to make a do statement restart?
    via Stack Overflow by BH12
    ,
  • Exception after typing a dot
    via GitHub by cesarbp
    ,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:695) at comissione.main(comissione.java:54)

    Users with the same issue

    linxiaolong
    1 times, last one,
    Hronom
    32257 times, last one,
    balintn
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    30 more bugmates