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 238768 - IndexOutOfBoundsException: len=-536797713 < 0: nextLineStartOffset=-536780371, lineStartOffset=17342, preScan=0
Summary: IndexOutOfBoundsException: len=-536797713 < 0: nextLineStartOffset=-536780371...
Status: RESOLVED DUPLICATE of bug 238718
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-11-25 13:04 UTC by rodrigorsantos
Modified: 2013-11-26 13:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205542

stacktrace (3.88 KB, text/plain)
2013-11-25 13:04 UTC, rodrigorsantos

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigorsantos 2013-11-25 13:04:18 UTC
This bug was originally marked as duplicate of bug 221844, 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 20131125-26b3e87db6b8)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
rodrigorsantos: <Please provide a description of the problem or the steps to reproduce>

java.lang.IndexOutOfBoundsException: len=-536797713 < 0: nextLineStartOffset=-536780371, lineStartOffset=17342, 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 rodrigorsantos 2013-11-25 13:04:20 UTC
Created attachment 142538 [details]
Comment 2 Milutin Kristofic 2013-11-26 13:08:12 UTC

*** This bug has been marked as a duplicate of bug 238718 ***