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 bug was originally marked as duplicate of bug 229606, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 Beta (Build 201307092200) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Linux User Comments: GUEST: I was simply doing some basic copy and paste work. Stacktrace: java.lang.AssertionError: startOffset=1425 > endOffset=1424 at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.commit(FoldHierarchyTransactionImpl.java:244) at org.netbeans.modules.editor.fold.FoldOperationImpl$Refresher.run(FoldOperationImpl.java:676) at org.netbeans.modules.editor.fold.FoldOperationImpl.update(FoldOperationImpl.java:487) at org.netbeans.spi.editor.fold.FoldOperation.update(FoldOperation.java:406) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$CommitFolds.run(GsfFoldManager.java:694) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1383)
Created attachment 141486 [details] stacktrace
What file type were you editing ?
The assertion is caused by a fold that is retained in the hierarchy despite the start & end offsets are not valid. Will be solved as a part of issue #237964, but the cause is slightly different.
Fixed in http://hg.netbeans.org/jet-main/rev/91d00c751468
Integrated into 'main-silver', will be available in build *201311080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/91d00c751468 User: Svata Dedic <sdedic@netbeans.org> Log: #237964, #237576: invalid fold requests ignored