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 Jenkins JIRA by dsheth, 1 year ago
via Jenkins JIRA by dsheth, 1 year ago
via YouTrack by Unknown author, 2 years ago
via JIRA by Michael Offner, 2 years ago
String index out of range: -1
via Oracle Community by A. KAVYA KUMARI, 1 year ago
via Atlassian JIRA by Ajay Sridhar [Atlassian], 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.String.substring(String.java:1938)	at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:122)	at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)	at org.apache.tools.ant.Project.setAntLib(Project.java:313)	at org.apache.tools.ant.Project.initProperties(Project.java:309)	at org.apache.tools.ant.Project.init(Project.java:295)	at org.codehaus.cargo.util.AntUtils.createProject(AntUtils.java:149)	at org.codehaus.cargo.util.AntUtils.(AntUtils.java:55)	at org.codehaus.cargo.util.DefaultFileHandler.(DefaultFileHandler.java:75)