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 238718, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Mac OS X User Comments: GUEST: Pressing Command+Z to undo changes. Stacktrace: java.lang.IndexOutOfBoundsException: len=-1 < 0: nextLineStartOffset=71736, lineStartOffset=71737, preScan=0 at org.netbeans.editor.FixLineSyntaxState.fixSyntaxStateInfos(FixLineSyntaxState.java:472) at org.netbeans.editor.FixLineSyntaxState.update(FixLineSyntaxState.java:303) at org.netbeans.editor.FixLineSyntaxState$BeforeLineUndo.undo(FixLineSyntaxState.java:615) at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:281) at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:72) at org.netbeans.modules.editor.lib2.document.StableCompoundEdit.undo(StableCompoundEdit.java:93)
Created attachment 144850 [details] stacktrace
It seems to be fixed, since reports are only from Netbeans 8.0 Beta