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

MuleSoft JIRA | Lennart Häggkvist | 7 years ago
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
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
    1. java.lang.String.substring(
    2. java.lang.String.substring(
    2 frames
  3. org.mule.transport
    1. org.mule.transport.sftp.SftpClient.createUniqueName(
    2. org.mule.transport.sftp.SftpClient.duplicateHandling(
    3. org.mule.transport.sftp.SftpMessageDispatcher.doDispatch(
    3 frames
  4. Mule Core
    1. org.mule.transport.AbstractMessageDispatcher$
    2 frames
  5. Backport of JSR 166
    2 frames
  6. Java RT
    1 frame