java.lang.StringIndexOutOfBoundsException

String index out of range: 23


Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web4544

Solution icon of bugzilla
via Eclipse Bugzilla by andrew.eisenberg, 1 year ago
String index out of range: -23

Solution icon of spring
via Spring JIRA by Dave Syer, 1 year ago
String index out of range: -23

Solution icon of sourceforge
String index out of range: -23

Solution icon of web
via compgroups.net by Unknown author, 11 months ago
String index out of range: 23

Solution icon of web
via compgroups.net by Unknown author, 1 year ago
String index out of range: 23

Solution icon of web
via compgroups.net by Unknown author, 1 year ago
String index out of range: 23

Solution icon of web
via compgroups.net by Unknown author, 1 year ago
String index out of range: 23

Solution icon of web
via compgroups.net by Unknown author, 1 year ago
String index out of range: 23

Solution icon of web
via compgroups.net by Unknown author, 1 year ago
String index out of range: 23

Solution icon of web
String index out of range: 23

Stack trace

  • 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)

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

Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Once, 1 month ago
Once, 1 month ago
14 times, 1 month ago
4 times, 1 month ago
35 more bugmates