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.
Summary: | AssertionError: bad equals/hashCode in Attributes vs. Attributes | ||
---|---|---|---|
Product: | uml | Reporter: | markojovicic <markojovicic> |
Component: | General | Assignee: | issues@uml <issues> |
Status: | STARTED --- | ||
Severity: | blocker | CC: | davebastow, starach |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=106258 | ||
Issue Type: | DEFECT | Exception Reporter: | 106258 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
markojovicic
2009-10-03 16:51:09 UTC
Created attachment 88787 [details]
stacktrace
I would like just to add that UML plug-in works perfectly well in NetBeans 6.0 version. So, you can install NetBeans 6.0 beside your current version. ;) Build: NetBeans IDE Dev (Build nbms-and-javadoc-4005-on-090929) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: just click to "create Depency" line Stacktrace: java.lang.AssertionError: bad equals/hashCode in Operations vs. Operations at org.openide.nodes.Children$Keys.setKeys(Children.java:1474) at org.openide.nodes.FilterNode$Children$DefaultSupport.updateKeys(FilterNode.java:1691) at org.openide.nodes.FilterNode$Children$DefaultSupport.filterChildrenAdded(FilterNode.java:1661) at org.openide.nodes.FilterNode$Children.filterChildrenAdded(FilterNode.java:1564) at org.openide.nodes.FilterNode$ChildrenAdapter.childrenAdded(FilterNode.java:1948) at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093) Created attachment 89456 [details]
stacktrace
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4005-on-090929) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: add contructor in Sequence Diagram; UML-plugin Stacktrace: java.lang.AssertionError: bad equals/hashCode in Operations vs. Operations at org.openide.nodes.Children$Keys.setKeys(Children.java:1474) at org.openide.nodes.FilterNode$Children$DefaultSupport.updateKeys(FilterNode.java:1691) at org.openide.nodes.FilterNode$Children$DefaultSupport.filterChildrenAdded(FilterNode.java:1661) at org.openide.nodes.FilterNode$Children.filterChildrenAdded(FilterNode.java:1564) at org.openide.nodes.FilterNode$ChildrenAdapter.childrenAdded(FilterNode.java:1948) at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093) Created attachment 89520 [details]
stacktrace
Having looked more carefully, it seems the following might be relevant. Some of which may be obvious from the stacktrace for those that know the Netbeans internals a little better, but I'll mention them anyway. The "operation" that I attempted to add when the error occurred WAS created anyway - despite the error. In the explorer window, no arrow was created next to the Class for which I attempted to create the new operation (By "arrow" I mean the thing that you click in order to see the contents of the Class node). Ideally, I would presume that it should instantly create a new "Operations" node below the class object, and that the new operation should be instantly visible (and perhaps even selected) upon completion of its creation. Looks to be a missing equals/hashcode implementation in UMLChildren. I'll submit the change set when I get home. Sadly the scenario can't be verified in the current code. remove me from CC List |