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: | XML code completion broken: NPE from CompletionUtil.populateItemsForAny | ||
---|---|---|---|
Product: | xml | Reporter: | Jesse Glick <jglick> |
Component: | Schema | Assignee: | _ alexpetrov <alexpetrov> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 162771 | ||
Attachments: | Sample schema-controlled XML file |
Description
Jesse Glick
2009-05-21 20:56:07 UTC
Created attachment 82583 [details]
Sample schema-controlled XML file
Code completion issue. Nikita, please take a look. Alex, please take a look. This bug is not reproduced now (NPE is not thrown any more) due to a fix for the bug http://www.netbeans.org/issues/show_bug.cgi?id=168513 (http://hg.netbeans.org/main/rev/354826c71921). But nevertheless a fix for this bug has been made to avoid a NPE throwing in the future. Fixed in trunk: http://hg.netbeans.org/main/rev/e82a68d87bc1 Integrated into 'main-golden', will be available in build *200907240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e82a68d87bc1 User: Alex Petrov <alexpetrov@netbeans.org> Log: Fix for issue [#165747]: NPE from CompletionUtil.populateItemsForAny(). No more NPEs. Schema-driven code completion only seems to work maybe 20% of the time, with no apparent pattern, but at least it is not throwing a stream of exceptions any more. *** Bug 166314 has been marked as a duplicate of this bug. *** |