Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 131730 - NPE of Find in memory results
NPE of Find in memory results
Product: profiler
Classification: Unclassified
Component: Base
PC All
: P2 (vote)
: 6.x
Assigned To: Jiri Sedlacek
: 125860 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2008-04-01 15:40 UTC by Maksim Khramov
Modified: 2008-08-19 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2008-04-01 15:40:10 UTC
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:
	at org.netbeans.modules.profiler.MemorySnapshotPanel.performFind(
	at org.netbeans.modules.profiler.SnapshotResultsWindow$1.actionPerformed(
	at org.openide.util.actions.CallbackSystemAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
[catch] at java.awt.EventQueue.dispatchEvent(
	at org.netbeans.core.TimableEventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Comment 1 Jiri Sedlacek 2008-06-16 13:32:25 UTC
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.
Comment 2 Jiri Sedlacek 2008-06-18 11:39:58 UTC
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
Comment 3 Quality Engineering 2008-06-18 15:58:43 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #267 build
User: Jiri Sedlacek <>
Log: Bugfix #131730 Search string not set for null panel
Comment 4 Rashid Urusov 2008-06-19 18:08:01 UTC
verified in build 20080619009
Comment 5 Quality Engineering 2008-06-27 16:00:42 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
User: Jiri Sedlacek <>
Log: Bugfix #131730 Do not set JComboBox border for custom JComponent on GTK
Comment 6 Tomas Hurka 2008-06-27 16:07:14 UTC
Note that above info is incorrect. There is a typo in above commit message. #131730 should be #135812.
Comment 7 Tomas Hurka 2008-08-19 15:24:20 UTC
*** Issue 125860 has been marked as a duplicate of this issue. ***

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo