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

P4 Plugin Failure around tags?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • p4-plugin
    • Jenkins version 2.67 on Centos 6. Tried P4 Plugin version 1.7 and 1.6

      Upgraded Jenkins and most of the plugins in unrelated work to get pipeline/groovy working. Updated P4 plugin to latest and got below error. Read the bug reports and rolled it back to 1.6. Still getting this error.

      Strangely, in one of the builds, it appears to have pulled all the files out of Perforce and barfed at the end. In another, it just would not start.

      P4 Task: saving built changes.
      FATAL: null
      java.lang.NullPointerException
      at org.jenkinsci.plugins.p4.tagging.TagAction.getLastChange(TagAction.java:205)
      at org.jenkinsci.plugins.p4.PerforceScm.calculateChanges(PerforceScm.java:476)
      at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:434)
      at hudson.scm.SCM.checkout(SCM.java:495)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1212)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
      at hudson.model.Run.execute(Run.java:1735)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:415)
      Finished: FAILURE

            Unassigned Unassigned
            elaine_richards_symantec Elaine Richards
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: