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: | NPE can happen while editing XSD with big content. | ||
---|---|---|---|
Product: | xml | Reporter: | Nikita Krjukov <supernikita> |
Component: | XAM | Assignee: | Nikita Krjukov <supernikita> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
The project
NPE stack trace |
Description
Nikita Krjukov
2009-11-09 05:52:17 UTC
Created attachment 90597 [details]
The project
Created attachment 90598 [details]
NPE stack trace
The exception happens as a result of having a global schema component without name attribute. It is illegal case because all global components should have a name. But it can happen at least temporary because of editing xml sources manually. I put P2 priority because the NPE doesn't cause any extra problems. It only affects index building and system goes on working without index. The problem has initially appeared in gfesbv22 branch's automatic tests. Although it doesn't cause serious errors, it can scare customers. So it's necessary to think if we going to consider it as a candidate to 67patch. Fixed in trunk http://hg.netbeans.org/main/rev/2dca0f29bace Verified in trunk with build 26.11.2009 It's necessary to migrate the changes to NetBeans 6.7.1 branch The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/682b46e0bbc6 I've verified the fix in NetBeans 6.7 after downloading updated modules from the update center. |