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.
This bug was originally marked as duplicate of bug 157278, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Mac OS X User Comments: rherschke: start to customize toolbar after installing project-group-toolbar-plugin Stacktrace: java.lang.NullPointerException at org.openide.loaders.InstanceNode.initIcon(InstanceNode.java:271) at org.openide.loaders.InstanceNode.getIcon(InstanceNode.java:189) at org.openide.nodes.FilterNode.getIcon(FilterNode.java:561) at org.openide.nodes.FilterNode.getIcon(FilterNode.java:561) at org.openide.nodes.FilterNode.getIcon(FilterNode.java:561) at org.openide.explorer.view.VisualizerNode.getIcon(VisualizerNode.java:558)
Created attachment 145417 [details] stacktrace
likely a problem with the plugin (project-group-toolbar-plugin). But maybe org.openide.loaders.InstanceNode could log more info about the InstanceCookie so we know what node/action is the culprit or it could log only with INFO instead of WARNING: > // Problem ==>> use default icon > Logger.getLogger(InstanceNode.class.getName()).log(Level.WARNING, null, e); > brokenIcon = true;
(In reply to Ondrej Vrabec from comment #2) > likely a problem with the plugin (project-group-toolbar-plugin). But maybe > org.openide.loaders.InstanceNode could log more info about the > InstanceCookie so we know what node/action is the culprit... http://hg.netbeans.org/core-main/rev/4ef47ae46eac Thank you, Ondra. The problem originates in "Project Group Toolbar" plugin: WARNING [org.openide.loaders]: [...]: action javax.swing.Action does not implement SystemAction.getName() or Action.getValue(NAME) properly. It returns null! [...] INFO [org.openide.loaders.InstanceNode]: ic = org.openide.loaders.InstanceDataObject@3b56c3e3[MultiFileObject@5013e61[Actions/Project/org-sepix-modules-project-ui-groups-ProjectGroupDropDownWrapper.instance]] Reassigning to plugin owner. Please evaluate it. Thank you.
I'll check this
Integrated into 'main-silver', will be available in build *201402260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4ef47ae46eac User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #242120: NullPointerException at org.openide.loaders.InstanceNode.initIcon
Created attachment 147975 [details] stacktrace Customize Toolbars... thrown for: ic = (org.openide.loaders.InstanceDataObject) org.openide.loaders.InstanceDataObject@7b61c4fa[MultiFileObject@16970e60[Actions/Project/org-sepix-modules-project-ui-groups-ProjectGroupDropDownWrapper.instance]]
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=207794
Created attachment 155571 [details] stacktrace Customizing the toolbar.