This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249557

Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getInformation
Product: web Reporter: acaliskan
Component: HTML ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214502
Attachments: stacktrace

Description acaliskan 2014-12-29 13:21:08 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Linux

User Comments:
acaliskan: Occurs if selct npm install on a new generated package.json file with activated NodeJS Plugin




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:106)
   at org.netbeans.modules.web.clientproject.node.NodeExecutor.<init>(NodeExecutor.java:82)
   at org.netbeans.modules.web.clientproject.node.NpmInstallAction$ContextAction.actionPerformed(NpmInstallAction.java:123)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Comment 1 acaliskan 2014-12-29 13:21:10 UTC
Created attachment 151308 [details]
stacktrace
Comment 2 Tomas Stupka 2015-06-04 10:12:04 UTC
please evaluate
Comment 3 Tomas Mysik 2015-06-04 11:32:29 UTC
Should be working in dev build (proper node.js support has been added and the existing part has been rewritten).

Thanks.