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 GitHub by Ashwinsai
, 1 year ago
Failed to execute goal com.qualinsight.mojo.cobertura:qualinsight-mojo-cobertura-core:1.1.0:report-it-coverage (default-cli) on project XStreamCommunicator: Execution default-cli of goal com.qualinsight.mojo.cobertura:qualinsight-mojo-cobertura-core:1.1.0:report-it-coverage failed: String index out of range: -33
via JIRA by Viktor Hedefalk, 2 years ago
Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.0:deploy (default-cli) on project dfkka: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.0:deploy failed: Failed to deploy [/Users/viktor/dev/projects/dfkka/target/dfkka-0.5-SNAPSHOT.war]
via JIRA by Viktor Hedefalk, 1 year ago
Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.0:deploy (default-cli) on project dfkka: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.0:deploy failed: Failed to deploy [/Users/viktor/dev/projects/dfkka/target/dfkka-0.5-SNAPSHOT.war]
via Stack Overflow by Jan Vladimir Mostert
, 1 year ago
Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsimport (default-cli) on project mycee-project: Execution default-cli of goal org.jvnet.jax-ws-c ommons:jaxws-maven-plugin:2.3:wsimport failed: String index out of range: -1
via GitHub by valekask
, 1 year ago
Failed to execute goal com.indeed:proctor-maven-plugin:1.0.0:generate (default-cli) on project proctor-demo: Execution default-cli of goal com.indeed:proctor-maven-plugin:1.0.0:generate failed: String index out of range: 1
via Google Groups by George Stathis, 10 months ago
Failed to execute goal com.atlassian.maven.plugins:maven-jgitflow-plugin:1.0-alpha20:feature-start (default-cli) on project traackr-modules: Execution default-cli of goal com.atlassian.maven.plugins:maven-jgitflow-plugin:1.0-alpha20:feature-start failed: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -33	at java.lang.String.substring(String.java:1931)	at com.qualinsight.mojo.cobertura.core.AbstractReportMojo.convertReport(AbstractReportMojo.java:103)	at com.qualinsight.mojo.cobertura.core.AbstractReportMojo.convertToSonarQubeReport(AbstractReportMojo.java:90)	at com.qualinsight.mojo.cobertura.core.AbstractCleaningReportMojo.execute(AbstractCleaningReportMojo.java:54)	at com.qualinsight.mojo.cobertura.core.ITCoverageReportMojo.execute(ITCoverageReportMojo.java:31)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)