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 050616 Always I invoke "Show allocations Stack Traces" action on some result of memory profiling the NPE is thrown. It doesn't depend on state of "Record Strack Trace for Allocation" option - "Show Allocations ..." is always enabled. java.lang.NullPointerException com.sun.tools.profiler.results.memory.RuntimeObjLivenessTermCCTNode.calculateTotalNLiveObjects(RuntimeObjLivenessTermCCTNode.java:102) com.sun.tools.profiler.results.memory.PresoObjLivenessCCTNode.generateMirrorNode(PresoObjLivenessCCTNode.java:72) com.sun.tools.profiler.results.memory.PresoObjLivenessCCTNode.createPresentationCCT(PresoObjLivenessCCTNode.java:60) com.sun.tools.profiler.results.memory.LivenessMemoryResultsSnapshot.createPresentationCCT(LivenessMemoryResultsSnapshot.java:218) com.sun.tools.profiler.results.memory.MemoryResultsSnapshot.createPresentationCCT(MemoryResultsSnapshot.java:180) com.sun.tools.profiler.results.memory.MemoryCCTManager.<init>(MemoryCCTManager.java:28) com.sun.tools.profiler.ui.memory.SnapshotReverseMemCallGraphPanel.setClassId(SnapshotReverseMemCallGraphPanel.java:38) org.netbeans.modules.profiler.MemorySnapshotPanel.setReverseCallGraphClass(MemorySnapshotPanel.java:94) org.netbeans.modules.profiler.MemorySnapshotPanel.access$100(MemorySnapshotPanel.java:35) org.netbeans.modules.profiler.MemorySnapshotPanel$SnapshotActionsHandler.showStacksForClass(MemorySnapshotPanel.java:101) com.sun.tools.profiler.ui.memory.SnapshotLivenessResultsPanel.actionPerformed(SnapshotLivenessResultsPanel.java:85)
Self assign
This should happen no more.
build 050620 I still see the exception there.
Now the menu item for Show allocations is not present if the allocation stack traces were not recorder. Fixed the cause of the NPE.
verified in 050711