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 205482

Summary: [71cat] ArrayIndexOutOfBoundsException: 55919
Product: profiler Reporter: aldobrucale <aldobrucale>
Component: BaseAssignee: J Bachorik <yardus>
Status: RESOLVED FIXED    
Severity: normal CC: cyhelsky, kganfield
Priority: P3 Keywords: VISUALVM
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 183128
Attachments: stacktrace
stacktrace
stacktrace

Description aldobrucale 2011-11-23 15:12:57 UTC
Build: NetBeans IDE 7.1 RC1 (Build 201111171527)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Linux

User Comments:
aldobrucale: Stopping a profiled (Netbeans RCP) application




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 55919
   at org.netbeans.lib.profiler.results.cpu.cct.CCTFlattener.onNode(CCTFlattener.java:220)
   at org.netbeans.lib.profiler.results.RuntimeCCTNodeProcessor$PluginAdapter.onNode(RuntimeCCTNodeProcessor.java:109)
   at org.netbeans.lib.profiler.results.RuntimeCCTNodeProcessor$SimpleItem.process(RuntimeCCTNodeProcessor.java:199)
   at org.netbeans.lib.profiler.results.RuntimeCCTNodeProcessor.processStack(RuntimeCCTNodeProcessor.java:243)
   at org.netbeans.lib.profiler.results.RuntimeCCTNodeProcessor.process(RuntimeCCTNodeProcessor.java:231)
   at org.netbeans.lib.profiler.results.cpu.FlatProfileBuilder.createFlatProfile(FlatProfileBuilder.java:121)
Comment 1 aldobrucale 2011-11-23 15:12:59 UTC
Created attachment 113476 [details]
stacktrace
Comment 2 Petr Cyhelsky 2012-01-09 07:41:24 UTC
Created attachment 114723 [details]
stacktrace
Comment 3 Kenneth Ganfield 2012-03-26 16:16:36 UTC
Created attachment 117271 [details]
stacktrace

profiling enterprise application
Comment 4 J Bachorik 2012-04-23 12:23:32 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/88a0f315ab18
Comment 5 Quality Engineering 2012-04-25 09:58:09 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/88a0f315ab18
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #205482: Need to make sure only consistent data are accessed during the generation of CPU live results flat view
Comment 6 J Bachorik 2012-04-25 14:27:05 UTC
Changed the approach a bit to save some memory - #111fde443e6c
Comment 7 Quality Engineering 2012-04-26 10:34:12 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/84092a76e375
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #205482: A different approach to flattening only relevant nodes which will save us some precious memory