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 195269

Summary: IllegalStateException: matchOffset=575 > docViewEndOffset=537 docView: DV@019fb00b#17:<0,537>, WxH:624.0x272.0; incomingMod=true; lengthyAtomicEdit=0 Doc: NbEditorDocument@00036e02, Length=536, Versio
Product: editor Reporter: Vladimir Voskresensky <vv159170>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexvsimon, ar34406, areeda, asmotrich, azizur, javydreamercsw, mienamoo, misterm, mkleint, tbrunhoff, vladdraco
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176561
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Vladimir Voskresensky 2011-02-10 06:23:30 UTC
Build: NetBeans IDE Dev (Build 110209-dc1140292e0c)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

Stacktrace: 
java.lang.IllegalStateException: matchOffset=575 > docViewEndOffset=537
docView:
DV@019fb00b#17:<0,537>, WxH:624.0x272.0; incomingMod=true; lengthyAtomicEdit=0
Doc: NbEditorDocument@00036e02, Length=536, Version=3, StreamDesc:org.openide.loaders.DefaultDataObject@656466[MasterFileObject[/var/tmp/vv159170/cnd-userdir/config/Windows2Local/Modes/explorer.wsmode@110574a:f9e0d4,valid=true]]
    [ 0]: PV@007969ac#4:<0,39> Y=0.0(R0.0) "<?xml v...?>\n", WxH:312.0x16.0
        [0]: HV@00921be6#0:<0,1> X=0.0(R0.0) "<" L=[0#3]<0>;x=0.0;fC=<NULL>;bC=<NULL>
        [1]: HV@0065c25d#0:<1,37> X=8.0(R8.0) "?xml ve...8"?" L=[1#3]<1>;x=8.0;fC=<NULL>;bC=RGB[233;239;248]
        [2]: HV@00bb7c63#0:<37,38> X=296.0(R296.0) ">" L=[2#3]<37>;x=296.0;fC=<NULL>;bC=<NULL>
        [3]: NV@00e36093#0:<38,39> X=304.0(R304.0) "\n"
    [ 1]: PV@0108be52#1:<39,40> Y=16.0(R16.0) "\n", WxH:8.0x16.0
        [0]: NV@01d986a4#0:<39,40> X=0.0(R0.0) "\n"
    [ 2]: PV@01073aa6#2:<40,61> Y=32.0(R32.0) "<mode v...">\n", WxH:168.0x16.0
        [0]: HV@0
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:385)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:336)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:145)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.insertUpdate(ViewUpdates.java:316)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Comment 1 Vladimir Voskresensky 2011-02-10 06:23:35 UTC
Created attachment 105822 [details]
stacktrace
Comment 2 azizur 2011-02-10 13:12:49 UTC
Created attachment 105836 [details]
stacktrace

Editing a .html file
Comment 3 Exceptions Reporter 2011-02-11 12:13:09 UTC
Created attachment 105860 [details]
stacktrace

tried to chekcout a local branch
Comment 4 Alexander Simon 2011-02-11 13:07:04 UTC
Created attachment 105865 [details]
stacktrace

Open file, select first doc comments and press delete
Comment 5 Milos Kleint 2011-02-11 14:10:04 UTC
Created attachment 105871 [details]
stacktrace
Comment 6 Exceptions Reporter 2011-02-11 14:52:18 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176561
Comment 7 misterm 2011-02-11 15:40:06 UTC
Created attachment 105878 [details]
stacktrace
Comment 8 mienamoo 2011-02-11 16:46:08 UTC
Created attachment 105880 [details]
stacktrace

I was editing the project.xml file for a module to remove a dependency manually while executing TS 65 Appisupport Sanity, Test suite: Test libraries Node.
Comment 9 Alexander Simon 2011-02-11 17:10:50 UTC
Editor is broken -> P2
Comment 10 javydreamercsw 2011-02-11 17:55:03 UTC
Created attachment 105893 [details]
stacktrace

Reverting changes (Subversion)
Comment 11 areeda 2011-02-11 22:07:04 UTC
Created attachment 105912 [details]
stacktrace

Trying do delete lines from a java file to paste them in again to see if I can reproduce the last exception which didn't seem to report
Comment 12 tbrunhoff 2011-02-11 22:43:05 UTC
Created attachment 105920 [details]
stacktrace

deleting a method after restarting the ide. I'll try deleting the code model next.
Comment 13 tbrunhoff 2011-02-11 22:46:04 UTC
Created attachment 105921 [details]
stacktrace

Ok, this sucks. I cannot delete a chunk of code.
Comment 14 Marian Mirilovic 2011-02-11 22:59:55 UTC

*** This bug has been marked as a duplicate of bug 191620 ***
Comment 15 Vladimir Voskresensky 2011-02-16 12:28:03 UTC
*** Bug 195534 has been marked as a duplicate of this bug. ***