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

Jenkins JIRA | bnovc | 6 years ago
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug tip
    This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround:
  4. 0

    [Improvement] Tolerate wrong Responses asking for collections

    GitHub | 4 years ago | dkocher
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
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(Unknown Source)
    2. java.lang.String.substring(Unknown Source)
    2 frames
  3. hudson.plugins.lockedfilesreport
    1. hudson.plugins.lockedfilesreport.FindFilesInUseWithHandle.parseOutput(
    2. hudson.plugins.lockedfilesreport.LockedFilesReporter$GetUsedFiles.invoke(
    3. hudson.plugins.lockedfilesreport.LockedFilesReporter$GetUsedFiles.invoke(
    3 frames
  4. Hudson
    1. hudson.FilePath$
    1 frame
  5. Hudson :: Remoting Layer
    1. hudson.remoting.UserRequest.perform(
    2. hudson.remoting.UserRequest.perform(
    3. hudson.remoting.Request$
    3 frames
  6. Java RT
    1. java.util.concurrent.Executors$ Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$ Source)
    5 frames
  7. Hudson :: Remoting Layer
    1. hudson.remoting.Engine$1$
    1 frame
  8. Java RT
    1. Source)
    1 frame