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 195332

Summary: AssertionError: endOffset=3 > docTextLength=1 DV@7321803a#40:<0,1>, WxH:624.0x680.0; incomingMod=false; lengthyAtomicEdit=0 Doc: NbEditorDocument@03881bb1, Length=0, Version=38, StreamDesc:org.netbean
Product: editor Reporter: Alexander Simon <alexvsimon>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: edjon2000, jiai, johnpm
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176602
Attachments: stacktrace
stacktrace
stacktrace

Description Alexander Simon 2011-02-11 13:37:22 UTC
Build: NetBeans IDE Dev (Build 110211-d4326ce8f573)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: SunOS

User Comments:
alexvsimon: editor broken! it is a P1




Stacktrace: 
java.lang.AssertionError: endOffset=3 > docTextLength=1
DV@7321803a#40:<0,1>, WxH:624.0x680.0; incomingMod=false; lengthyAtomicEdit=0
Doc: NbEditorDocument@03881bb1, Length=0, Version=38, StreamDesc:org.netbeans.modules.cnd.source.CCDataObject@6c22fde7[MasterFileObject[/home/as204739/NetBeansProjects/Welcome_2/welcome.cc@1979d4fb:540664ca,valid=true]]
    [ 0]: PV@5c8dd70b#0:<0,3> Y=0.0(R0.0), WxH:0.0x17.0, children=null
    [ 1]: PV@642142a5#0:<0,79> Y=17.0(R17.0), WxH:0.0x17.0, children=null
    [ 2]: PV@439e91fe#0:<0,3> Y=34.0(R34.0), WxH:0.0x17.0, children=null
    [ 3]: PV@5f82dd60#0:<0,70> Y=51.0(R51.0), WxH:0.0x17.0, children=null
    [ 4]: PV@0893fa9d#0:<0,79> Y=68.0(R68.0), WxH:0.0x17.0, children=null
    [ 5]: PV@7d224d90#0:<0,3> Y=85.0(R85.0), WxH:0.0x17.0, children=null
    [ 6]: PV@5712691e#0:<0,76> Y=102.0(R102.0), WxH:0.0x17.0, children=null
    [ 7]: PV@79b35d3a#0:<0,59> Y=119.0(R119.0), WxH:0.0x17.0, children=null
    [ 8]: PV@6eadc941#0:<0,3> Y=136.0(R136.0), WxH:0.0x17.0, children=null
    
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(ViewUpdates.java:209)
   at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(DocumentView.java:593)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.getEditorViewChildrenValid(EditorBoxViewChildren.java:440)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.viewToModelChecked(EditorBoxViewChildren.java:799)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.viewToModelChecked(EditorBoxView.java:447)
   at org.netbeans.modules.editor.lib2.view.DocumentView.viewToModelChecked(DocumentView.java:1022)
Comment 1 Alexander Simon 2011-02-11 13:37:26 UTC
Created attachment 105868 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-02-11 14:23:18 UTC
Could you please provide steps to reproduce? Thanks.
Comment 3 Alexander Simon 2011-02-11 17:09:38 UTC
It seems bug duplicated Bug #195269.
It was after several exceptions described in Bug #195269.
Comment 4 jiai 2011-02-12 23:19:18 UTC
Created attachment 105944 [details]
stacktrace
Comment 5 johnpm 2011-02-13 18:10:26 UTC
Created attachment 105965 [details]
stacktrace

Editing a file, problem seems to occur when selecting a block of text
Comment 6 Miloslav Metelka 2011-02-15 17:11:05 UTC
I've inspected whether Alexander's build d4326ce8f573 included my e58c4e54d6dd and it seems that it didn't. Other builds are <= 110210. So I'm marking this as dup of issue 191620 since the latest fixes there should resolve the problem.
In case the problem would persist in new builds and beta2 please reopen the issue.

*** This bug has been marked as a duplicate of bug 191620 ***