java.lang.StringIndexOutOfBoundsException: String index out of range: 23

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.

  • rmi problems - comp.lang.java.help
    via by Unknown author,
  • netty with ssl - comp.lang.java.programmer
    via by Unknown author,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460) at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)

    Users with the same issue

    poroszd
    poroszd12 times, last one,
    olle.hallin
    olle.hallin1 times, last one,
    linxiaolong
    linxiaolong1 times, last one,
    jokester
    jokester1 times, last one,
    tyson925
    tyson9251 times, last one,
    30 more bugmates