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


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

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>




Stacktrace: 
java.lang.IndexOutOfBoundsException: len=-536797713 < 0: nextLineStartOffset=-536780371, lineStartOffset=17342, preScan=0
   at org.netbeans.editor.FixLineSyntaxState.fixSyntaxStateInfos(FixLineSyntaxState.java:378)
   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 rodrigorsantos 2013-11-25 13:04:20 UTC
Created attachment 142538 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-11-26 13:08:12 UTC

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