java.lang.StringIndexOutOfBoundsException

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.
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.

  • find and replace in file!
    via by 807555,
  • GitHub comment 32#21755855
    via GitHub by sschlmr
    ,
  • Re: Sheet Reference Formula not working
    via by Anant Sagar,
  • Re: Sheet Reference Formula not working
    via by Anant Sagar,
  • Problem with WLS 5.1 SP9?
    via by 3004,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 388 at java.lang.String.charAt(String.java:507) at selferasing.SelfErasing.deleteChar(SelfErasing.java:30) at selferasing.SelfErasing.<init>(SelfErasing.java:16) at selferasing.SelfErasing.main(SelfErasing.java:48)

    Users with the same issue

    poroszd
    12 times, last one,
    olle.hallin
    1 times, last one,
    linxiaolong
    1 times, last one,
    jokester
    1 times, last one,
    tyson925
    1 times, last one,
    30 more bugmates