java.lang.StringIndexOutOfBoundsException

String index out of range: -1


Solutions on the web4670

Solution icon of coderanch
via Coderanch by virga, 8 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Kari Nordmann, 10 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Khaly Silverman, 10 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Rahul Mahindrakar, 9 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by David Yutzy, 9 months ago
String index out of range: -1

Solution icon of bugzilla
String index out of range: 1

Solution icon of bugzilla
String index out of range: -1

Solution icon of bugzilla
String index out of range: -1

Solution icon of bugzilla
via Eclipse Bugzilla by anton.leherbauer, 1 year ago
String index out of range: -1

Solution icon of bugzilla
via Eclipse Bugzilla by todd.gochenour, 1 year ago
String index out of range: -1

Stack trace

  • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.setCharAt(AbstractStringBuilder.java:407) at java.lang.StringBuilder.setCharAt(StringBuilder.java:76)

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, 1 year ago