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.
NB: 070827 from hudson build 2816 Steps to repro: 1) Create a class diagram and drop a class element to the diagram 2) From the diagram editor, add 3 attributes to the class element 3) From the project tree, click Attributes Exception is thrown java.lang.AssertionError: bad equals/hashCode in private int at1 vs. private int at1 at org.openide.nodes.Children$Keys.setKeys(Children.java:2082) at org.openide.nodes.FilterNode$ChildrenAdapter.run(FilterNode.java:1480) at org.openide.nodes.FilterNode$Children.updateKeys(FilterNode.java:1433) at org.openide.nodes.FilterNode$Children.addNotifyImpl(FilterNode.java:1326) at org.openide.nodes.FilterNode$Children.addNotify(FilterNode.java:1318) at org.openide.nodes.Children.callAddNotify(Children.java:516) at org.openide.nodes.Children.getArray(Children.java:558) at org.openide.nodes.Children.getNodes(Children.java:400) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:222) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:268) at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1461) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270) at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:966) at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:164) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1648) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3721) at javax.swing.JTree.fireTreeExpanded(JTree.java:2659) at javax.swing.JTree.setExpandedState(JTree.java:3430) at javax.swing.JTree.expandPath(JTree.java:2166) at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2209) at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2196) at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2154) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3508) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(BasicTreeUI.java:3494) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3453) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262) at java.awt.Component.processMouseEvent(Component.java:6035) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
this is a regression.
The fix for issue 113792 by lvv also resolves this issue. Please verify in the latest build.
Fix verified in build 070828 - b2841