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.
Steps: - run any app with Liveness profiling - save the snapshot - close the snapshot - open the snapshot again The memory results now incorrectly maps class names to items, some items throw NPE when Allocation Stack traces are requested: *********** Exception occurred ************ at 1:45 PM on Jun 18, 2005 java.lang.NullPointerException at com.sun.tools.profiler.ui.memory.SnapshotReverseMemCallGraphPanel.setClassId (SnapshotReverseMemCallGraphPanel.java:40) at org.netbeans.modules.profiler.MemorySnapshotPanel.setReverseCallGraphClass (MemorySnapshotPanel.java:97) at org.netbeans.modules.profiler.MemorySnapshotPanel.access$100 (MemorySnapshotPanel.java:35) at org.netbeans.modules.profiler.MemorySnapshotPanel$SnapshotActionsHandler.showSta cksForClass(MemorySnapshotPanel.java:104) at com.sun.tools.profiler.ui.memory.SnapshotLivenessResultsPanel.actionPerformed (SnapshotLivenessResultsPanel.java:85) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick (BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased (BasicMenuItemUI.java:1041) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Same is true for allocation results, regardless of whether allocation stack traces are on or off.
Fixed, see IN for details.
Verification of old issues.
Closing old issues.