java.lang.StringIndexOutOfBoundsException: String index out of range: -2

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

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.checkBounds(String.java:381)
at java.lang.String.(String.java:462)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago

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