java.lang.NullPointerException

Jenkins JIRA | Grant Limberg | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I'm attempting to set up a matrix build of a single project with 7 different platforms/OSes. 3 of them (one Windows 7/VS2010 box, one Mac OS 10.9 box, and an Ubuntu 12.10 box) are working fine (aside from a line ending issue). The other four, WinXP/VS2005, Win7/VS2012, CentOS5, and CentOS6 all have the same error when a build is triggered. The p4 plugin is set to use streams. Slave Build Log Output: 17:10:18 Started by upstream project "GPUSDK" build number 10 17:10:18 originally caused by: 17:10:18 Started by user Grant Limberg 17:10:18 [EnvInject] - Loading node environment variables. 17:10:18 Building remotely on TheHobbit (linux) in workspace /home/jenkins-builds/workspace/GPUSDK/Node/TheHobbit 17:10:19 Unable to update workspace: java.lang.NullPointerException 17:10:19 Successfully triggered JIRA to update builds of this job 17:10:19 [ci-game] evaluating rule: Build result 17:10:19 [ci-game] evaluating rule: Increased number of passed tests 17:10:19 [ci-game] evaluating rule: Decreased number of passed tests 17:10:19 [ci-game] evaluating rule: Increased number of failed tests 17:10:19 [ci-game] evaluating rule: Decreased number of failed tests 17:10:19 [ci-game] evaluating rule: Increased number of skipped tests 17:10:19 [ci-game] evaluating rule: Decreased number of skipped tests 17:10:19 [ci-game] evaluating rule: Changed number of compiler warnings 17:10:19 Finished: FAILURE Stack Trace on Slave: Jul 29, 2014 5:10:24 PM org.jenkinsci.plugins.p4.CheckoutTask invoke SEVERE: Unable to update workspace: java.lang.NullPointerException java.lang.NullPointerException at org.jenkinsci.plugins.p4.client.ClientHelper.tidyWorkspace(ClientHelper.java:207) at org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:121) at org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:20) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)

    Jenkins JIRA | 3 years ago | Grant Limberg
    java.lang.NullPointerException
  2. 0

    I'm attempting to set up a matrix build of a single project with 7 different platforms/OSes. 3 of them (one Windows 7/VS2010 box, one Mac OS 10.9 box, and an Ubuntu 12.10 box) are working fine (aside from a line ending issue). The other four, WinXP/VS2005, Win7/VS2012, CentOS5, and CentOS6 all have the same error when a build is triggered. The p4 plugin is set to use streams. Slave Build Log Output: 17:10:18 Started by upstream project "GPUSDK" build number 10 17:10:18 originally caused by: 17:10:18 Started by user Grant Limberg 17:10:18 [EnvInject] - Loading node environment variables. 17:10:18 Building remotely on TheHobbit (linux) in workspace /home/jenkins-builds/workspace/GPUSDK/Node/TheHobbit 17:10:19 Unable to update workspace: java.lang.NullPointerException 17:10:19 Successfully triggered JIRA to update builds of this job 17:10:19 [ci-game] evaluating rule: Build result 17:10:19 [ci-game] evaluating rule: Increased number of passed tests 17:10:19 [ci-game] evaluating rule: Decreased number of passed tests 17:10:19 [ci-game] evaluating rule: Increased number of failed tests 17:10:19 [ci-game] evaluating rule: Decreased number of failed tests 17:10:19 [ci-game] evaluating rule: Increased number of skipped tests 17:10:19 [ci-game] evaluating rule: Decreased number of skipped tests 17:10:19 [ci-game] evaluating rule: Changed number of compiler warnings 17:10:19 Finished: FAILURE Stack Trace on Slave: Jul 29, 2014 5:10:24 PM org.jenkinsci.plugins.p4.CheckoutTask invoke SEVERE: Unable to update workspace: java.lang.NullPointerException java.lang.NullPointerException at org.jenkinsci.plugins.p4.client.ClientHelper.tidyWorkspace(ClientHelper.java:207) at org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:121) at org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:20) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)

    Jenkins JIRA | 3 years ago | Grant Limberg
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jenkinsci.plugins.p4.client.ClientHelper.tidyWorkspace()
    2. org.jenkinsci.plugins
      CheckoutTask.invoke
      1. org.jenkinsci.plugins.p4.client.ClientHelper.tidyWorkspace(ClientHelper.java:207)
      2. org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:121)
      3. org.jenkinsci.plugins.p4.CheckoutTask.invoke(CheckoutTask.java:20)
      3 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492)
      1 frame
    4. 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:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. 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:1146)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:701)
      5 frames