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 178129

Summary: [68cat] ArrayIndexOutOfBoundsException: 10380
Product: profiler Reporter: nleck <nleck>
Component: BaseAssignee: issues@profiler <issues>
Status: RESOLVED FIXED    
Severity: normal CC: pcw
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 163220
Attachments: stacktrace

Description nleck 2009-12-04 03:40:02 UTC
Build: NetBeans IDE 6.8 RC1 (Build 200911252200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.30.8-64.fc11.x86_64, amd64

User Comments:
nleck: profiling



Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 10380
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder$2.getInstrMethodClass(CPUCallGraphBuilder.java:820)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.debugMethod(CPUCallGraphBuilder.java:884)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.access$000(CPUCallGraphBuilder.java:72)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder$DebugInfoCollector.visit(CPUCallGraphBuilder.java:98)
        at org.netbeans.lib.profiler.results.cpu.cct.nodes.MethodCPUCCTNode.accept(MethodCPUCCTNode.java:110)
        at org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder.dumpStack(CPUCallGraphBuilder.java:904)
Comment 1 nleck 2009-12-04 03:40:06 UTC
Created attachment 92094 [details]
stacktrace
Comment 2 J Bachorik 2011-01-07 15:47:17 UTC
Fixed, at least the AIOOBE problem. The underlying data inconsistency still stays ...

http://hg.netbeans.org/profiler-main/rev/d5c57b4071ca
Comment 3 Quality Engineering 2011-01-09 06:19:33 UTC
Integrated into 'main-golden', will be available in build *201101090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d5c57b4071ca
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #178129: Preventing AIOOBE while discovering inconsistency in profiler data. Still logging a warning, though - the root cause will need to be addressed in the profiler engine once.