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

          costescuandrei Andrei Costescu created issue -
          costescuandrei Andrei Costescu made changes -
          Field Original Value New Value
          Environment Jenkins 1.619

          Sauce OnDemand plugin 1.130
          costescuandrei Andrei Costescu made changes -
          Environment Jenkins 1.619

          Sauce OnDemand plugin 1.130
          Jenkins 1.619
          Sauce OnDemand plugin 1.130
          costescuandrei Andrei Costescu made changes -
          Description The plugin is unuseable:

          {noformat}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: jblok
          Incremented process count for jblok, 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){noformat}
          The plugin is unuseable:

          {noformat}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){noformat}
          costescuandrei Andrei Costescu made changes -
          Description The plugin is unuseable:

          {noformat}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){noformat}
          The plugin is unuseable after update:

          {noformat}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){noformat}
          rossrowe Ross Rowe made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          rossrowe Ross Rowe made changes -
          Assignee Kohsuke Kawaguchi [ kohsuke ] Ross Rowe [ rossrowe ]
          rossrowe Ross Rowe made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 164296 ] JNJira + In-Review [ 197473 ]

            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: