java.lang.NullPointerException

Jenkins JIRA | Nick Guilford | 3 years ago
  1. 0

    I recently upgraded from v1.61 to v1.75 of Sauce OnDemand plugin for Jenkins v1.524. After doing so, all jobs using the plug-in encounter Null Pointer Exception when launching sauce-connect. Job/SlaveDetails: - Sauce connect launched on slave - Slave had already been created and running jobs with Sauce Connect before the plug-in update - Configured to use web driver - Uses default sauce connect credentials (i.e. those set up in the master plug-in configuration) - Bringing the slave offline, restarting it, and bringing it back online did not solve the problem Plug-in Configuration Details: - "Sauce Connect Working Directory" field blank - "Disable Sauce Status Column?" unchecked - "Use authentication details in ~/.sauce-ondemand?" unchecked - Test Connection returns success Log: Starting Sauce OnDemand SSH tunnel on slave node Launching Sauce Connect on ... FATAL: null java.lang.NullPointerException at hudson.plugins.sauce_ondemand.PluginImpl.get(PluginImpl.java:116) at com.saucelabs.hudson.HudsonSauceConnectFourManager.getSauceConnectWorkingDirectory(HudsonSauceConnectFourManager.java:14) at com.saucelabs.ci.sauceconnect.SauceConnectFourManager.createProcessBuilder(SauceConnectFourManager.java:89) at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:172) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:542) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:517) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    Jenkins JIRA | 3 years ago | Nick Guilford
    java.lang.NullPointerException
  2. 0

    I recently upgraded from v1.61 to v1.75 of Sauce OnDemand plugin for Jenkins v1.524. After doing so, all jobs using the plug-in encounter Null Pointer Exception when launching sauce-connect. Job/SlaveDetails: - Sauce connect launched on slave - Slave had already been created and running jobs with Sauce Connect before the plug-in update - Configured to use web driver - Uses default sauce connect credentials (i.e. those set up in the master plug-in configuration) - Bringing the slave offline, restarting it, and bringing it back online did not solve the problem Plug-in Configuration Details: - "Sauce Connect Working Directory" field blank - "Disable Sauce Status Column?" unchecked - "Use authentication details in ~/.sauce-ondemand?" unchecked - Test Connection returns success Log: Starting Sauce OnDemand SSH tunnel on slave node Launching Sauce Connect on ... FATAL: null java.lang.NullPointerException at hudson.plugins.sauce_ondemand.PluginImpl.get(PluginImpl.java:116) at com.saucelabs.hudson.HudsonSauceConnectFourManager.getSauceConnectWorkingDirectory(HudsonSauceConnectFourManager.java:14) at com.saucelabs.ci.sauceconnect.SauceConnectFourManager.createProcessBuilder(SauceConnectFourManager.java:89) at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:172) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:542) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:517) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    Jenkins JIRA | 3 years ago | Nick Guilford
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. 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.PluginImpl.get()
    2. hudson.plugins.sauce_ondemand
      PluginImpl.get
      1. hudson.plugins.sauce_ondemand.PluginImpl.get(PluginImpl.java:116)
      1 frame
    3. com.saucelabs.hudson
      HudsonSauceConnectFourManager.getSauceConnectWorkingDirectory
      1. com.saucelabs.hudson.HudsonSauceConnectFourManager.getSauceConnectWorkingDirectory(HudsonSauceConnectFourManager.java:14)
      1 frame
    4. com.saucelabs.ci
      AbstractSauceTunnelManager.openConnection
      1. com.saucelabs.ci.sauceconnect.SauceConnectFourManager.createProcessBuilder(SauceConnectFourManager.java:89)
      2. com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:172)
      2 frames
    5. hudson.plugins.sauce_ondemand
      SauceOnDemandBuildWrapper$SauceConnectStarter.call
      1. hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:542)
      2. hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectStarter.call(SauceOnDemandBuildWrapper.java:517)
      2 frames
    6. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:636)
      5 frames