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 48845 - ArrayIndexOutOfBoundsException in *Sorter
Summary: ArrayIndexOutOfBoundsException in *Sorter
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 14:29 UTC by Jiri Sedlacek
Modified: 2007-02-20 18:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error listing from JVM (1.41 KB, text/plain)
2004-09-10 14:29 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2004-09-10 14:29:06 UTC
When profiling Memory Usage (Java2Demo) 
and "Update Results Automatically" is on, the 
ArrayIndexOutOfBoundsException is sometimes 
raised after profiling startup.

It seems this occurs when the target application 
stops to respond for a while, performing some 
time-consuming task.

The exception is raised in LongSorter.med3 method,
 but also other sorting classes could be affected 
because of using the same algorithm.
Comment 1 Jiri Sedlacek 2004-09-10 14:29:59 UTC
Created attachment 17545 [details]
Error listing from JVM
Comment 2 mishadmitriev 2004-09-18 02:12:43 UTC
Jirka, please look into this issue - it seems to be happening in the 
same area of code you are working right now, related to sorting the 
results before presentation. This failure is probably due to wrong 
indexes, that are out of the array bounds, supplied to the sorting 
routine.
Comment 3 Jiri Sedlacek 2004-10-07 16:12:54 UTC
Fixed as a side effect when using presorting. Available for M2.
Comment 4 iformanek 2004-11-09 14:59:58 UTC
Updating the status whiteboard
Comment 5 ehucka 2006-10-09 12:10:24 UTC
Verification of old issues.
Comment 6 Alexander Kouznetsov 2007-02-12 22:38:27 UTC
Closing old issues.
Comment 7 Alexander Kouznetsov 2007-02-20 18:31:38 UTC
Reverting to the original Target Milestone value changed by mistake. Sorry for
inconvenience.