Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Duplicate
-
Component/s: nodejs-plugin
-
Labels:
-
Environment:CloudBees Jenkins Enterprise 2.138.40.0.2-fixed
NodeJs Plugin 1.3.0
-
Similar Issues:
Description
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.
Attachments
Issue Links
- duplicates
-
JENKINS-57844 NodeJS Plugin gets NullPointerException for Cache Location after update
-
- Resolved
-