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 20170109-e724d7d59b25) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15 OS: Linux User Comments: jglick: Disabled some unwanted plugins, and now icons are broken in a lot of places. Stacktrace: java.lang.NullPointerException at org.openide.util.ImageUtilities.icon2Image(ImageUtilities.java:287) at org.netbeans.modules.refactoring.java.ui.scope.CurrentJavaProjectDependenciesScopeProvider.initialize(CurrentJavaProjectDependenciesScopeProvider.java:125) at org.netbeans.modules.refactoring.spi.impl.DelegatingScopeProvider.initialize(DelegatingScopeProvider.java:95) at org.netbeans.modules.refactoring.spi.ui.ScopePanel.initialize(ScopePanel.java:148) at org.netbeans.modules.refactoring.java.ui.WhereUsedPanel$2.run(WhereUsedPanel.java:174) at org.netbeans.modules.refactoring.java.ui.WhereUsedPanel$2.run(WhereUsedPanel.java:157)
Created attachment 163459 [details] stacktrace
After making some patches to NB code, I finally tracked down the root cause in a plugin and fixed it: https://github.com/stapler/netbeans-stapler-plugin/commit/2f8b9b6d9bdd777012c582315775e400d31b8742 Keeping this open for the lack of proper reporting.
Created attachment 163511 [details] Patch to make the root bug diagnosable from logs, as well as to prevent more serious errors
thanks for the patch
fixed in jet-main #dcf2a3c88105
Integrated into 'main-silver', will be available in build *201703010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dcf2a3c88105 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #269635 - NullPointerException at org.openide.util.ImageUtilities.icon2Image