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.
Open the attached heap dump, click the Find button to compute first 20 objects by retained size. Exception is thrown: java.lang.NullPointerException at org.netbeans.lib.profiler.heap.HprofHeap.computeRetainedSizeByClass(HprofHeap.java:653) at org.netbeans.lib.profiler.heap.ClassDump.getRetainedSizeByClass(ClassDump.java:130) at org.netbeans.modules.profiler.heapwalk.ClassesListController.getData(ClassesListController.java:181) at org.netbeans.modules.profiler.heapwalk.ui.ClassesListControllerUI$17$2.run(ClassesListControllerUI.java:879) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036) Works fine in 7.2.
Created attachment 125693 [details] heap dump (.7z)
Fixed in profiler-main changeset: 235589:622670492b01 user: Tomas Hurka <thurka@netbeans.org> date: Thu Oct 11 11:02:22 2012 +0200 summary: bugfix #219826 Instance.getJavaClass() can return null in broken heap dump
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/622670492b01 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #219826 Instance.getJavaClass() can return null in broken heap dump