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 262390

Summary: NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.fillZeroLevel
Product: profiler Reporter: Exceptions Reporter <exceptions_reporter>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal CC: thurka
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224452
Attachments: stacktrace

Description Exceptions Reporter 2016-06-10 08:53:31 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20160610-89f8a448e170)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Mac OS X

User Comments:
GUEST: 1) open heap dump from exception report 815156
2) compute path to GC root




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.heap.NearestGCRoot.fillZeroLevel(NearestGCRoot.java:257)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.computeGCRoots(NearestGCRoot.java:128)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.getNearestGCRootPointer(NearestGCRoot.java:98)
   at org.netbeans.lib.profiler.heap.HprofHeap.getNearestGCRootPointer(HprofHeap.java:679)
   at org.netbeans.lib.profiler.heap.InstanceDump.getNearestGCRootPointer(InstanceDump.java:108)
   at org.netbeans.modules.profiler.heapwalk.model.BrowserUtils.computeChildrenToNearestGCRoot(BrowserUtils.java:233)
Comment 1 Exceptions Reporter 2016-06-10 08:53:33 UTC
Created attachment 160025 [details]
stacktrace
Comment 2 Tomas Hurka 2016-06-10 13:32:32 UTC
Fixed in profiler-main

changeset:   297387:c160853f77f3
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Jun 10 15:31:30 2016 +0200
summary:     bugfix #262390, handle broken heapdump gracefuly