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 252025 - ArrayIndexOutOfBoundsException: List contains 262186 items, but tried to fetch item 524030
Summary: ArrayIndexOutOfBoundsException: List contains 262186 items, but tried to fetc...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-23 14:44 UTC by Exceptions Reporter
Modified: 2015-08-15 01:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216934


Attachments
stacktrace (2.20 KB, text/plain)
2015-04-23 14:44 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-23 14:44:25 UTC
This bug was originally marked as duplicate of bug 161090, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
GUEST: Just displayin a long wildlfy log in output panel.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: List contains 262186 items, but tried to fetch item 524030
   at org.netbeans.core.output2.IntList.get(IntList.java:97)
   at org.netbeans.core.output2.AbstractLines.getByteLineStart(AbstractLines.java:415)
   at org.netbeans.core.output2.AbstractLines.getCharLineStart(AbstractLines.java:419)
   at org.netbeans.core.output2.AbstractLines.getLineStart(AbstractLines.java:408)
   at org.netbeans.core.output2.OutputDocument$DO.calc(OutputDocument.java:738)
   at org.netbeans.core.output2.OutputDocument$DO.getChildrenAdded(OutputDocument.java:788)
Comment 1 Exceptions Reporter 2015-04-23 14:44:27 UTC
Created attachment 153328 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-13 08:24:01 UTC
Can you reproduce this bug?
Don't you remember what was in the output? Any special characters, very long lines, or ANSI sequences?

Were you entering some input into the output window when the exception appeared?

Thank you.
Comment 3 Jaroslav Havlin 2015-08-13 09:08:01 UTC
http://hg.netbeans.org/core-main/rev/dd789b4ce14c
I've found a problem with synchronization in OutputDocument.DO.
It should work fine now.
Comment 4 Quality Engineering 2015-08-15 01:58:35 UTC
Integrated into 'main-silver', will be available in build *201508150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dd789b4ce14c
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #252025: Fix synchronization in OutputDocument.DO.calc()