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 20160711-782b9a84b759) VM: Java HotSpot(TM) 64-Bit Server VM, 25.71-b15, Java(TM) SE Runtime Environment, 1.8.0_71-b15 OS: Windows 7 User Comments: markiewb: Switch to effective pom view Stacktrace: java.lang.ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon at javax.swing.AbstractButton.setIconFromAction(AbstractButton.java:1279) at javax.swing.AbstractButton.configurePropertiesFromAction(AbstractButton.java:1165) at javax.swing.AbstractButton.setAction(AbstractButton.java:1109) at javax.swing.JToolBar.add(JToolBar.java:517) at org.netbeans.modules.maven.grammar.EffectivePomMD$EffPOMView.getToolbarRepresentation(EffectivePomMD.java:227) at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:514)
Created attachment 161759 [details] stacktrace
fixed in jet-main #43f0d303a3f6
Integrated into 'main-silver', will be available in build *201609010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/43f0d303a3f6 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #267692 - ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon