java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Cees Bos, 1 year ago
via Jenkins JIRA by Cees Bos, 1 year ago
java.lang.NullPointerException:
at hudson.tools.ToolInstaller.preferredLocation(ToolInstaller.java:112)
at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:101)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155)
at hudson.model.JDK.forNode(JDK.java:121)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:663)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:111)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551)
at hudson.model.Build$RunnerImpl.post2(Build.java:152)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535)
at hudson.model.Run.run(Run.java:1202)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.