Branch: refs/heads/master Home: https://github.com/jenkinsci/valgrind-plugin Commit: e16a4260eb826a42f84fb9b2eccfa22539306b3c https://github.com/jenkinsci/valgrind-plugin/commit/e16a4260eb826a42f84fb9b2eccfa22539306b3c Author: unknown <scott.heb...@ericsson.com> Date: 2013-06-13 (Thu, 13 Jun 2013)
Changed paths: M src/main/java/org/jenkinsci/plugins/valgrind/ValgrindPublisher.java Log Message: ----------- Call to build.getEnvironment() should not use null as parameter. This method will attempt to auto-install a JDK if required in order to obtain env vars. At some point, a message tries to be logged and a NPE occurs. ERROR: Publisher org.jenkinsci.plugins.valgrind.ValgrindPublisher aborted due to exception java.lang.NullPointerException at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:110) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203) at hudson.model.JDK.forNode(JDK.java:122) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:341) at hudson.model.Run.getEnvironment(Run.java:2040) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:933) at org.jenkinsci.plugins.valgrind.ValgrindPublisher.perform(ValgrindPublisher.java:107) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Commit: cabe0135931d090a86bc18ea9b80f64b39eb3e28 https://github.com/jenkinsci/valgrind-plugin/commit/cabe0135931d090a86bc18ea9b80f64b39eb3e28 Author: Johannes Ohlemacher <johannes.ohlemac...@googlemail.com> Date: 2013-06-14 (Fri, 14 Jun 2013) Changed paths: M src/main/java/org/jenkinsci/plugins/valgrind/ValgrindPublisher.java Log Message: ----------- Merge pull request #1 from scoheb/master Call to build.getEnvironment() should not use null as parameter Compare: https://github.com/jenkinsci/valgrind-plugin/compare/5d71c48473be...cabe0135931d -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.