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 Coderanch by Teena Mariam, 1 year ago
Error deploying artifact: Failed to transfer file: http://snapshots.jboss.org/maven2/com.mycompany.app/jars/my-app-1.0-20091014.091039-1.jar. Re turn code is: 405
via maven-wagon-users by droidin.net, 1 year ago
Error deploying artifact: Failed to transfer file: http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar. Return code is: 409
via maven-wagon-users by droidin.net, 1 year ago
Error deploying artifact: Failed to transfer file: http://continuum.td.foo.com/svn_repos/maven/snapshots/foo/engtools/pte/pte-web/1.0-SNAPSHOT/pte-web-1.0-SNAPSHOT.jar. Return code is: 409
via Sonatype JIRA by Oleg Tsvinev, 1 year ago
Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.String.substring(String.java:1937)	at org.springframework.aws.maven.SimpleStorageServiceWagon.getDestinationPath(SimpleStorageServiceWagon.java:191)	at org.springframework.aws.maven.SimpleStorageServiceWagon.putResource(SimpleStorageServiceWagon.java:150)	at org.springframework.aws.maven.AbstractWagon.put(AbstractWagon.java:262)	at org.apache.felix.obrplugin.RemoteFileManager.put(RemoteFileManager.java:216)	at org.apache.felix.obrplugin.RemoteFileManager.lockFile(RemoteFileManager.java:294)	at org.apache.felix.obrplugin.ObrDeploy.execute(ObrDeploy.java:214)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)