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 208283

Summary: AssertionError: Null children of pView[21] from <2,37>, rebuild<2,42>. cache integrity: null origDocView: DV@4819fe4e#91 <0,4342> incomMod=false, lengthyAE=0 Regions: P<518,4332>, ChgFlags: <NONE>; vi
Product: editor Reporter: Maksim Khramov <mkhramov>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal CC: biozes, jdbevan, jglick, medeag, mklaehn, stefan79
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184996
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Maksim Khramov 2012-02-11 08:10:24 UTC
Build: NetBeans IDE Dev (Build 201202010600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

Stacktrace: 
java.lang.AssertionError: Null children of pView[21] from <2,37>, rebuild<2,42>. cache integrity: null origDocView:
DV@4819fe4e#91 <0,4342> incomMod=false, lengthyAE=0
Regions: P<518,4332>, ChgFlags: <NONE>; visWidth:1236Gap: <0|0, vis[89]<1513.0|1.099511627776E12
[ 0]: PV@519dbba8#2 <0,26> y=0.0, WxH:208.0x17.0, chWxH=208.0x17.0
        [0]: HV@261695cf <0,25> x=0.0 TL=[25]W=200.0
        [1]: NV@14c55c92 <25,26> x=200.0
[ 1]: PV@4a8b3c74#1 <26,27> y=17.0, WxH:8.0x17.0, chWxH=8.0x17.0
        [0]: NV@29407fe5 <26,27> x=0.0
[ 2]: PV@1cfd5711 <27,56> y=34.0, WxH:232.0x17.0, children=null
[ 3]: PV@3c5f2bf5 <56,85> y=51.0, WxH:232.0x17.0, children=null
[ 4]: PV@0c3f00ca <85,123> y=68.0, WxH:304.0x17.0, children=null
[ 5]: PV@7c4cd40d <123,175> y=85.0, WxH:416.0x17.0, children=null
[ 6]: PV@17f5e13c <175,255> y=102.0, WxH:641.0x17.0, children=null
[ 7]: PV@0f96366e <255,287> y=119.0, WxH:256.0x17.0, children=null
[ 8]: PV@4ecf77c0 <287,288> y=136.0, WxH:8.0x17.0, children=null
[ 9]: PV@16bf06ac <288,345> y=153.0,
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.ensureParagraphsChildrenAndLayoutValid(DocumentViewChildren.java:520)
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.paint(DocumentViewChildren.java:554)
   at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:703)
   at org.netbeans.modules.editor.lib2.view.EditorView.paint(EditorView.java:162)
   at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1422)
   at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:722)
Comment 1 Maksim Khramov 2012-02-11 08:10:27 UTC
Created attachment 115613 [details]
stacktrace
Comment 2 Miloslav Metelka 2012-02-14 09:23:37 UTC
I've modified the tracing to include problematic paragraph view only and original end index of the view rebuilding. Since the original error will not be thrown anymore I mark the issue as fixed.
http://hg.netbeans.org/jet-main/rev/3643b44575e8
Comment 3 Jesse Glick 2012-02-14 16:33:57 UTC
Created attachment 115713 [details]
stacktrace
Comment 4 biozes 2012-02-14 17:30:58 UTC
Created attachment 115718 [details]
stacktrace

I clicked to open a file on my current php project, (on the Projects view ), and while it was loading this file, I pressed ctrl+F to already allow me to search. guess I pressed ctrl+F too early ?
Comment 5 medeag 2012-02-15 16:30:56 UTC
Created attachment 115772 [details]
stacktrace

clicked on the Class to navigate to its source
Comment 6 Miloslav Metelka 2012-02-16 10:04:00 UTC
The real fix is present in issue #208467 which I've just integrated into jet-main repository.
Comment 7 stefan79 2012-02-16 12:57:59 UTC
Created attachment 115817 [details]
stacktrace

Exception occured while Scanning-Projects an I tried "Collapse ALL".