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

Summary: IndexOutOfBoundsException: len=-536797713 < 0: nextLineStartOffset=-536780371, lineStartOffset=17342, preScan=0
Product: editor Reporter: rodrigorsantos <rodrigorsantos>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205542
Attachments: stacktrace

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 ***