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

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

    Details

    • Similar Issues:

      Description

      I did not see the xshell component listed, so I used `plugin`.

      The command configured in the xshell was very simple: python subdir/some.py

      FATAL: String index out of range: 1
      java.lang.StringIndexOutOfBoundsException: String index out of range: 1
      at java.lang.String.charAt(String.java:686)
      at java.util.regex.Matcher.appendReplacement(Matcher.java:703)
      at java.util.regex.Matcher.replaceAll(Matcher.java:813)
      at java.lang.String.replaceAll(String.java:2189)
      at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:70)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.Build$RunnerImpl.build(Build.java:174)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1273)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)

        Attachments

          Activity

          ssbarnea Sorin Sbarnea created issue -
          mambu Marco Ambu made changes -
          Field Original Value New Value
          Assignee mambu [ mambu ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          mambu Marco Ambu made changes -
          Attachment xshell.hpi [ 19776 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137637 ] JNJira + In-Review [ 187600 ]

            People

            • Assignee:
              mambu Marco Ambu
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: