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 7.0 Beta 2 (Build 201102111519) 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: Trying to delete portion of the code inside PHP function in PHP file. Stacktrace: java.lang.IllegalStateException: startOffset=144 < paragraphViewStartOffset=190 docViewEndOffset=209, paragraph-views-count=3 DV@615a5065#3:<190,209>, WxH:108.0x54.0; incomingMod=true; lengthyAtomicEdit=0 [0]: PV@1fc6a181#6:<190,202> Y=0.0(R0.0), WxH:108.0x18.0 [0]: HV@705448d1#0:<190,195> X=0.0(R0.0) L=[0#5]<0>;x=0.0;fC=<NULL>;bC=<NULL> [1]: HV@2d78caf4#0:<195,196> X=45.0(R45.0) L=[1#5]<5>;x=45.0;fC=RGB[0;0;0];bC=<NULL> [2]: HV@5554707e#0:<196,199> X=54.0(R54.0) L=[2#5]<6>;x=54.0;fC=RGB[0;0;0];bC=<NULL> [3]: HV@1aa58bf6#0:<199,200> X=81.0(R81.0) L=[3#5]<9>;x=81.0;fC=RGB[0;0;0];bC=<NULL> [4]: HV@6a87d124#0:<200,201> X=90.0(R90.0) L=[4#5]<10>;x=90.0;fC=RGB[0;0;0];bC=<NULL> [5]: NV@7ab3c91f#0:<201,202> X=99.0(R99.0) [1]: PV@29952c73#2:<202,207> Y=18.0(R18.0), WxH:45.0x18.0 [0]: HV@31595128#0:<202,206> X=0.0(R0.0) L=TLc[]:4;W=36.0 [1]: NV@5edf3267#0:<206,207> X=36.0(R36.0) [2]: PV@00994759#2:<207,209> Y=36.0(R36.0), WxH:18.0x18.0 at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:186) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:139) at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:413) at sun.reflect.GeneratedMethodAccessor78.invoke(GeneratedMethodAccessor78.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
Created attachment 105967 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176661
Created attachment 106484 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176661
Product Version: NetBeans IDE Dev (Build 201102280001) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02 System: Linux version 2.6.35-27-generic running on amd64; UTF-8; en_US (nb) I know for sure that in the latest development builds this problem is not present in pure PHP files. However, reported problem occurred when editing mixed PHP file e.g. having HTML, JavaScript and CSS code. I will try to reproduce the problem and provide example.
*** This bug has been marked as a duplicate of bug 198719 ***