Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57840

Nodejs Plugin java.lang.NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • nodejs-plugin
    • None
    • nodejs-plugin v1.30
      Jenkins 2.164.2
      Ubuntu 16.04 with slaves on Ubuntu and Centos

      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

       

            nfalco Nikolas Falco
            adh88ca Andrew den Hertog
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: