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 254900

Summary: NullPointerException at org.netbeans.lib.profiler.heap.HprofHeap.fillHeapTagBounds
Product: profiler Reporter: Tomas Stupka <tstupka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219585
Attachments: stacktrace

Description Tomas Stupka 2015-09-01 10:30:31 UTC
This bug was originally marked as duplicate of bug 248278, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20150901-35e5ab47fab7)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b07, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b07
OS: Mac OS X

User Comments:
tstupka: tried to open a heap dump




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.heap.HprofHeap.fillHeapTagBounds(HprofHeap.java:1040)
   at org.netbeans.lib.profiler.heap.HprofHeap.<init>(HprofHeap.java:137)
   at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:87)
   at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:69)
   at org.netbeans.modules.profiler.heapwalk.HeapWalker.createHeap(HeapWalker.java:192)
   at org.netbeans.modules.profiler.heapwalk.HeapWalker.<init>(HeapWalker.java:91)
Comment 1 Tomas Stupka 2015-09-01 10:30:32 UTC
Created attachment 155795 [details]
stacktrace
Comment 2 Tomas Hurka 2015-09-01 10:32:56 UTC
Please upload the heap dump to deadlock.netbeans.org
Comment 4 Tomas Hurka 2015-09-01 11:40:14 UTC
(In reply to Tomas Stupka from comment #3)
> http://statistics.netbeans.org/exceptions/exception.do?id=790748
This heap dump is broken.
Comment 5 Tomas Hurka 2015-09-01 18:11:47 UTC
Broken heap dump detected.

Done in profiler-main

changeset:   290760:d5ae708a4860
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Sep 01 20:09:50 2015 +0200
summary:     bugfix #254900, detect broken heap dump
Comment 6 Quality Engineering 2015-09-04 01:23:52 UTC
Integrated into 'main-silver', will be available in build *201509040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d5ae708a4860
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #254900, detect broken heap dump