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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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:
GUEST: -




Stacktrace: 
java.lang.IndexOutOfBoundsException: len=-2 < 0: nextLineStartOffset=17146, lineStartOffset=17148, 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:280)
   at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:72)
   at org.netbeans.modules.editor.lib2.document.StableCompoundEdit.undo(StableCompoundEdit.java:93)
Comment 1 Exceptions Reporter 2015-09-17 15:56:54 UTC
Created attachment 156257 [details]
stacktrace