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

build failse with nullpointer exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Platform: All, OS: All

      I'm trying to set up a new Perforce based project (using Perforce plugin version
      1.0.3-SNAPSHOT) but it fails on first synchronization with a NullPointerException:

      started
      Performing sync with Perforce for:
      //depot/IP_DEPOT/main/Construction/IP-Functions/ip-functions/...
      Changing P4 Client Root to: C:\Documents and
      Settings\LocalService\.hudson\jobs\IP functions\workspace\
      Changing P4 Client View to:
      //depot/IP_DEPOT/main/Construction/IP-Functions/ip-functions/...
      //bjacobse_hudson/...
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceSCM.getLastChange(PerforceSCM.java:281)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:186)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:529)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189)
      at hudson.model.Run.run(Run.java:601)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:62)

            digerata digerata
            bjacobse bjacobse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: