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 195347 - [70cat] IllegalStateException: paragraphViewEndOffset=395 > docViewEndOffset=391 docView: DV@01d27417#13:<0,391>, WxH:378.0x156.0; incomingMod=false; lengthyAtomicEdit=0 Doc: NbEditorDocument@000b15f4, Length
Summary: [70cat] IllegalStateException: paragraphViewEndOffset=395 > docViewEndOffset=...
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-11 17:13 UTC by gholmer
Modified: 2011-02-11 22:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176607


Attachments
stacktrace (3.84 KB, text/plain)
2011-02-11 17:13 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2011-02-11 17:13:26 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: Linux

User Comments:
gholmer: Selected two lines of an XHTML file in the editor and hit ctrl-V to paste some code over them.




Stacktrace: 
java.lang.IllegalStateException: paragraphViewEndOffset=395 > docViewEndOffset=391
docView:
DV@01d27417#13:<0,391>, WxH:378.0x156.0; incomingMod=false; lengthyAtomicEdit=0
Doc: NbEditorDocument@000b15f4, Length=390, Version=97, StreamDesc:org.netbeans.modules.html.HtmlDataObject@1bb0ff0[MasterFileObject[/mnt/common/netbeans/phoenix-jee6/phoenix-jee6-csi/web/includes/loadSubLocatorData.xhtml@19b2dc6:1e3c942,valid=true]]
    [ 0]: PV@0171f9c5#14:<0,63> Y=0.0(R0.0) "<!DOCTY...N"\n", WxH:378.0x12.0
        [ 0]: HV@0070b844#0:<0,9> X=0.0(R0.0) "<!DOCTYPE" L=[0#13]<0>;x=0.0;fC=<NULL>;bC=<NULL>
        [ 1]: HV@0051aef4#0:<9,10> X=54.0(R54.0) " " L=[1#13]<9>;x=54.0;fC=RGB[0;0;0];bC=<NULL>
        [ 2]: HV@00b51c84#0:<10,14> X=60.0(R60.0) "html" L=[2#13]<10>;x=60.0;fC=<NULL>;bC=<NULL>
        [ 3]: HV@006328ba#0:<14,15> X=84.0(R84.0) " " L=[3#13]<14>;x=84.0;fC=RGB[0;0;0];bC=<NULL>
        [ 4]: HV@00070c29#0:<15,21> X=90.0(R90.0) "PUBLIC" L=[4#13]<15>;x=90.0;fC=<NULL>;bC=<NULL>
        ...
        [ 9]: HV@00af682c#
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.checkRemoveParagraphs(ViewBuilder.java:543)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:246)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:139)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(ViewUpdates.java:212)
   at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(DocumentView.java:593)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paintChildren(EditorBoxViewChildren.java:868)
Comment 1 gholmer 2011-02-11 17:13:29 UTC
Created attachment 105887 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-02-11 22:57:33 UTC

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