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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Strugariu Florin, 1 year ago
via Google Groups by Nicola, 1 month ago
via Oracle Community by 807606, 8 months ago
String index out of range: 1
via Oracle Community by 843854, 1 year ago
String index out of range: 1
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.charAt(String.java:658)
at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
at java.util.regex.Matcher.replaceAll(Matcher.java:906)
at java.lang.String.replaceAll(String.java:2162)
at net.thucydides.core.requirements.classpath.NarrativeText.definedIn(NarrativeText.java:16)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 2 weeks ago
Once, 2 weeks ago
3 times, 1 month ago
2 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.