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.
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)
Created attachment 105874 [details] stacktrace
Version appears to be wrong. It should be 7.0. Right?
Yes, it's from last night build.
Created attachment 105888 [details] stacktrace
Created attachment 105902 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176595
Created attachment 105903 [details] stacktrace
*** This bug has been marked as a duplicate of bug 191620 ***
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.
This is not a duplicate.
*** This bug has been marked as a duplicate of bug 198719 ***