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

NPE when labeling build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Windows2003, Tomcat 6.0.20, Java 1.6.0_06

      I'm using 1.375 with the latest version of the Perforce plugin. From the logs, I'm not sure what might be misconfigured, but I'm getting it consistently. Just hoping the error might provide clues as to the problem.

      At the end of the build, the label (disk) icon appears next to the build list with the correct value, the build fails on this error. I've tried other simpler labels ${JOB_NAME}, etc. besides the one shown.

      Labelling Build in Perforce using ${JOB_NAME}-b${BUILD_NUMBER}
      ERROR: Publisher hudson.plugins.perforce.PerforceTagNotifier aborted due to exception
      java.lang.NullPointerException
      at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:1340)
      at hudson.plugins.perforce.PerforceTagAction.tagBuild(PerforceTagAction.java:146)
      at hudson.plugins.perforce.PerforceTagNotifier.perform(PerforceTagNotifier.java:76)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1296)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)

            rpetti Rob Petti
            jed624 jed624
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: