java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Dave hopkins,
  • 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
    via by Dave hopkins,
    • 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)
    No Bugmate found.