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 Jenkins JIRA by tomas bohunek, 1 year ago
String index out of range: -1
via Jenkins JIRA by Taylor K, 1 year ago
String index out of range: -1
via jenkins-ci.org by Unknown author, 1 year ago
via Jenkins JIRA by tomas bohunek, 1 year ago
String index out of range: -1
via Jenkins JIRA by Christian Beikov, 1 year ago
String index out of range: -1
via Google Groups by tboh...@gmail.com (JIRA), 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1911)
at hudson.plugins.git.GitChangeSet.isoDateFormat(GitChangeSet.java:179)
at hudson.plugins.git.GitChangeSet.parseCommit(GitChangeSet.java:118)
at hudson.plugins.git.GitChangeSet.(GitChangeSet.java:89)
at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:73)
at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:57)
at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:44)
at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:25)
at hudson.scm.ChangeLogParser.parse(ChangeLogParser.java:57)
at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:924)
at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:892)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:352)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:349)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:675)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:408)

Users with the same issue

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
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
105 more bugmates

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