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

xshell: java.lang.NullPointerException from regex after updating to version 0.9

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • xshell-plugin
    • None
    • OS X 10.8.5 and Debian Wheezy and Windows, XShell 0.9, Jenkins 1.509.4 and Jenkins 1.532.1 and Jenkins 1.540

    Description

      I updated Jenkins to 1.540 and XShell to 0.9. Whenever I do a build I get an exception:

      Started by upstream project "MyProject" build number 560
      originally caused by:
      Started by user Kevin Wojniak
      Building on master in workspace <http://127.0.0.1:8080/job/MyProject/myproject=master/ws/>
      Fetching changes from the remote Git repository
      Fetching upstream changes from ssh://user@server/git/MyProject
      Checking out Revision fb1f25fe51ea374f732147c9dd2fef328e1b805c (origin/master)
      Cleaning workspace
      Resetting working tree
      FATAL: null
      java.lang.NullPointerException
      at java.util.regex.Pattern.<init>(Pattern.java:1132)
      at java.util.regex.Pattern.compile(Pattern.java:823)
      at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:122)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      at hudson.model.Build$BuildExecution.build(Build.java:199)
      at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      at hudson.model.Run.execute(Run.java:1679)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)

      If I downgrade to 0.8 it works fine again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kainjow Kevin Wojniak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: