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 224079 - ArrayIndexOutOfBoundsException: 3933
Summary: ArrayIndexOutOfBoundsException: 3933
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 09:50 UTC by mstarnacki
Modified: 2013-03-20 13:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196794


Attachments
stacktrace (2.27 KB, text/plain)
2012-12-20 09:50 UTC, mstarnacki
Details
stacktrace (2.74 KB, text/plain)
2013-02-04 12:49 UTC, Petr Cyhelsky
Details
stacktrace (2.74 KB, text/plain)
2013-03-05 10:27 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mstarnacki 2012-12-20 09:50:27 UTC
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)
Comment 1 mstarnacki 2012-12-20 09:50:29 UTC
Created attachment 129573 [details]
stacktrace
Comment 2 Petr Cyhelsky 2013-02-04 12:49:59 UTC
Created attachment 131000 [details]
stacktrace
Comment 3 Jiri Sedlacek 2013-02-25 13:36:26 UTC
See also the mentioned bugdb.
Comment 4 Petr Cyhelsky 2013-03-05 10:18:40 UTC
steps: invoke instrumented memory profiling with both checkboxes unchecked -> take snapshot -> end session -> profile memory again with both checkboxes checked -> take snapshot asap
Comment 5 Petr Cyhelsky 2013-03-05 10:27:15 UTC
Created attachment 132193 [details]
stacktrace
Comment 6 Petr Cyhelsky 2013-03-11 05:40:27 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/11c1006876bf
Comment 7 Quality Engineering 2013-03-12 02:05:51 UTC
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
Comment 8 Jiri Sedlacek 2013-03-12 09:28:49 UTC
Verified, not reproducible in NetBeans IDE Dev (Build 201303112300).
Comment 9 Petr Cyhelsky 2013-03-13 06:55:58 UTC
transplanted into release73 branch as: 
http://hg.netbeans.org/releases/rev/218b51e0541a
Comment 10 Petr Cyhelsky 2013-03-13 12:59:12 UTC
increasing spec. version: http://hg.netbeans.org/releases/rev/1ff973785823
Comment 11 Quality Engineering 2013-03-14 21:09:20 UTC
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)
Comment 12 Marian Mirilovic 2013-03-20 13:44:14 UTC
confirmed the particular changeset was integrated into release73 branch that will be a part of NetBeans 7.3 Patch 1 codebase - verified