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 137749 - NullPointerException at org.netbeans.lib.profiler.heap.HprofHeap.getClassDumpSegment
Summary: NullPointerException at org.netbeans.lib.profiler.heap.HprofHeap.getClassDump...
Status: RESOLVED DUPLICATE of bug 131994
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 17:22 UTC by xferro
Modified: 2008-06-19 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 39764


Attachments
stacktrace (721 bytes, text/plain)
2008-06-19 17:22 UTC, xferro
Details
The binary dump (270.19 KB, text/plain)
2008-06-19 17:55 UTC, xferro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xferro 2008-06-19 17:22:22 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Problems when loading a binary memory and cpu dump
Comment 1 xferro 2008-06-19 17:22:35 UTC
Created attachment 63121 [details]
stacktrace
Comment 2 Tomas Hurka 2008-06-19 17:49:05 UTC
I am little bit confused by "binary memory and cpu dump". HeapWalker is used to open memory heap dump in HPROF binary format. Is it what you have?
Is it possible to attach your heap dump? How did you obtain your heap dump?
Comment 3 Tomas Hurka 2008-06-19 17:52:06 UTC
Probably duplicate of issue #131994.
Comment 4 xferro 2008-06-19 17:55:47 UTC
Created attachment 63123 [details]
The binary dump
Comment 5 xferro 2008-06-19 17:57:38 UTC
It's a memory heap and cpu dump in binary format.
Comment 6 Tomas Hurka 2008-06-19 18:09:06 UTC
I am sorry, but your heap dump is empty. There is no information about heap (classes and instance). It looks like you took it with hprof agent. Unless you are 
using JDK 1.4 or older, there is no reason to use hprof agent to take heap dump. If you have questions about taking heap dump, please use mailing lists. 

*** This issue has been marked as a duplicate of 131994 ***