[JIRA] (JENKINS-57840) Nodejs Plugin java.lang.NullPointerException

3 views
Skip to first unread message

drewdh@gmail.com (JIRA)

unread,
Jun 4, 2019, 9:33:02 AM6/4/19
to jenkinsc...@googlegroups.com
Andrew den Hertog created an issue
 
Jenkins / Bug JENKINS-57840
Nodejs Plugin java.lang.NullPointerException
Issue Type: Bug Bug
Assignee: Nikolas Falco
Components: nodejs-plugin
Created: 2019-06-04 13:32
Environment: nodejs-plugin v1.30
Jenkins 2.164.2
Ubuntu 16.04 with slaves on Ubuntu and Centos
Priority: Critical Critical
Reporter: Andrew den Hertog

With the new cache setting set to the default value of `~/.npm` i get the following error during my builds:

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:1816)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)

Changing to any other of the options (workspace or executor) it works fine. 

This is an upgrade from nodejs plugin 1.29 to 1.30

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

nfalco79@hotmail.com (JIRA)

unread,
Jun 4, 2019, 2:48:01 PM6/4/19
to jenkinsc...@googlegroups.com
Nikolas Falco closed an issue as Duplicate
Change By: Nikolas Falco
Status: Open Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages