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 253439

Summary: NullPointerException at org.netbeans.lib.profiler.results.cpu.AllThreadsMergedCPUCCTContainer.<init>
Product: profiler Reporter: Tomas Hurka <thurka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED WORKSFORME    
Severity: normal CC: thurka
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218495
Attachments: stacktrace
stacktrace

Description Tomas Hurka 2015-07-13 13:20:40 UTC
Build: NetBeans IDE Dev (Build 201507130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
thurka: ===




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.results.cpu.AllThreadsMergedCPUCCTContainer.<init>(AllThreadsMergedCPUCCTContainer.java:84)
   at org.netbeans.lib.profiler.results.cpu.CPUResultsSnapshot.createContainerForThreads(CPUResultsSnapshot.java:696)
   at org.netbeans.lib.profiler.results.cpu.CPUResultsSnapshot.getFlatProfile(CPUResultsSnapshot.java:240)
   at org.netbeans.lib.profiler.ui.cpu.SnapshotCPUView.setAggregation(SnapshotCPUView.java:585)
   at org.netbeans.lib.profiler.ui.cpu.SnapshotCPUView.setSnapshot(SnapshotCPUView.java:609)
   at org.netbeans.modules.profiler.snaptracer.impl.TracerView$SnapshotView.setData(TracerView.java:348)
Comment 1 Tomas Hurka 2015-07-13 13:20:44 UTC
Created attachment 154592 [details]
stacktrace
Comment 2 Tomas Hurka 2015-08-04 13:54:28 UTC
Created attachment 155167 [details]
stacktrace

1) open npss snapshot attached to bug #254122. 
2) select some samples in 'Stack depth' 
3) NPE
Comment 3 Tomas Hurka 2016-09-01 14:39:26 UTC
I am not able to reproduce it in current dev. build.