java.lang.StringIndexOutOfBoundsException: String index out of range: -31

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 Andrea Wong, 1 year ago
via Jenkins JIRA by Andrea Wong, 1 year ago
via GitHub by meisterluk
, 11 months ago
String index out of range: -1
via Stack Overflow by shailbenq
, 7 months ago
String index out of range: -1
via oracle.com by Unknown author, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -31
at java.lang.String.substring(String.java:1911)
at com.elasticbox.Client.getSchemaVersion(Client.java:107)
at com.elasticbox.Client.deploy(Client.java:640)
at com.elasticbox.jenkins.builders.DeployBox.deploy(DeployBox.java:174)
at com.elasticbox.jenkins.builders.DeployBox.doPerform(DeployBox.java:290)
at com.elasticbox.jenkins.builders.DeployBox.perform(DeployBox.java:330)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
at hudson.model.Run.execute(Run.java:1744)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)

Users with the same issue

Once, 2 weeks ago
8 times, 5 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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