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.
Build: NetBeans IDE Dev (Build 201309250002) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Linux User Comments: GUEST: I deleted a heap dump. This doesn't seem to work and I again deleted the same heap dump. Later the NPE arised. ehsavoie: Deleting a thread dump Stacktrace: java.lang.NullPointerException at org.netbeans.modules.profiler.ProfilerControlPanel2$SnapshotsPanel.isOpen(ProfilerControlPanel2.java:1229) at org.netbeans.modules.profiler.ProfilerControlPanel2$SnapshotsPanel.access$1000(ProfilerControlPanel2.java:941) at org.netbeans.modules.profiler.ProfilerControlPanel2$SnapshotsPanel$3.getListCellRendererComponent(ProfilerControlPanel2.java:1106) at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:208) at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317) at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240)
Created attachment 140565 [details] stacktrace
Created attachment 142189 [details] stacktrace Deleting heap dumps
Deleting heap dumps (open or previously closed) is kind of tricky as some data are still being memory-mapped. Implemented a fix to not throw NPEs in this case: http://hg.netbeans.org/profiler-main/rev/5e917f2464d2.