Summary: While executing a job, this stacktrace was thrown:
FATAL: null
java.lang.NullPointerException
at jenkins.plugins.nodejs.NodeJSBuildWrapper.setUp(NodeJSBuildWrapper.java:166)
at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
at hudson.model.Build$BuildExecution.doRun(Build.java:157)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1819)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
This caused the job to fail. Steps to Reproduce:
- Create a job that uses the nodejs plugin
- Make sure the nodejs plugin is on version 1.3.0
- Have the `default` location configured for the cache location
- Run the job
Expected Behavior: This job should have executed correctly as configured. Actual Behavior: This job failed when trying to access the cache location as it had a null value stored Workaround: Selecting another cache location such as `in the workspace` allowed for proper execution of the job. Business Impact: This will require every job that uses the default cache location to be reconfigured with another option. And builds that get run before that change is made will fail. |