java.lang.NullPointerException

Jenkins JIRA | Cody Lee | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Similar NPE on all of our jobs using build name setter: ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:41) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) project=hudson.maven.MavenModuleSet@19c9e8a[player-services-test] project.getModules()=[hudson.maven.MavenModule@1209012[player-services-test/com.sonos.services:player-services-test][player-services-test/com.sonos.services:player-services-test][relativePath:], hudson.maven.MavenModule@23fe5f[player-services-test/com.sonos.services:sonos-test][player-services-test/com.sonos.services:sonos-test][relativePath:sonos-test], hudson.maven.MavenModule@89efd9[player-services-test/com.sonos.services:sonos-test-dependencies][player-services-test/com.sonos.services:sonos-test-dependencies][relativePath:sonos-test-dependencies]] project.getRootModule()=hudson.maven.MavenModule@1209012[player-services-test/com.sonos.services:player-services-test][player-services-test/com.sonos.services:player-services-test][relativePath:] FATAL: null java.lang.NullPointerException at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:41) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build Name: #${BUILD_NUMBER}-${ENV,var="STREAM"}

    Jenkins JIRA | 11 months ago | Cody Lee
    java.lang.NullPointerException
  2. 0

    Similar NPE on all of our jobs using build name setter: ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.NullPointerException at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:41) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) project=hudson.maven.MavenModuleSet@19c9e8a[player-services-test] project.getModules()=[hudson.maven.MavenModule@1209012[player-services-test/com.sonos.services:player-services-test][player-services-test/com.sonos.services:player-services-test][relativePath:], hudson.maven.MavenModule@23fe5f[player-services-test/com.sonos.services:sonos-test][player-services-test/com.sonos.services:sonos-test][relativePath:sonos-test], hudson.maven.MavenModule@89efd9[player-services-test/com.sonos.services:sonos-test-dependencies][player-services-test/com.sonos.services:sonos-test-dependencies][relativePath:sonos-test-dependencies]] project.getRootModule()=hudson.maven.MavenModule@1209012[player-services-test/com.sonos.services:player-services-test][player-services-test/com.sonos.services:player-services-test][relativePath:] FATAL: null java.lang.NullPointerException at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:41) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build Name: #${BUILD_NUMBER}-${ENV,var="STREAM"}

    Jenkins JIRA | 11 months ago | Cody Lee
    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 org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp()
    2. org.jenkinsci.plugins
      BuildNameSetter.setUp
      1. org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setUp(BuildNameSetter.java:41)
      1 frame
    3. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
      1 frame
    4. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      2. hudson.model.Run.execute(Run.java:1738)
      2 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames