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

,
via GitHub by Omertron

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

,
Expert tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Solutions on the web

via Atlassian JIRA by Mai Nakagawa [Atlassian], 1 year ago
String index out of range: -1
via Atlassian JIRA by Mai Nakagawa [Atlassian], 1 year ago
String index out of range: -1
via Atlassian JIRA by Mai Nakagawa [Atlassian], 1 year ago
String index out of range: -1
via Eclipse Bugzilla by joakim.erdfelt, 1 year ago
via kafka-users by Zakee, 1 year ago
String index out of range: -1
via Google Groups by Francesco Dipalo, 1 month ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1955)
at com.atlassian.bonnie.search.summary.Summarizer.getSummary(Summarizer.java:164)
at com.atlassian.confluence.util.GeneralUtil.makeSummary(GeneralUtil.java:1733)
at com.atlassian.confluence.util.GeneralUtil.makeFlatSummary(GeneralUtil.java:1769)
at com.atlassian.confluence.rpc.soap.beans.RemoteSearchResult.(RemoteSearchResult.java:38)
at com.atlassian.confluence.rpc.soap.services.PagesSoapService.search(PagesSoapService.java:431)
at com.atlassian.confluence.rpc.soap.XhtmlSoapService.search(XhtmlSoapService.java:535)
at sun.reflect.GeneratedMethodAccessor848.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.sun.proxy.$Proxy1329.search(Unknown Source)
at com.atlassian.confluence.rpc.xmlrpc.ConfluenceXmlRpcHandlerImpl.search(ConfluenceXmlRpcHandlerImpl.java:485)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 week ago
4803 times, 1 week ago
2 times, 1 month ago
3 times, 2 months ago

Write tip

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