Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8323

string index out of bounds

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at java.lang.String.substring(Unknown Source)
      at hudson.plugins.lockedfilesreport.FindFilesInUseWithHandle.parseOutput(FindFilesInUseWithHandle.java:38)
      at hudson.plugins.lockedfilesreport.LockedFilesReporter$GetUsedFiles.invoke(LockedFilesReporter.java:115)
      at hudson.plugins.lockedfilesreport.LockedFilesReporter$GetUsedFiles.invoke(LockedFilesReporter.java:98)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
      at hudson.remoting.UserRequest.perform(UserRequest.java:114)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:58)
      at java.lang.Thread.run(Unknown Source)

      This has only happened once, but it is happening consistently on one job.

        Attachments

          Activity

          Hide
          redsolo redsolo added a comment -

          Could you attach a copy of the output of the command so I can see whats going wrong? I dont remember if the tool copies the tool output to the console.
          If the tools output is not shown in the console, could you perhaps run the command from a terminal?

          Without the tools output I can tell why the parsing failed.

          Show
          redsolo redsolo added a comment - Could you attach a copy of the output of the command so I can see whats going wrong? I dont remember if the tool copies the tool output to the console. If the tools output is not shown in the console, could you perhaps run the command from a terminal? Without the tools output I can tell why the parsing failed.
          Hide
          redsolo redsolo added a comment -

          BTW, what os is this?

          Show
          redsolo redsolo added a comment - BTW, what os is this?
          Hide
          bnovc bnovc added a comment -

          Windows XP
          It doesn't have the output in the Window. I can run it now and hope its the same. What's your email address; I'll send you it.

          Show
          bnovc bnovc added a comment - Windows XP It doesn't have the output in the Window. I can run it now and hope its the same. What's your email address; I'll send you it.
          Hide
          redsolo redsolo added a comment -

          Ive fixed the issue but I cant release a new version because there are some migration issues at the java.net website. i will release as soon as the migration is done.

          If you want to try the latest snapshot release you can get it here: http://ci.hudson-labs.org/job/plugins_locked-files-report/org.jvnet.hudson.plugins$locked-files-report/

          Show
          redsolo redsolo added a comment - Ive fixed the issue but I cant release a new version because there are some migration issues at the java.net website. i will release as soon as the migration is done. If you want to try the latest snapshot release you can get it here: http://ci.hudson-labs.org/job/plugins_locked-files-report/org.jvnet.hudson.plugins$locked-files-report/
          Hide
          bnovc bnovc added a comment -

          That's alright, I can wait. Thanks a lot for looking into this.

          Show
          bnovc bnovc added a comment - That's alright, I can wait. Thanks a lot for looking into this.
          Hide
          redsolo redsolo added a comment -

          This issue was resolved in version 1.3 that was released in january.

          Show
          redsolo redsolo added a comment - This issue was resolved in version 1.3 that was released in january.

            People

            Assignee:
            redsolo redsolo
            Reporter:
            bnovc bnovc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: