java.lang.NullPointerException

Jenkins JIRA | Andrei Costescu | 1 year ago
  1. 0

    {code} 10:20:34 Launching Sauce Connect [/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java, -cp, /var/lib/jenkins/plugins/sauce-ondemand/WEB-INF/lib/sauce-connect-3.0.18.jar, com.saucelabs.sauceconnect.SauceConnect, jenkins, REDACTED, -P, 4445] 10:20:56 Sauce Connect now launched 10:20:56 Incremented process count for jenkins, now1 10:20:56 Shutting down Sauce Connect SSH tunnels 10:20:56 Decremented process count for jenkins, now 0 10:20:56 Flushing Sauce Connect Input Stream 10:20:56 Flushing Sauce Connect Error Stream 10:20:56 Closing Sauce Connect process 10:20:56 Sauce Connect closed 10:20:56 FATAL: null 10:20:56 java.lang.NullPointerException 10:20:56 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.outputEnvironmentVariablesForBrowser(SauceOnDemandBuildWrapper.java:197) 10:20:56 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.outputWebDriverVariables(SauceOnDemandBuildWrapper.java:207) 10:20:56 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:155) 10:20:56 at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:945) 10:20:56 at hudson.plugins.parameterizedtrigger.TriggerBuilder.perform(TriggerBuilder.java:89) 10:20:56 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 10:20:56 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810) 10:20:56 at hudson.model.Build$BuildExecution.build(Build.java:199) 10:20:56 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 10:20:56 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:592) 10:20:56 at hudson.model.Run.execute(Run.java:1557) 10:20:56 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 10:20:56 at hudson.model.ResourceController.execute(ResourceController.java:88) 10:20:56 at hudson.model.Executor.run(Executor.java:236) {code}

    Jenkins JIRA | 4 years ago | R. Tyler Croy
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars()
    2. hudson.plugins.sauce_ondemand
      SauceOnDemandBuildWrapper$1.buildEnvVars
      1. hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:367)
      1 frame
    3. Hudson
      ResourceController.execute
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:944)
      2. hudson.tasks.Ant.perform(Ant.java:144)
      3. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      5. hudson.model.Build$BuildExecution.build(Build.java:205)
      6. hudson.model.Build$BuildExecution.doRun(Build.java:162)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      8. hudson.model.Run.execute(Run.java:1741)
      9. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      10. hudson.model.ResourceController.execute(ResourceController.java:98)
      10 frames