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

MuleSoft JIRA | Lennart Häggkvist | 7 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    db:: 3.20::Getting java.lang.IndexOutOfBoundsException: Index: 0, Size: 0. fc

    hivmr.com | 6 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

  1. archenroot 17 times, last 1 week ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 4 weeks ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1932)
    2. java.lang.String.substring(String.java:1905)
    2 frames
  3. org.mule.transport
    SftpMessageDispatcher.doDispatch
    1. org.mule.transport.sftp.SftpClient.createUniqueName(SftpClient.java:535)
    2. org.mule.transport.sftp.SftpClient.duplicateHandling(SftpClient.java:514)
    3. org.mule.transport.sftp.SftpMessageDispatcher.doDispatch(SftpMessageDispatcher.java:144)
    3 frames
  4. Mule Core
    WorkerContext.run
    1. org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:262)
    2. org.mule.work.WorkerContext.run(WorkerContext.java:310)
    2 frames
  5. Backport of JSR 166
    ThreadPoolExecutor$Worker.run
    1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
    2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
    2 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame