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 237479

Summary: java.lang.IndexOutOfBoundsException: start=-1073737142 < 0 in DefaultToken.text()
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal CC: epdv, mmirilovic, ovrabec
Priority: P2    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Miloslav Metelka 2013-10-22 13:37:21 UTC
IOOBE during editing.
It's internal lexer error since DefaultToken.text() fails.
Comment 1 Miloslav Metelka 2013-10-22 14:03:37 UTC
Added extra logging:
http://hg.netbeans.org/jet-main/rev/7c0e6ee470d8
Comment 2 Miloslav Metelka 2013-11-11 14:08:24 UTC
http://hg.netbeans.org/jet-main/rev/1d1a0b5dc515
Comment 3 Miloslav Metelka 2013-11-12 09:59:33 UTC
*** Bug 237464 has been marked as a duplicate of this bug. ***
Comment 4 Miloslav Metelka 2013-11-12 14:56:57 UTC
*** Bug 238265 has been marked as a duplicate of this bug. ***
Comment 5 Quality Engineering 2013-11-13 03:06:49 UTC
Integrated into 'main-silver', will be available in build *201311130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1d1a0b5dc515
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #237479 - java.lang.IndexOutOfBoundsException: start=-1073737142 < 0 in DefaultToken.text().
Comment 6 Miloslav Metelka 2013-11-13 09:28:29 UTC
*** Bug 237931 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Prox 2013-11-14 10:00:56 UTC
Marking as patch candidate since this is needed for integration of fix for issue 237479
Comment 8 Miloslav Metelka 2013-11-14 12:43:12 UTC
In release74:
7c0e6ee470d8 transplanted to 84360afbeab0
1d1a0b5dc515 transplanted to fd558d76bfd7
Comment 9 Quality Engineering 2013-11-15 01:36:10 UTC
Integrated into 'releases/release74', will be available in build *201311142201* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/84360afbeab0
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #237479 - java.lang.IndexOutOfBoundsException: start=-1073737142 < 0 in DefaultToken.text() - added extra logging output for better error diagnostics.
(transplanted from 7c0e6ee470d8de55ec1c7a296df642aa90809af2)
Comment 10 Dusan Balek 2013-12-04 15:00:03 UTC
*** Bug 237186 has been marked as a duplicate of this bug. ***