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.
Build: NetBeans IDE 8.2 RC (Build 201609140952) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15 OS: Windows 8 User Comments: javatlacati: Opening HTML5 application project. It marked that sources of nodejs weren't found tried to select but selected upper folder C:\Program Files\nodejs instead of C:\Program Files\nodejs\node_modules\npm then Issue appeared. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.j2seproject.J2SEActionProvider$Provider.forRoot(J2SEActionProvider.java:709) at org.netbeans.modules.java.preprocessorbridge.api.CompileOnSaveActionQuery.lambda$findAll$0(CompileOnSaveActionQuery.java:120) at org.netbeans.modules.java.preprocessorbridge.api.CompileOnSaveActionQuery$$Lambda$156/1065904609.apply(CompileOnSaveActionQuery.java:0) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
Created attachment 162121 [details] stacktrace
Not sure how this may happen, the project did not provide ActionProvider in its Lookup. But i will prevent the NPE. Fixed jet-main 7b89ba03d8ab
Transplanted into NB 8.2: c90eb0ea4015 Thanks for the report!