java.lang.NullPointerException

Jenkins JIRA | jed624 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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)

    Jenkins JIRA | 7 years ago | jed624
    java.lang.NullPointerException
  2. 0

    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)

    Jenkins JIRA | 7 years ago | jed624
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.perforce.PerforceSCM.parseProjectPath()
    2. hudson.plugins.perforce
      PerforceTagNotifier.perform
      1. hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:1340)
      2. hudson.plugins.perforce.PerforceTagAction.tagBuild(PerforceTagAction.java:146)
      3. hudson.plugins.perforce.PerforceTagNotifier.perform(PerforceTagNotifier.java:76)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      7. hudson.model.Run.run(Run.java:1296)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:129)
      10 frames