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 - NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.fillZeroLevel
Summary: NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.fillZero...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 08:53 UTC by Exceptions Reporter
Modified: 2016-06-10 13:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224452


Attachments
stacktrace (1.10 KB, text/plain)
2016-06-10 08:53 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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