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

Jenkins JIRA | Ray Cuadra | 4 years ago
  1. 0

    [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)

    Jenkins JIRA | 4 years ago | Ray Cuadra
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  2. 0

    [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)

    Jenkins JIRA | 4 years ago | Ray Cuadra
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  3. 0

    Error at startup when scanning players

    GitHub | 3 years ago | LemADEC
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FTB Ultimate Server.. Crashing when opening iventory..

    GitHub | 4 years ago | JBrondum
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  6. 0

    StringIndexOutOfBoundsException > PlayerTracker.onPlayerLogin

    GitHub | 2 years ago | Selbie
    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 3 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(Unknown Source)
    1 frame
  3. Hudson
    Launcher$ProcStarter.start
    1. hudson.Launcher.inherit(Launcher.java:1068)
    2. hudson.Launcher.access$100(Launcher.java:80)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:756)
    4. hudson.Launcher$2.launch(Launcher.java:723)
    5. hudson.Launcher$ProcStarter.start(Launcher.java:346)
    5 frames
  4. hudson.plugins.tfs
    TeamFoundationServerScm.pollChanges
    1. hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
    2. hudson.plugins.tfs.model.Server.execute(Server.java:47)
    3. hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:42)
    4. hudson.plugins.tfs.TeamFoundationServerScm.pollChanges(TeamFoundationServerScm.java:207)
    4 frames
  5. Hudson
    SequentialExecutionQueue$QueueEntry.run
    1. hudson.scm.SCM.poll(SCM.java:375)
    2. hudson.model.AbstractProject._poll(AbstractProject.java:1471)
    3. hudson.model.AbstractProject.poll(AbstractProject.java:1404)
    4. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
    5. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
    6. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
    6 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    6. java.lang.Thread.run(Unknown Source)
    6 frames