Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Subhash Sriram, 1 year ago
via Oracle Community by 843842, 1 year ago
String index out of range: -1
via Stack Overflow by ary
, 1 year ago
via YouTrack by Unknown author, 2 years ago
String index out of range: -1
via GitHub by thanneru
, 2 years ago
String ind ex out of range: -9
via GitHub by thanneru
, 2 years ago
String ind ex out of range: -9**
java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: -1	at java.lang.String.substring(Unknown Source)	at java.lang.String.subSequence(Unknown Source)	at java.util.regex.Matcher.getSubSequence(Unknown Source)	at java.util.regex.Matcher.appendReplacement(Unknown Source)	at Homework.processTest(Homework.java:90)	at Homework.main(Homework.java:52)