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

NullPointerException in latest version of SauceLabs plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: sauce-ondemand-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.619
      Sauce OnDemand plugin 1.130
    • Similar Issues:

      Description

      The plugin is unuseable after update:

      Starting pre-build for Sauce Labs plugin
      Starting Sauce Connect on master node using identifier: default
      Launching Sauce Connect on ip-10-197-79-50
      Sauce Connect 4.3.9 now launched for: xyz
      Incremented process count for xyz, now 1
      Finished pre-build for Sauce Labs plugin
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      	at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:367)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944)
      	at hudson.tasks.Ant.perform(Ant.java:144)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.Build$BuildExecution.build(Build.java:205)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:381)

        Attachments

          Activity

          Hide
          orlandosoto Orlando Soto added a comment -

          thanks Ross Rowe!

          Show
          orlandosoto Orlando Soto added a comment - thanks Ross Rowe !
          Hide
          costescuandrei Andrei Costescu added a comment -

          Thanks.

          Show
          costescuandrei Andrei Costescu added a comment - Thanks.
          Hide
          rossrowe Ross Rowe added a comment -

          Apologies for the delay, the issue should be resolved in version 1.133 of the plugin

          Show
          rossrowe Ross Rowe added a comment - Apologies for the delay, the issue should be resolved in version 1.133 of the plugin
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ross Rowe
          Path:
          pom.xml
          http://jenkins-ci.org/commit/sauce-ondemand-plugin/4ba621067e414cf33a33044e1e1d0f9b6841a202
          Log:
          JENKINS-29421 Resolve NullPointerException

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ross Rowe Path: pom.xml http://jenkins-ci.org/commit/sauce-ondemand-plugin/4ba621067e414cf33a33044e1e1d0f9b6841a202 Log: JENKINS-29421 Resolve NullPointerException
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ross Rowe
          Path:
          src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandBuildWrapper.java
          http://jenkins-ci.org/commit/sauce-ondemand-plugin/f0857f521500289159e1fb7bdafd55bf44b08e6d
          Log:
          JENKINS-29421 Resolve NullPointerException

          Compare: https://github.com/jenkinsci/sauce-ondemand-plugin/compare/70ccf29f30c8...f0857f521500

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ross Rowe Path: src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandBuildWrapper.java http://jenkins-ci.org/commit/sauce-ondemand-plugin/f0857f521500289159e1fb7bdafd55bf44b08e6d Log: JENKINS-29421 Resolve NullPointerException Compare: https://github.com/jenkinsci/sauce-ondemand-plugin/compare/70ccf29f30c8...f0857f521500

            People

            Assignee:
            rossrowe Ross Rowe
            Reporter:
            costescuandrei Andrei Costescu
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: