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 Oracle Community by 843798, 1 year ago
String index out of range: 2
via Google Groups by Nicola, 3 months ago
via Oracle Community by 807606, 10 months ago
String index out of range: 1
via Stack Overflow by Paul Reiners
, 1 year ago
via Oracle Community by 843854, 1 year ago
String index out of range: 1
java.lang.StringIndexOutOfBoundsException: String index out of range: 2	at java.lang.String.charAt(String.java:460)	at java.util.regex.Matcher.appendReplacement(Matcher.java:544)	at java.util.regex.Matcher.replaceAll(Matcher.java:646)	at java.lang.String.replaceAll(String.java:1710)	at undefined.Main.(Main.java:58)	at undefined.Main.main(Main.java:71)