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 - NullPointerException at org.netbeans.lib.profiler.heap.ArrayDump.getLength
Summary: NullPointerException at org.netbeans.lib.profiler.heap.ArrayDump.getLength
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2016-05-02 12:54 UTC by Exceptions Reporter
Modified: 2016-05-07 01:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223831


Attachments
stacktrace (1.18 KB, text/plain)
2016-05-02 12:54 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-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