Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24027

Null Pointer Exception when trying to update workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Plugin Version 1.0.7
      Jenkins Version: 1.574

      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)

            p4paul Paul Allen
            glimberg Grant Limberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: