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.
The following code returns null for valid classid: Heap heap = HeapFactory.createHeap(new File("path_heap_dump")); long javaclassId = 1822158616; JavaClass result = heap.getJavaClassByID(javaclassId); use heap dump from issue #190820.
Fixed in profiler-main. changeset: 178955:c5f2b58acff5 user: Tomas Hurka <thurka@netbeans.org> date: Thu Oct 07 19:46:33 2010 +0200 summary: bugfix #190835, make sure that createClassCollection() is invoked before using hprofHeap.idToOffsetMap.get()
Integrated into 'main-golden', will be available in build *201010090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c5f2b58acff5 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #190835, make sure that createClassCollection() is invoked before using hprofHeap.idToOffsetMap.get()