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 195390 - AssertionError: endOffset=2
Summary: AssertionError: endOffset=2
Status: RESOLVED DUPLICATE of bug 191620
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 18:09 UTC by st3vie
Modified: 2011-02-21 12:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176640


Attachments
stacktrace (3.71 KB, text/plain)
2011-02-12 18:09 UTC, st3vie
Details
stacktrace (3.98 KB, text/plain)
2011-02-15 19:13 UTC, Exceptions Reporter
Details
stacktrace (5.75 KB, text/plain)
2011-02-16 04:22 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description st3vie 2011-02-12 18:09:07 UTC
Build: NetBeans IDE Dev (Build 201102100500)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
st3vie: in Options->Editor, in de Formatting tab, I swtich from "all languages" to "PHP"




Stacktrace: 
java.lang.AssertionError: endOffset=2 > docTextLength=1
DV@003612cc#34:<0,1>, WxH:608.0x578.0; incomingMod=false; lengthyAtomicEdit=0
Doc: GsfDocument@00fc9df6, Length=0, Version=285, StreamDesc:<NULL>
    [ 0]: PV@01109238#2:<0,6> Y=0.0(R0.0), WxH:48.0x17.0
        [0]: HV@000c4380#0:<0,5> X=0.0(R0.0) L=TLc[]:5;W=40.0
        [1]: NV@0123bddd#0:<5,6> X=40.0(R40.0)
    [ 1]: PV@00efb2ab#1:<0,1> Y=17.0(R17.0) "\n", WxH:8.0x17.0
        [0]: NV@0186385a#0:<0,1> X=0.0(R0.0) "\n"
    [ 2]: PV@00bb2e5f#20:<0,76> Y=34.0(R34.0), WxH:608.0x17.0
        [ 0]: HV@00ddb829#0:<0,5> X=0.0(R0.0) L=[0#19]<0>;x=0.0;fC=<NULL>;bC=<NULL>
        [ 1]: HV@0065ccd1#0:<5,6> X=40.0(R40.0) L=[1#19]<5>;x=40.0;fC=RGB[0;0;0];bC=<NULL>
        [ 2]: HV@0169b4b9#0:<6,12> X=48.0(R48.0) L=[2#19]<6>;x=48.0;fC=RGB[0;0;0];bC=<NULL>
        [ 3]: HV@00d7fd2e#0:<12,13> X=96.0(R96.0) L=[3#19]<12>;x=96.0;fC=RGB[0;0;0];bC=<NULL>
        [ 4]: HV@002f0bc1#0:<13,20> X=104.0(R104.0) L=[4#19]<13>;x=104.0;fC=<NULL>;bC=<NULL>
        [ 5]: HV@002e9157#0
   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.paintChildren(EditorBoxViewChildren.java:868)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paint(EditorBoxViewChildren.java:858)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.paint(EditorBoxView.java:454)
   at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:942)
Comment 1 st3vie 2011-02-12 18:09:13 UTC
Created attachment 105939 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-02-15 19:13:35 UTC
Created attachment 106039 [details]
stacktrace
Comment 3 Exceptions Reporter 2011-02-16 04:22:32 UTC
Created attachment 106052 [details]
stacktrace
Comment 4 Miloslav Metelka 2011-02-21 12:57:34 UTC

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