[JIRA] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK Thanks a lot! Release worked, I can find the plugin in Update Center Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Deniz Bahadir commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK I released a new version 1.6 of the plugin. It should be available in the plugin-list within the next 8 hours. Sorry for the delay. I did expect that releasing the plugin was someone else's responsibility. But as it seems, nobody else felt responsible for it and my access-rights where obviously enough to release it myself, so I just did that. I hope, everything worked as expected. If not, please notify me again. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK Deniz Bahadir Thanks for merging my fix. Would you mind cutting a new release of the plugin? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK Code changed in jenkins User: Deniz Bahadir Path: src/main/java/org/jvnet/hudson/tools/versionnumber/VersionNumberBuilder.java http://jenkins-ci.org/commit/versionnumber-plugin/2bdfc0d00c077a4de19fa30828a31817b65cce4f Log: Merge pull request #10 from ydubreuil/fix-JENKINS-30224 JENKINS-30224 use real listener to prevent NPE Compare: https://github.com/jenkinsci/versionnumber-plugin/compare/68c526dcb586...2bdfc0d00c07 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK Code changed in jenkins User: Yoann Dubreuil Path: src/main/java/org/jvnet/hudson/tools/versionnumber/VersionNumberBuilder.java http://jenkins-ci.org/commit/versionnumber-plugin/9b3a1dc22f4ed69d58709eb0e7de0e2895368a0b Log: JENKINS-30224 use real listener to prevent NPE Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK Code changed in jenkins User: Yoann Dubreuil Path: src/main/java/org/jvnet/hudson/tools/versionnumber/VersionNumberBuilder.java http://jenkins-ci.org/commit/versionnumber-plugin/bcdd477eaea9b88a891c220c79bae50f9cbbe1d0 Log: JENKINS-30224 remove unused parameter Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Deniz Bahadir resolved as Fixed I merged your pull-request. Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Deniz Bahadir Status: In Progress Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil assigned an issue to Yoann Dubreuil Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Yoann Dubreuil Assignee: Manuel Jesús Recena Soto Yoann Dubreuil Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK fix proposed in PR-10 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Manuel Jesús Recena Soto assigned an issue to Manuel Jesús Recena Soto Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Manuel Jesús Recena Soto Assignee: Manuel Jesús Recena Soto Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Manuel Jesús Recena Soto started work on JENKINS-30224 Change By: Manuel Jesús Recena Soto Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil assigned an issue to Unassigned Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Yoann Dubreuil Assignee: Yoann Dubreuil Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Jesse Glick commented on JENKINS-30224 Re: NPE thrown when a job uses an automatically installed JDK At worst, use LogTaskListener (but better to pass on the listener from setUp). Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil updated an issue Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Yoann Dubreuil When a job is using an automatically installed JDK and when the JDK is not available yet on build node, this NPE is thrown:{code}ERROR: java.lang.NullPointerExceptionjava.lang.NullPointerException at hudson.Launcher$ProcStarter.stdout(Launcher.java:262) at hudson.tools.AbstractCommandInstaller.performInstallation(AbstractCommandInstaller.java:77) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.model.JDK.forNode(JDK.java:130) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:355) at hudson.model.Run.getEnvironment(Run.java:2228) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:932) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.getPreviousBuildWithVersionNumber(VersionNumberBuilder.java:204) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.incBuild(VersionNumberBuilder.java:242) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.setUp(VersionNumberBuilder.java:497) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381){code}Plugin is calling {{build.getEnvironment(null)}} [here|https://github.com/jenkinsci/versionnumber-plugin/blob/master/src/main/java/org/jvnet/hudson/tools/versionnumber/VersionNumberBuilder.java#L204] which is not . Passing {{null }} doesn't seem to be legal. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil updated an issue Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Change By: Yoann Dubreuil When a job is using an automatically installed JDK and when the JDK is not available yet on build node, this NPE is thrown:{code}ERROR: java.lang.NullPointerExceptionjava.lang.NullPointerException at hudson.Launcher$ProcStarter.stdout(Launcher.java:262) at hudson.tools.AbstractCommandInstaller.performInstallation(AbstractCommandInstaller.java:77) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.model.JDK.forNode(JDK.java:130) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:355) at hudson.model.Run.getEnvironment(Run.java:2228) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:932) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.getPreviousBuildWithVersionNumber(VersionNumberBuilder.java:204) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.incBuild(VersionNumberBuilder.java:242) at org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder.setUp(VersionNumberBuilder.java:497) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381){code}Plugin is calling {{build.getEnvironment(null)}} [here|https://github.com/jenkinsci/versionnumber-plugin/blob/master/src/main/java/org/jvnet/hudson/tools/versionnumber/VersionNumberBuilder.java#L204]. Passing {{null }} doesn't seem to be legal. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [versionnumber-plugin] (JENKINS-30224) NPE thrown when a job uses an automatically installed JDK
Title: Message Title Yoann Dubreuil created an issue Jenkins / JENKINS-30224 NPE thrown when a job uses an automatically installed JDK Issue Type: Bug Assignee: Yoann Dubreuil Components: versionnumber-plugin Created: 31/Aug/15 2:10 PM Environment: versionnumber-plugin 1.5 core 1.609.2 Priority: Major Reporter: Yoann Dubreuil When a job is using an automatically installed JDK and when the JDK is not available yet on build node, this NPE is thrown: ERROR: java.lang.NullPointerException java.lang.NullPointerException at hudson.Launcher$ProcStarter.stdout(Launcher.java:262) at hudson.tools.AbstractCommandInstaller.performInstallation(AbstractCommandInstaller.java:77) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.model.JDK.forNode(JDK.java:130) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:355) at hudson.model.Run.getEnvironment(Run.java:2228) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:932) at