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

Solutions on the web

via lucene-solr-user by Robin Wojciki, 1 year ago
via lucene-solr-user by Robin Wojciki, 1 year ago
via GitHub by noahwh
, 1 year ago
via Stack Overflow by arch
, 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.replace(AbstractStringBuilder.java:824)
at java.lang.StringBuilder.replace(StringBuilder.java:262)
at de.codecentric.boot.admin.web.servlet.resource.ConcatenatingResourceResolver.buildDescription(ConcatenatingResourceResolver.java:93)
at de.codecentric.boot.admin.web.servlet.resource.ConcatenatingResourceResolver.resolveResourceInternal(ConcatenatingResourceResolver.java:54)
at org.springframework.web.servlet.resource.AbstractResourceResolver.resolveResource(AbstractResourceResolver.java:46)
at de.codecentric.boot.admin.web.servlet.resource.ResourcePatternResolvingResourceResolver.resolveResourceInternal(ResourcePatternResolvingResourceResolver.java:53)

Users with the same issue

21 times, 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

Write tip

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