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.
Product Version: NetBeans IDE Dev (Build 200804010004) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 Steps to reproduce: Create test application and perform memory profiling for it. Take memory snapshot and invoke Find in Results command. Type any class name (for example String) and click OK. The NPE is thrown: java.lang.NullPointerException at org.netbeans.modules.profiler.MemorySnapshotPanel.performFind(MemorySnapshotPanel.java:342) at org.netbeans.modules.profiler.SnapshotResultsWindow$1.actionPerformed(SnapshotResultsWindow.java:377) at org.openide.util.actions.CallbackSystemAction.actionPerformed(CallbackSystemAction.java:204) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Reproduced. This only happens when Record stack trace for allocations option was disabled for profiling. As a workaround filtering & sorting by classname can be used.
Fixed for 6.5 M1. changeset: 84925:a2768f114c21 date: Wed Jun 18 12:34:57 2008 +0200 summary: Bugfix #131730 Search string not set for null panel
Integrated into 'main-golden', available in NB_Trunk_Production #267 build Changeset: http://hg.netbeans.org/main/rev/a2768f114c21 User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #131730 Search string not set for null panel
verified in build 20080619009
Integrated into 'main-golden', available in NB_Trunk_Production #285 build Changeset: http://hg.netbeans.org/main/rev/a5dcc82812e3 User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #131730 Do not set JComboBox border for custom JComponent on GTK
Note that above info is incorrect. There is a typo in above commit message. #131730 should be #135812.
*** Issue 125860 has been marked as a duplicate of this issue. ***