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.

Solutions on the web

via MuleSoft JIRA by Lennart Häggkvist, 1 year ago
via MuleSoft JIRA by Lennart Häggkvist, 2 years ago
via XWiki.org JIRA by Maxime Mathieu, 1 year ago
via Google Groups by Mohit Anchlia, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1932) at java.lang.String.substring(String.java:1905) at org.mule.transport.sftp.SftpClient.createUniqueName(SftpClient.java:535) at org.mule.transport.sftp.SftpClient.duplicateHandling(SftpClient.java:514) at org.mule.transport.sftp.SftpMessageDispatcher.doDispatch(SftpMessageDispatcher.java:144) at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:619)