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.
This bug was originally marked as duplicate of bug 213506, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201206220002) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04 OS: Linux User Comments: williambacchi: editing html Stacktrace: java.lang.NullPointerException at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:316) at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:322) at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:322) at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:322) at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:322) at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:279)
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