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.
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)
Created attachment 38597 [details] Exception
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
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