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

AccuRev: show one stream at the time throws NPE with workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • accurev-plugin
    • None

      Issues occurs constantly!

      Environment:

      • master: Jenkins v1.424, Mac OS 10.7.1, AccuRev 4.9.1, AccuRev plugin v0.6.18, JDK 1.6.0_26
      • slave: connected via JNLP, Windows 2008 R2, JRE1.6.0_23_x64, AccuRev 4.9.1
      • AccuRev settings: Polling set to be on master, show one stream at the time, synch accurev, minimize login, use non-expiring login
      • job settings: use workspace, set ONE subpath
      Started by user xxx
      ?????????? ???????? ?? slave_xxx
      Purging workspace...
      Workspace purged.
      Setting ACCUREV_HOME to "C:\Builds"
      [job_xxx] $ accurev.exe info -H xxx:5050
      Currently authenticated with Accurev server as 'user_xxx', not logging in again.
      Getting a list of streams...
      [job_xxx] $ accurev.exe show -H xxx:5050 -fx -p depot_xxx -s stream_jkl streams
      [job_xxx] $ accurev.exe show -H xxx:5050 -fx -p depot_xxx -s stream_ghi streams
      [job_xxx] $ accurev.exe show -H xxx:5050 -fx -p depot_xxx -s stream_def streams
      [job_xxx] $ accurev.exe show -H xxx:5050 -fx -p depot_xxx -s stream_abc streams
      Getting a list of workspaces...
      [job_xxx] $ accurev.exe show -H xxx:5050 -fx -p depot_xxx wspaces
      FATAL: null
      java.lang.NullPointerException
      	at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:421)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443)
      	at hudson.model.Run.run(Run.java:1376)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:175)
      

      Disabling "Show one stream at a time" at the master AccuRev-plugin solved the issue.

            jetersen Joseph Petersen
            robsimon robsimon
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: