java.lang.NullPointerException

Jenkins JIRA | Dave hopkins | 1 year 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

    Let me first just say I've read JENKINS-28186 and it appears unrelated. When trying to setup a new job the Packer Installation dropdown menu is completely blank. There doesn't appear to be anything I can tweak or configure so unsure what to try? I noticed these errors in the main sys log but this was after trying to run a job having no installation set so these errors may be unhelpful/expected: {code:java} Sep 24, 2015 6:44:59 PM SEVERE biz.neustar.jenkins.plugins.packer.PackerPublisher getRemotePackerExec java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:216) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:290) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Sep 24, 2015 6:44:59 PM SEVERE biz.neustar.jenkins.plugins.packer.PackerPublisher perform java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getName(PackerPublisher.java:83) at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:222) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:290) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) {code} Jenkins ver. 1.628 Packer plugin: 1.2 java.specification.version 1.7

    Jenkins JIRA | 1 year ago | Dave hopkins
    java.lang.NullPointerException
  2. 0

    Let me first just say I've read JENKINS-28186 and it appears unrelated. When trying to setup a new job the Packer Installation dropdown menu is completely blank. There doesn't appear to be anything I can tweak or configure so unsure what to try? I noticed these errors in the main sys log but this was after trying to run a job having no installation set so these errors may be unhelpful/expected: {code:java} Sep 24, 2015 6:44:59 PM SEVERE biz.neustar.jenkins.plugins.packer.PackerPublisher getRemotePackerExec java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:216) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:290) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Sep 24, 2015 6:44:59 PM SEVERE biz.neustar.jenkins.plugins.packer.PackerPublisher perform java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getName(PackerPublisher.java:83) at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:222) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:290) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) {code} Jenkins ver. 1.628 Packer plugin: 1.2 java.specification.version 1.7

    Jenkins JIRA | 1 year ago | Dave hopkins
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at biz.neustar.jenkins.plugins.packer.PackerPublisher.getName()
    2. biz.neustar.jenkins
      PackerPublisher.perform
      1. biz.neustar.jenkins.plugins.packer.PackerPublisher.getName(PackerPublisher.java:83)
      2. biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:222)
      3. biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:290)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:408)
      9 frames