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: | NullPointerException at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively | ||
---|---|---|---|
Product: | editor | Reporter: | troodon <troodon> |
Component: | CSL (API & infrastructure) | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dominikof, jyeary, mcneill.cc, mfukala, padraigdoran, sdedic, vriha, williambacchi, yyq2008, zeloras |
Priority: | P2 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 189925 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace Proposed patch stacktrace |
Description
troodon
2012-06-22 12:59:38 UTC
Created attachment 121220 [details]
stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=189925 Created attachment 121383 [details]
stacktrace
Selected HTML fragment, and dragged to new location within document (jsp).
Created attachment 121424 [details]
stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=189925 Created attachment 122189 [details]
stacktrace
no idea what caused it, I tried with Palette and undoing inserted objects from Palette
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=189925 getNestedItems() is annotated as @NonNull. I tried to inspect all implementations in the standard distribution, found 1 place where the impl MAY return null - sometimes. It's in HTML, and occurs when the parent item is not found in the newly parsed text for some reason. This may occur when e.g. outer elements are passed, or some unclosed element appears prior to the expanded item. Passing proposed diff for evaluation to HTML maintainer. Created attachment 124037 [details]
Proposed patch
Will be fixed in http://hg.netbeans.org/jet-main/rev/051539f138c8 Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/051539f138c8 User: Svata Dedic <sdedic@netbeans.org> Log: #214628: fixed unexpected null return value Created attachment 124235 [details]
stacktrace
|