Bug 201752 - NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.computeGCRoots
NullPointerException at org.netbeans.lib.profiler.heap.NearestGCRoot.computeG...
Status: RESOLVED FIXED
Product: profiler
Classification: Unclassified
Component: Base
7.0
All All
: P3 (vote)
: 7.1
Assigned To: Tomas Hurka
issues@profiler
EXCEPTIONS_REPORT
: VISUALVM
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo