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.

Bug 255374 - IndexOutOfBoundsException: len=-2 < 0: nextLineStartOffset=17146, lineStartOffset=17148, preScan=0
Summary: IndexOutOfBoundsException: len=-2 < 0: nextLineStartOffset=17146, lineStartOf...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-09-17 15:56 UTC by Exceptions Reporter
Modified: 2015-09-17 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220002

stacktrace (4.81 KB, text/plain)
2015-09-17 15:56 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-17 15:56:52 UTC
This bug was originally marked as duplicate of bug 241462, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201507140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:

java.lang.IndexOutOfBoundsException: len=-2 < 0: nextLineStartOffset=17146, lineStartOffset=17148, preScan=0
   at org.netbeans.editor.FixLineSyntaxState.fixSyntaxStateInfos(
   at org.netbeans.editor.FixLineSyntaxState.update(
   at org.netbeans.editor.FixLineSyntaxState$BeforeLineUndo.undo(
   at org.netbeans.editor.BaseDocumentEvent.undo(
   at org.netbeans.editor.GuardedDocumentEvent.undo(
   at org.netbeans.modules.editor.lib2.document.StableCompoundEdit.undo(
Comment 1 Exceptions Reporter 2015-09-17 15:56:54 UTC
Created attachment 156257 [details]