java.lang.StringIndexOutOfBoundsException

String index out of range: -1

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21

Stack trace

  • 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 org.springframework.web.servlet.resource.DefaultResourceResolverChain.resolveResource(DefaultResourceResolverChain.java:57) at de.codecentric.boot.admin.web.servlet.resource.ResourcePatternResolvingResourceResolver.resolveResourceInternal(ResourcePatternResolvingResourceResolver.java:53) at org.springframework.web.servlet.resource.AbstractResourceResolver.resolveResource(AbstractResourceResolver.java:46)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
nasimknasimk
21 times, last one
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,