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: | REGRESSION: Exception on Find Usages invoked on primitive type node | ||
---|---|---|---|
Product: | xml | Reporter: | Andrei Chistiakov <ca-nb> |
Component: | Schema Tools | Assignee: | Nam Nguyen <nnguyen> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | htt, ivansidorkin, kozlov |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Andrei Chistiakov
2006-09-19 11:26:29 UTC
See also issue #83584. The reason for regression is that we now need to add refactoring actions on schema file node in the project explorer. Through some mystery, the cookies implmented by SchemaDatatObject.SchemaNode show up on the filter nodes of GlobalSimpleElementNode in this test case. Need time/help to track down this behaviour. Fix by ignoring ModelProvider cookies also showing up on a schema component node. (ModelProvider and ReferenceableProvider are by design mutual exclusive): /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/ui/util/Attic/AnalysisUtilities.java,v <-- AnalysisUtilities.java new revision: 1.1.2.13; previous revision: 1.1.2.12 Verified in build 060919_1. |