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 Dev (Build 201509110002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Mac OS X User Comments: hecg119: <???????????????> complie kibana4 GUEST: I was configuring project properties GUEST: edited project properties and tried to setup npm and bower configurations salaboy: issue installing bower GUEST: I dont know what this about. ambrosia: Was making some configuration changes. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript.bower.ui.libraries.LibrariesPanel.uninstallDependencies(LibrariesPanel.java:355) at org.netbeans.modules.javascript.bower.ui.libraries.LibrariesPanel.access$1300(LibrariesPanel.java:79) at org.netbeans.modules.javascript.bower.ui.libraries.LibrariesPanel$2.run(LibrariesPanel.java:222) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Created attachment 156155 [details] stacktrace
Honzo? Thanks.
This exception can occur when Bower is not configured correctly. If this happens then we may not be able to get information about installed Bower packages. If this happens then the project properties UI correctly informs the user about this problem. Unfortunately, if the user doesn't fix the problem and doesn't reload the list but presses OK button instead then this exception occurs. I have modified the corresponding code to avoid the exception in the described scenario. Modified file: https://hg.netbeans.org/web-main/rev/9c686033ec76
Integrated into 'main-silver', will be available in build *201509160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9c686033ec76 User: Jan Stola <jstola@netbeans.org> Log: #255276: Avoiding a potential NPE.