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 195483 - IllegalStateException: paragraphViewEndOffset=1281 > docViewEndOffset=1280 docView: DV@38426f80#51:<0,1280>, WxH:840.0x663.0; incomingMod=false; lengthyAtomicEdit=0 Doc: NbEditorDocument@399dd934, Len
Summary: IllegalStateException: paragraphViewEndOffset=1281 > docViewEndOffset=1280 do...
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-15 04:21 UTC by klauern
Modified: 2011-02-15 12:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176573


Attachments
stacktrace (2.85 KB, text/plain)
2011-02-15 04:21 UTC, klauern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klauern 2011-02-15 04:21:25 UTC
Build: NetBeans IDE Dev (Build 201102100500)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
Veraxus: Had text in the clipboard. Highlighted code in current editor window and used Paste shortcut (Ctrl+V). This triggered the error.

klauern: Seriously...




Stacktrace: 
java.lang.IllegalStateException: paragraphViewEndOffset=1281 > docViewEndOffset=1280
docView:
DV@38426f80#51:<0,1280>, WxH:840.0x663.0; incomingMod=false; lengthyAtomicEdit=0
Doc: NbEditorDocument@399dd934, Length=1279, Version=160, StreamDesc:org.netbeans.modules.maven.grammar.POMDataObject@571737cd[MasterFileObject[/Users/klauer/Programming/Ruby/ruby-maven-gems/pom.xml@384ab8c7:661fd075,valid=true]]
    [ 0]: PV@3b576c8b#14:<0,105> Y=0.0(R0.0) "<projec...e"\n", WxH:840.0x13.0
        [ 0]: HV@1ca44fb2#0:<0,8> X=0.0(R0.0) "<project" L=[0#13]<0>;x=0.0;fC=<NULL>;bC=<NULL>
        [ 1]: HV@676c3dce#0:<8,9> X=64.0(R64.0) " " L=[1#13]<8>;x=64.0;fC=RGB[0;0;0];bC=<NULL>
        [ 2]: HV@734dd46d#0:<9,14> X=72.0(R72.0) "xmlns" L=[2#13]<9>;x=72.0;fC=RGB[0;153;0];bC=<NULL>
        [ 3]: HV@7ab57b3e#0:<14,15> X=112.0(R112.0) "=" L=[3#13]<14>;x=112.0;fC=RGB[0;0;0];bC=<NULL>
        [ 4]: HV@20ae6262#0:<15,16> X=120.0(R120.0) """ L=[4#13]<15>;x=120.0;fC=RGB[206;123;0];bC=<NULL>
        ...
        [ 9]: HV@18bd20b1#0:<60
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.checkRemoveParagraphs(ViewBuilder.java:543)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:473)
   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.checkRebuild(ViewUpdates.java:515)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:541)
Comment 1 klauern 2011-02-15 04:21:30 UTC
Created attachment 106014 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-02-15 12:04:54 UTC
Should be dup of issue 191620. Please try build 201102111519 or later. If the problem would persist please reopen the issue. Thanks.

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