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 201202220400) VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: TheloniousBonk: I was editing a bash script and clicked Ctrl-S. GUEST: Editing xml GUEST: Saving an xml file GUEST: Activating "Remove trailing whitespace" occurs this exception whenever the file is saved. Only when optin "never" is active, the save succeeds. averri: Editing a XHTML file. Stacktrace: java.lang.IllegalStateException: startCreationOffset=694 > matchOffset=683 at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:678) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:669) at org.netbeans.modules.editor.lib2.view.ViewUpdates.updateViewsByModification(ViewUpdates.java:303) at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:269) at sun.reflect.GeneratedMethodAccessor61.invoke(GeneratedMethodAccessor61.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Created attachment 116047 [details] stacktrace
Created attachment 116049 [details] stacktrace
Reproduced.
Created attachment 116076 [details] stacktrace saving (ctrl+s) php file
http://hg.netbeans.org/jet-main/rev/e126c8d0571e
Integrated into 'main-golden', will be available in build *201203010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e126c8d0571e User: Miloslav Metelka <mmetelka@netbeans.org> Log: #208788 - IllegalStateException: startCreationOffset=694 > matchOffset=683.