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.
Build: NetBeans IDE Dev (Build 201212180001) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b15 OS: Linux User Comments: mstarnacki: Generaly was problem with stopping Glassfish server with profile for WebApplication under memory profiling. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 3933 at org.netbeans.lib.profiler.ui.memory.MemoryResultsPanel.sortResultsByClassName(MemoryResultsPanel.java:553) at org.netbeans.lib.profiler.ui.memory.LivenessResultsPanel.getResultsSortedByClassName(LivenessResultsPanel.java:218) at org.netbeans.lib.profiler.ui.memory.LivenessResultsPanel.getResultsSortedByLiveObjSize(LivenessResultsPanel.java:260) at org.netbeans.lib.profiler.ui.memory.LivenessResultsPanel.sortResults(LivenessResultsPanel.java:696) at org.netbeans.lib.profiler.ui.memory.LivenessResultsPanel.getResultsTable(LivenessResultsPanel.java:349) at org.netbeans.lib.profiler.ui.memory.MemoryResultsPanel.prepareResults(MemoryResultsPanel.java:184)
Created attachment 129573 [details] stacktrace
Created attachment 131000 [details] stacktrace
See also the mentioned bugdb.
steps: invoke instrumented memory profiling with both checkboxes unchecked -> take snapshot -> end session -> profile memory again with both checkboxes checked -> take snapshot asap
Created attachment 132193 [details] stacktrace
fixed in http://hg.netbeans.org/profiler-main/rev/11c1006876bf
Integrated into 'main-golden', will be available in build *201303112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/11c1006876bf User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #224079 - MemoryCallGraphBuilder should return actual number of profiled classes
Verified, not reproducible in NetBeans IDE Dev (Build 201303112300).
transplanted into release73 branch as: http://hg.netbeans.org/releases/rev/218b51e0541a
increasing spec. version: http://hg.netbeans.org/releases/rev/1ff973785823
Integrated into 'releases', will be available in build *201303141828* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/218b51e0541a User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #224079 - MemoryCallGraphBuilder should return actual number of profiled classes (transplanted from 11c1006876bf0abac72fc5b3864ea05cc7891517)
confirmed the particular changeset was integrated into release73 branch that will be a part of NetBeans 7.3 Patch 1 codebase - verified