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 221945

Summary: ArrayIndexOutOfBoundsException: 0
Product: profiler Reporter: Petr Cyhelsky <cyhelsky>
Component: BaseAssignee: Petr Cyhelsky <cyhelsky>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 194977
Attachments: stacktrace

Description Petr Cyhelsky 2012-11-12 10:38:16 UTC
Build: NetBeans IDE Dev (Build 201211120001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b03, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b09
OS: Linux

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 0
   at org.netbeans.lib.profiler.results.cpu.FlatProfileContainer.getTimeInMcs1AtRow(FlatProfileContainer.java:130)
   at org.netbeans.lib.profiler.ui.cpu.LiveFlatProfileCollectorPanel.exportXML(LiveFlatProfileCollectorPanel.java:384)
   at org.netbeans.lib.profiler.ui.cpu.LiveFlatProfileCollectorPanel.exportData(LiveFlatProfileCollectorPanel.java:342)
   at org.netbeans.lib.profiler.ui.cpu.LiveFlatProfilePanel.exportData(LiveFlatProfilePanel.java:180)
   at org.netbeans.modules.profiler.LiveResultsWindow.exportData(LiveResultsWindow.java:789)
   at org.netbeans.modules.profiler.ExportAction$7.doInBackground(ExportAction.java:426)
Comment 1 Petr Cyhelsky 2012-11-12 10:38:17 UTC
Created attachment 127605 [details]
stacktrace
Comment 2 Petr Cyhelsky 2012-11-12 12:57:07 UTC
fixed in: http://hg.netbeans.org/profiler-main/rev/f7c857a7335d
Comment 3 Quality Engineering 2012-11-15 02:43:48 UTC
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f7c857a7335d
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #221945 - differ between sampled and instrumented live results