java.lang.NullPointerException

Jenkins JIRA | Westin Shafer | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    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.SauceEnvironmentUtil.outputWebDriverVariables()
    2. hudson.plugins.sauce_ondemand
      SauceOnDemandBuildWrapper$1.buildEnvVars
      1. hudson.plugins.sauce_ondemand.SauceEnvironmentUtil.outputWebDriverVariables(SauceEnvironmentUtil.java:46)
      2. hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.buildEnvVars(SauceOnDemandBuildWrapper.java:168)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:922)
      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:784)
      5. hudson.model.Build$BuildExecution.build(Build.java:199)
      6. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565)
      8. hudson.model.Run.execute(Run.java:1670)
      9. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      10. hudson.model.ResourceController.execute(ResourceController.java:88)
      11. hudson.model.Executor.run(Executor.java:231)
      11 frames