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.
I right click on the CLASS node of an object listed in EXPLORER and get: Fri Mar 16 18:59:42 EST 2001java.lang.ClassCastException: org.openide.nodes.CookieSet java.lang.ClassCastException: org.openide.nodes.CookieSet at org.netbeans.modules.java.JavaParserGlue.createOpenCookie(JavaParserGlue. java:213) at org.netbeans.modules.java.JavaParserGlue.findCookie(JavaParserGlue.java:1 25) at org.netbeans.modules.java.model.DefaultLangModel.findElementCookie(Defaul tLangModel.java:442) at org.netbeans.modules.java.model.ElementImpl.getCookie(ElementImpl.java:50 2) at org.openide.src.Element.getCookie(Element.java:115) at org.openide.src.nodes.ElementNode.getCookie(ElementNode.java:250) at org.openide.nodes.FilterNode.getCookie(FilterNode.java:455) at org.openide.util.actions.CookieAction.resolveSupported(CookieAction.java: 150) at org.openide.util.actions.CookieAction.doEnable(CookieAction.java:124) at org.openide.util.actions.CookieAction.enable(CookieAction.java:119) at org.openide.util.actions.NodeAction$NodesL.checkEnabled(NodeAction.java:2 48) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:64) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java(Compiled Code)) at org.openide.awt.Actions.connect(Actions.java:73) at org.openide.awt.Actions$MenuItem.<init>(Actions.java:638) at org.openide.util.actions.CallableSystemAction.getPopupPresenter(CallableS ystemAction.java:43) at org.openide.nodes.NodeOp.findContextMenuImpl(NodeOp.java:145) at org.openide.nodes.Node.getContextMenu(Node.java:414) at org.openide.nodes.NodeOp.findContextMenu(NodeOp.java:79) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:708) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:7 02) at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased(MouseUtils.jav a:150) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:237) [catch] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:236) at java.awt.Component.processMouseEvent(Component.java:3771) at java.awt.Component.processEvent(Component.java(Compiled Code)) at java.awt.Container.processEvent(Container.java(Compiled Code)) at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code)) at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code)) at java.awt.Component.dispatchEvent(Component.java(Compiled Code)) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2465) at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code)) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2139) at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code)) at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code)) at java.awt.Component.dispatchEvent(Component.java(Compiled Code)) at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code)) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compil ed Code)) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java(Compiled Code)) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Look Gili, thanx for the bug report, but if right clicking on all nodes would be broken (are most of them), then it could be bug of core. Otherwise it is a bug in some module. And if the exception shows on CLASS node, then very likely it could be bug in java module. Reassigning there.
*** This issue has been marked as a duplicate of 10403 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.