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.
This issue was reported manually by exceptions_reporter. It already has 36 duplicates Build: NetBeans IDE 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Linux User Comments: GUEST: Adding a line. krischik: select some text. spadija: Selected and copied a section of JavaScript code (a function), then deleted it. GUEST: Deleting a line! krischik: still delete a method. GUEST: Just typing GUEST: ? //</editor-fold> ?? ?? ?? ?? ???? TrueWolf777: Deleting commented out code in Python that was no longer needed GUEST: Attempting to delete the same line. Stacktrace: java.lang.IllegalStateException: Unfinished non-first replace pReplace=viewId=PV@01390564#0: index=0, removeCount=0, addedCount=3, Added: [0]: HV@0090f425#0:<1095,1099> L=<NULL> [1]: HV@008cb9d7#0:<1099,1101> L=<NULL> [2]: HV@00fcd8b0#0:<1101,1115> L=<NULL> at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:323) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:147) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:556) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:585) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:224) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$1.run(HighlightsViewFactory.java:119)
Created attachment 103684 [details] stacktrace
This error pops up every 10sec when working in java + maven. Pretty annoying.
I was not able to reproduce the problem yet. I have added an extra assert into ViewUpdates to prevent simultaneous view-building. I will add an extra checks for highlight regions continuity. http://hg.netbeans.org/jet-main/rev/8cea34ca95e9
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8cea34ca95e9 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #192993 - IllegalStateException: Unfinished non-first replace - added extra assert.
Since this is a random issue without reliable reproducing steps I'm downgrading to P2.
*** This bug has been marked as a duplicate of bug 182875 ***