[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Jesse Glick updated JENKINS-49715 Released in 1.5. Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Change By: Jesse Glick Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.goog
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Hendrik Horeis commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Actually, I'm experiencing the same NullPointerExceptions after the 1.5 release with Jenkins 2.112. Did I miss something? Anyone able to confirm that? SEVERE: java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:217) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:301) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1752) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Mar 21, 2018 11:17:50 AM biz.neustar.jenkins.plugins.packer.PackerPublisher perform SEVERE: java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getName(PackerPublisher.java:84) at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:223) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:301) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1752) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Add Comment
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Hendrik Horeis This stacktrace means that your PackerInstallation definition cannot be retrieved for the installation name: https://github.com/jenkinsci/packer-plugin/blob/f8e4347d653001efc85c77e7eec49500710c39e8/src/main/java/biz/neustar/jenkins/plugins/packer/PackerPublisher.java#L217 and https://github.com/jenkinsci/packer-plugin/blob/f8e4347d653001efc85c77e7eec49500710c39e8/src/main/java/biz/neustar/jenkins/plugins/packer/PackerPublisher.java#L197-L205 The code definitely has a bug in tool handling (no null check). Most likely you have removed the failing Tool loading in "Manage Old Data" so that there is no tool with name defined in the job. Could you please check it? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Hendrik Horeis updated an issue Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Change By: Hendrik Horeis Comment: Actually, I'm experiencing the same NullPointerExceptions after the 1.5 release with Jenkins 2.112. Did I miss something? Anyone able to confirm that?{code:java}SEVERE: java.lang.NullPointerExceptionat biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:217)at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:301)at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)at hudson.model.Build$BuildExecution.post2(Build.java:186)at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)at hudson.model.Run.execute(Run.java:1752)at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)at hudson.model.ResourceController.execute(ResourceController.java:97)at hudson.model.Executor.run(Executor.java:429)Mar 21, 2018 11:17:50 AM biz.neustar.jenkins.plugins.packer.PackerPublisher performSEVERE: java.lang.NullPointerExceptionat biz.neustar.jenkins.plugins.packer.PackerPublisher.getName(PackerPublisher.java:84)at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:223)at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:301)at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)at hudson.model.Build$BuildExecution.post2(Build.java:186)at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)at hudson.model.Run.execute(Run.java:1752)at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)at hudson.model.ResourceController.execute(ResourceController.java:97)at hudson.model.Executor.run(Executor.java:429){code} Add Comment
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Hendrik Horeis commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Thanks Oleg Nenashev It was my fault... I was using a custom packer binary and was just able to solve it by letting Jenkins install the packer binary Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Hendrik Horeis edited a comment on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject [~oleg_nenashev] And you are absolutely right regarding about the failing tool loading part. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Hendrik Horeis commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Oleg Nenashev And you are absolutely right regarding the failing tool loading part. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Björn Becker created an issue Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Issue Type: Bug Assignee: Oleg Nenashev Components: _unsorted Created: 2018-02-23 11:42 Labels: JEP-200 Priority: Minor Reporter: Björn Becker I'm not sure if this is related to JEP-200, but after Upgrade I receive these Exceptions when using the Packer Plugin: Feb 23, 2018 12:39:25 PM hudson.model.Run execute INFO: packer-centos7 #361 main build action completed: SUCCESS Feb 23, 2018 12:39:25 PM biz.neustar.jenkins.plugins.packer.PackerPublisher getRemotePackerExec SEVERE: java.lang.NullPointerException at biz.neustar.jenkins.plugins.packer.PackerPublisher.getRemotePackerExec(PackerPublisher.java:217) at biz.neustar.jenkins.plugins.packer.PackerPublisher.perform(PackerPublisher.java:301) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1752) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Feb 23, 2018 12:39:25 PM biz.neustar.jenkins.plugins.packer.PackerPublisher perform SEV
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject I confirm the JEP-200 side of the issue, at least Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Change By: Oleg Nenashev Component/s: packer-plugin Component/s: _unsorted Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject The plugin has some test automation which could reproduce the issue. The problem is that it's baseline is 1.554.1, which makes the PCT Compatibility facelift a bit tough. Changes to be done: Stop serializing JSON objects over the channel Plugin facelift & PCT Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Björn Becker Note that JSONObjects are Blacklisted in Remoting. Usage of such workarounds is generally a bad idea Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev assigned an issue to Jesse Glick Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Change By: Oleg Nenashev Assignee: Oleg Nenashev Jesse Glick Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Jesse Glick started work on JENKINS-49715 Change By: Jesse Glick Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Jesse Glick commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject The plugin has some test automation which could reproduce the issue. Not really. What it has are mocks. Making the existing tests useless for verifying integration issues. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Jesse Glick updated JENKINS-49715 Jenkins / JENKINS-49715 Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Change By: Jesse Glick Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title SCM/JIRA link daemon commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject Code changed in jenkins User: jdamick Path: Jenkinsfile pom.xml src/main/java/biz/neustar/jenkins/plugins/packer/PackerInstallation.java src/main/resources/biz/neustar/jenkins/plugins/packer/PackerFileEntry/config.jelly src/main/resources/biz/neustar/jenkins/plugins/packer/PackerInstallation/config.jelly src/main/resources/biz/neustar/jenkins/plugins/packer/PackerPublisher/config.jelly src/main/resources/index.jelly src/test/java/biz/neustar/jenkins/plugins/packer/PackerInstallationTest.java src/test/java/biz/neustar/jenkins/plugins/packer/PackerJenkinsPluginTest.java http://jenkins-ci.org/commit/packer-plugin/f318a252cdf15b9d0e09e25e925853e1e6a1d538 Log: Merge pull request #22 from jglick/updates-JENKINS-49715 JENKINS-49715 Facelift & JEP-200 fix Compare: https://github.com/jenkinsci/packer-plugin/compare/f8e4347d6530...f318a252cdf1 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49715) Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject
Title: Message Title Oleg Nenashev commented on JENKINS-49715 Re: Packer Plugin Nullpointer Exception and SecurityException: Rejected: net.sf.json.JSONObject We are still waiting for the release by Jeffrey Damick. Jenkins 2.107.1 will be released today, and there is a risk that the plugin will be broken after the release Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.