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.

Bug 210193 - AssertionError: Null children for accurate span
Summary: AssertionError: Null children for accurate span
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 13:14 UTC by Michel Graciano
Modified: 2013-02-14 12:33 UTC (History)
31 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186340


Attachments
stacktrace (3.79 KB, text/plain)
2012-03-27 13:14 UTC, Michel Graciano
Details
stacktrace (5.52 KB, text/plain)
2012-10-08 13:59 UTC, Marek Fukala
Details
stacktrace (5.04 KB, text/plain)
2012-11-05 21:29 UTC, Selpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-03-27 13:14:17 UTC
Build: NetBeans IDE Dev (Build 20120326-a363175188c5)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
hmichel: Reverting the changes, using CVS, for a form




Stacktrace: 
java.lang.AssertionError: Null children for accurate span
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.replaceRepaintViews(ViewBuilder.java:1244)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:686)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.updateViewsByModification(ViewUpdates.java:303)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.insertUpdate(ViewUpdates.java:239)
   at sun.reflect.GeneratedMethodAccessor107.invoke(GeneratedMethodAccessor107.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Comment 1 Michel Graciano 2012-03-27 13:14:23 UTC
Created attachment 117331 [details]
stacktrace
Comment 2 Marek Fukala 2012-10-08 13:59:14 UTC
Created attachment 125593 [details]
stacktrace

cut - pasting big parts of html code
Comment 3 Selpi 2012-11-05 21:29:10 UTC
Created attachment 127182 [details]
stacktrace

Looks like this bug is still exists: http://netbeans.org/bugzilla/show_bug.cgi?id=196669

I tried to add a 400x200 html table from pallete to PHP Web file like suggested in PHP sanity test.
Comment 4 c69 2012-12-05 21:09:43 UTC
yes, this is triggered by copy/paste.

For me it was 300 line Javascript closure / module.
It did not wanted to be pasted in certain file.
Comment 5 rjdkolb 2013-01-28 07:27:17 UTC
For me this was pasting some XML into a XML editor window.
7.3 Beta2
Comment 6 Marian Mirilovic 2013-02-07 14:41:57 UTC
117 duplicates
Comment 7 Miloslav Metelka 2013-02-14 12:06:43 UTC
As part of fix of issue #225451 and I've changed the assertion into a logging statement (also added more info) since it should not be a fatal problem for the view hierarchy operation (the missing child views should get built anyway upon repainting or measuring request).
 So this issue will no longer happen in this form and it's a question whether rest of issue #225451 fix will not eliminate this problem completely so marking as fixed.