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

Jenkins V1.489 ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@17a7476[ProjName] java.lang.StringIndexOutOfBoundsException: String index out of range: -1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • tfs-plugin
    • None
    • Jenkins is running on Windows Server 2008 R2 Enterprise 64 bit machine. Jenkins Version is 1.489

      [Dev] $ "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" history $/<TFS> -noprompt -version:D2012-11-16T12:57:17Z~D2012-11-16T13:11:00Z -recursive -format:detailed -server:http://[myserver]/tfs ********
      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@17a7476[ProjName]
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at hudson.Launcher.inherit(Launcher.java:1068)
      at hudson.Launcher.access$100(Launcher.java:80)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:756)
      at hudson.Launcher$2.launch(Launcher.java:723)
      at hudson.Launcher$ProcStarter.start(Launcher.java:346)
      at hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
      at hudson.plugins.tfs.model.Server.execute(Server.java:47)
      at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:42)
      at hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.java:207)
      at hudson.scm.SCM.poll(SCM.java:375)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1471)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1404)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      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 java.lang.Thread.run(Unknown Source)

            redsolo redsolo
            rc1971 Ray Cuadra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: