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 241462 - IndexOutOfBoundsException: len=-1 < 0: nextLineStartOffset=71736, lineStartOffset=71737, preScan=0
Summary: IndexOutOfBoundsException: len=-1 < 0: nextLineStartOffset=71736, lineStartOf...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 22:31 UTC by Exceptions Reporter
Modified: 2015-06-29 13:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207333


Attachments
stacktrace (4.95 KB, text/plain)
2014-02-05 22:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-05 22:31:38 UTC
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)
Comment 1 Exceptions Reporter 2014-02-05 22:31:40 UTC
Created attachment 144850 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-06-29 13:22:31 UTC
It seems to be fixed, since reports are only from Netbeans 8.0 Beta