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.
Product Version: NetBeans IDE Dev (Build 200709200000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Performed steps according to description of issue 107486, generated 6 hits. Opened report and tried to click through all the snapshots RESULT: Got AIOOBE for some of the snapshots: java.lang.ArrayIndexOutOfBoundsException: 0 at com.sun.tools.profiler.ui.memory.MemoryResultsPanel.sortResultsByClassName(MemoryResultsPanel.java:526) at com.sun.tools.profiler.ui.memory.LivenessResultsPanel.getResultsSortedByClassName(LivenessResultsPanel.java:445) ...
Created attachment 49455 [details] Exception
Created attachment 49456 [details] Snapshot
The same result when snapshot is opened from Saved Snapshots list.
the main reason is that a completely empty snapshot was taken - the fix should correct the way such a snapshot is handled and also prevent the triggered PP to generate a completely empty snapshot
there were also additional problems with inconsistency between the number of instrumented classes and the number of class names stored in the snapshot this is resolved, hopefully, by improving thread safety while taking snapshot
Filed another issue 120696 about the unavailability of data for Triggered PP Snapshot. Verified this issue with Product Version: NetBeans IDE Dev (Build 200710301200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)