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 254806 - ArrayIndexOutOfBoundsException: List contains 303603 items, but tried to fetch item 607177
Summary: ArrayIndexOutOfBoundsException: List contains 303603 items, but tried to fetc...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 09:21 UTC by lhochet
Modified: 2015-09-23 01:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219516


Attachments
stacktrace (2.22 KB, text/plain)
2015-08-28 09:21 UTC, lhochet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lhochet 2015-08-28 09:21:14 UTC
This bug was originally marked as duplicate of bug 252025, 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 201508250002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b02, Java(TM) SE Runtime Environment, 1.8.0_66-ea-b02
OS: Windows 7

User Comments:
lhochet: running two programs for an hour or so




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: List contains 303603 items, but tried to fetch item 607177
   at org.netbeans.core.output2.IntList.get(IntList.java:97)
   at org.netbeans.core.output2.AbstractLines.getByteLineStart(AbstractLines.java:436)
   at org.netbeans.core.output2.AbstractLines.getCharLineStart(AbstractLines.java:440)
   at org.netbeans.core.output2.AbstractLines.getLineStart(AbstractLines.java:429)
   at org.netbeans.core.output2.OutputDocument$DO.calc(OutputDocument.java:737)
   at org.netbeans.core.output2.OutputDocument$DO.getChildrenAdded(OutputDocument.java:792)
Comment 1 lhochet 2015-08-28 09:21:16 UTC
Created attachment 155712 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-09-21 15:09:55 UTC
http://hg.netbeans.org/core-main/rev/a8dc68636075
It should work fine now.

Thank you for reporting.
Comment 3 Quality Engineering 2015-09-23 01:24:42 UTC
Integrated into 'main-silver', will be available in build *201509230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a8dc68636075
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #254806: ArrayIndexOutOfBoundsException in OutputDocument