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 201752 - NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.computeGCRoots
Summary: NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.computeG...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2011-09-07 14:57 UTC by Exceptions Reporter
Modified: 2011-09-09 15:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181008


Attachments
stacktrace (4.22 KB, text/plain)
2011-09-07 14:57 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-09-07 14:57:33 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20110907-5fe4867e7eec)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3504
OS: Mac OS X

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.heap.NearestGCRoot.computeGCRoots(NearestGCRoot.java:118)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.getNearestGCRootPointer(NearestGCRoot.java:99)
   at org.netbeans.lib.profiler.heap.InstanceDump.getNearestGCRootPointer(InstanceDump.java:108)
   at org.netbeans.modules.profiler.heapwalk.model.BrowserUtils.computeChildrenToNearestGCRoot(BrowserUtils.java:173)
   at org.netbeans.modules.profiler.heapwalk.ReferencesBrowserController$2.doInBackground(ReferencesBrowserController.java:230)
   at org.netbeans.lib.profiler.ui.SwingWorker$2.run(SwingWorker.java:122)
Comment 1 Exceptions Reporter 2011-09-07 14:57:37 UTC
Created attachment 110477 [details]
stacktrace
Comment 2 Tomas Hurka 2011-09-07 15:29:15 UTC
Steps
1) load heap dump from issue #201712
2) open instance view and compute GC roots
Comment 3 Tomas Hurka 2011-09-07 15:33:06 UTC
Fixed in profiler-main

changeset:   201024:309f97e64af2
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Sep 07 17:32:30 2011 +0200
summary:     bugfix #201752, some of the REF_CLASSES can be missing in heap dump
Comment 4 Quality Engineering 2011-09-09 15:02:05 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/309f97e64af2
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #201752, some of the REF_CLASSES can be missing in heap dump