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 195335 - [70cat] IllegalStateException: paragraphViewEndOffset=119 > docViewEndOffset=113 docView: DV@4c215f1d#15:<0,113>, WxH:720.0x285.0; incomingMod=false; lengthyAtomicEdit=0 Doc: NbEditorDocument@70e83e5f, Length
Summary: [70cat] IllegalStateException: paragraphViewEndOffset=119 > docViewEndOffset=...
Status: RESOLVED DUPLICATE of bug 198719
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 14:43 UTC by schkovich
Modified: 2011-05-19 12:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176595


Attachments
stacktrace (2.57 KB, text/plain)
2011-02-11 14:43 UTC, schkovich
Details
stacktrace (2.57 KB, text/plain)
2011-02-11 17:16 UTC, aquaglia
Details
stacktrace (2.57 KB, text/plain)
2011-02-11 20:25 UTC, aquaglia
Details
stacktrace (2.57 KB, text/plain)
2011-02-11 20:28 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schkovich 2011-02-11 14:43:17 UTC
Build: NetBeans IDE Dev (Build 201102100500)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
schkovich: Opened new HTML file, selected several lines of html code and pasted new code.

OndrejBrejla: I marked a piece of code and tried to paste another one instead.




Stacktrace: 
java.lang.IllegalStateException: paragraphViewEndOffset=119 > docViewEndOffset=113
docView:
DV@4c215f1d#15:<0,113>, WxH:720.0x285.0; incomingMod=false; lengthyAtomicEdit=0
Doc: NbEditorDocument@70e83e5f, Length=112, Version=2, StreamDesc:org.netbeans.modules.html.HtmlDataObject@70c696a1[MasterFileObject[/home/schkovich/NetBeansProjects/roohit/public_html/francesca.html@76c834e7:4fc4ba9,valid=true]]
    [ 0]: PV@506cc757#2:<0,5> Y=0.0(R0.0) "<!--\n", WxH:50.0x19.0
        [0]: HV@1738b30a#0:<0,4> X=0.0(R0.0) "<!--" L=TLc[]:4;W=40.0
        [1]: NV@0b72616f#0:<4,5> X=40.0(R40.0) "\n"
    [ 1]: PV@77fe90f2#2:<5,55> Y=19.0(R19.0) "To chan...es\n", WxH:500.0x19.0
        [0]: HV@025ac448#0:<5,54> X=0.0(R0.0) "To chan...tes" L=TLc[]:49;W=490.0
        [1]: NV@150c542d#0:<54,55> X=490.0(R490.0) "\n"
    [ 2]: PV@673b7ce9#2:<55,92> Y=38.0(R38.0) "and ope...r.\n", WxH:370.0x19.0
        [0]: HV@5c6a6126#0:<55,91> X=0.0(R0.0) "and ope...or." L=TLc[]:36;W=360.0
        [1]: NV@4c103530#0:<91,92> X=360.0(R360.0) "\n"
   
   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.checkRebuild(ViewUpdates.java:515)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:541)
   at sun.reflect.GeneratedMethodAccessor72.invoke(GeneratedMethodAccessor72.java:0)
Comment 1 schkovich 2011-02-11 14:43:25 UTC
Created attachment 105874 [details]
stacktrace
Comment 2 schkovich 2011-02-11 15:27:05 UTC
Version appears to be wrong. It should be 7.0. Right?
Comment 3 OndrejBrejla 2011-02-11 15:29:22 UTC
Yes, it's from last night build.
Comment 4 aquaglia 2011-02-11 17:16:03 UTC
Created attachment 105888 [details]
stacktrace
Comment 5 aquaglia 2011-02-11 20:25:04 UTC
Created attachment 105902 [details]
stacktrace
Comment 6 Exceptions Reporter 2011-02-11 20:25:16 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176595
Comment 7 aquaglia 2011-02-11 20:28:06 UTC
Created attachment 105903 [details]
stacktrace
Comment 8 Exceptions Reporter 2011-02-11 20:28:28 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176595
Comment 9 Marian Mirilovic 2011-02-11 22:58:05 UTC

*** This bug has been marked as a duplicate of bug 191620 ***
Comment 10 schkovich 2011-02-12 03:19:07 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102111519)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03
System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)

Exception is not thrown any more but behavior is a bit weird: ctrl + v will
delete selected HTML code and ctrl + v must be pressed once again to actually
past the new code.
Comment 11 Sc0tTyXL 2011-02-14 21:14:30 UTC
This is not a duplicate.
Comment 12 Miloslav Metelka 2011-05-19 12:10:43 UTC

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