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 95779 - AIOOBE when selecting thread in CPU snapshot
Summary: AIOOBE when selecting thread in CPU snapshot
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 10:30 UTC by Alexander Kouznetsov
Modified: 2007-02-19 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.28 KB, text/plain)
2007-02-16 10:31 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-02-16 10:30:26 UTC
Profiler 070216
NetBeans IDE Dev (Build 200702151900)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
SunOS version 5.10 running on x86
en (nb); ISO646-US

Steps to reproduce:
- Profile Anagrams Game: Analyze Performance, Entire Application, Profile All
Classes
- Play with application
- Take a snaphsot
- Open Hot Spots Tab
- Select AWT-EventQueue-0 from Threads drop-down list
- RESULT: java.lang.ArrayIndexOutOfBoundsException: 2
	at
com.sun.tools.profiler.results.cpu.CPUResultsSnapshot.getFlatProfile(CPUResultsSnapshot.java:161)
Comment 1 Alexander Kouznetsov 2007-02-16 10:31:52 UTC
Created attachment 38597 [details]
Exception
Comment 2 J Bachorik 2007-02-16 11:53:48 UTC
after applying marker method filtering the threadIds don't correspond to the
position of CCTResults in the generated array. added custom mapping from
threadId to the CCTResults position
fixed in trunk
Comment 3 Alexander Kouznetsov 2007-02-19 12:58:55 UTC
Verified with

Profiler 070219
NetBeans IDE Dev (Build 200702182300)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251