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 - NullPointerException at org.netbeans.api.project.ProjectUtils.getInformation
Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getInformation
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 13:21 UTC by acaliskan
Modified: 2015-06-04 11:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214502


Attachments
stacktrace (3.08 KB, text/plain)
2014-12-29 13:21 UTC, acaliskan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.