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 259098

Summary: NullPointerException at org.netbeans.lib.profiler.heap.ArrayDump.getLength
Product: profiler Reporter: Exceptions Reporter <exceptions_reporter>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal CC: thurka
Priority: P3 Keywords: VISUALVM
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223831
Attachments: stacktrace

Description Exceptions Reporter 2016-05-02 12:54:29 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE 8.1 (Build 201510222201)
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: open heap dump #815156
compute path to GC root




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.heap.ArrayDump.getLength(ArrayDump.java:72)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.computeOneLevel(NearestGCRoot.java:161)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.computeGCRoots(NearestGCRoot.java:133)
   at org.netbeans.lib.profiler.heap.NearestGCRoot.getNearestGCRootPointer(NearestGCRoot.java:99)
   at org.netbeans.lib.profiler.heap.HprofHeap.getNearestGCRootPointer(HprofHeap.java:662)
   at org.netbeans.lib.profiler.heap.InstanceDump.getNearestGCRootPointer(InstanceDump.java:108)
Comment 1 Exceptions Reporter 2016-05-02 12:54:31 UTC
Created attachment 159511 [details]
stacktrace
Comment 2 Tomas Hurka 2016-05-02 13:02:00 UTC
Fixed in profiler-main

changeset:   296479:65f2812de54d
user:        Tomas Hurka <thurka@netbeans.org>
date:        Mon May 02 15:00:36 2016 +0200
summary:     bugfix #259098, classDump can be null, when heap dump is broken
Comment 3 Quality Engineering 2016-05-07 01:59:58 UTC
Integrated into 'main-silver', will be available in build *201605070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/65f2812de54d
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #259098, classDump can be null, when heap dump is broken