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

  1. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

  2. ,
    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"

Solutions on the web

via XWiki.org JIRA by CalebJamesDeLisle, 1 year ago
via Oracle Community by 358239, 2 years ago
String index out of range: -1
via XWiki.org JIRA by Maxime Mathieu, 1 year ago
via Eclipse Bugzilla by eclipse.sprigogin, 2 years ago
via Google Groups by Ian Boston (JIRA), 11 months ago
via MuleSoft JIRA by Lennart Häggkvist, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.String.substring(String.java:1932)	at java.lang.String.substring(String.java:1905)	at com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:167)	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:105)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)	at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)	at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)	at org.mortbay.jetty.Server.handle(Server.java:285)	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)