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 have noticed that DataObject cookie is missing on some nodes. Particularily I experienced this on nodes representing annotation attributes. This causes Find usages and refactoring features to now work on annotation attribute default values.
It relates to nodes representing new jdk1.5 features. As a workaround you can obtain DataObject via JMIElementCookie -> Element -> Resource -> DataObject.
fixed in /cvs/java/src/org/netbeans/modules/java/ui/nodes/JavaSourceNodeFactory.java new revision: 1.11; previous revision: 1.10 /cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java new revision: 1.11; previous revision: 1.10