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 20080905. this is a regression since it's not happening in previous builds. Select in Model on the following objects popped up the following exception. see attached log for complete exception. - element contained in composite state region - events and tranitions from simple and submachine states - use case extension points java.lang.AssertionError: bad equals/hashCode in Dependency vs. Dependency at org.openide.nodes.Children$Keys.setKeys(Children.java:1436) at org.openide.nodes.FilterNode$Children$DefaultSupport.updateKeys(FilterNode.java:1565) at org.openide.nodes.FilterNode$Children$DefaultSupport.update(FilterNode.java:1558) at org.openide.nodes.FilterNode$Children.addNotifyImpl(FilterNode.java:1368) at org.openide.nodes.FilterNode$Children.addNotify(FilterNode.java:1361) ...
Created attachment 69213 [details] ide log file
Can't reproduce it in 9/8 build. For those elements that do not show up in project tree 'Select in Model' does nothing, there is no exception in log, but perhaps we should not provide this menu item. For contained elements in composite state region, 'Select in Model' selects the node in tree and highlights it, this case seems to be fine.
verified in build 20080908. No longer reproducible in this new build. Yes, agree that the menu option "Select in Model" should not be enabled for object that do not show up in project tree. Will file an issue to track this.
verified in build 20080908