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

Jenkins JIRA | Sorin Sbarnea | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JENKINS-7538] xshell: java.lang.StringIndexOutOfBoundsException: String index out of range: 1 - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    jberkel/android-app fails with java.lang.StringIndexOutOfBoundsException: String index out of range: 1

    GitHub | 5 years ago | glenviewjeff
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
  4. 0

    codegen fails on Windows

    GitHub | 4 years ago | radius314
    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.charAt()
    2. Java RT
      String.replaceAll
      1. java.lang.String.charAt(String.java:686)
      2. java.util.regex.Matcher.appendReplacement(Matcher.java:703)
      3. java.util.regex.Matcher.replaceAll(Matcher.java:813)
      4. java.lang.String.replaceAll(String.java:2189)
      4 frames
    3. hudson.plugins.xshell
      XShellBuilder.perform
      1. hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:70)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.Build$RunnerImpl.build(Build.java:174)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      6. hudson.model.Run.run(Run.java:1273)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:129)
      9 frames