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.
Analyze Performance, Entire Application, Profile All Classes Profiling Tomcat (TomcatJSPExample), clicked on Panel Tag File, got this exception: *********** Exception occurred ************ at 12:18 PM on Jul 17, 2005 java.lang.ArrayIndexOutOfBoundsException: 23679 at com.sun.tools.profiler.results.cpu.FlatProfileContainer.removeZeroInvocationEntr ies(FlatProfileContainer.java:122) at com.sun.tools.profiler.results.cpu.FlatProfileContainerFree.<init> (FlatProfileContainerFree.java:42) at com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.createFlatProfileForAllTh reads(CPUCallGraphBuilder.java:107) at com.sun.tools.profiler.ui.cpu.LiveFlatProfilePanel.updateLiveResults (LiveFlatProfilePanel.java:32) at org.netbeans.modules.profiler.LiveResultsWindow$3$1.run (LiveResultsWindow.java:278) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Fixed in M8. The issue was caused by the fact that the number of profiled methods may have been increased in the middle of processing the live results. The fix remembers the number of methods processed when arrays are created, rather than asking for the number again later from ProfilingSessionStatus.
*** Issue 61655 has been marked as a duplicate of this issue. ***
Verification of old issues.
Closing old issues.