Bug 2931

Summary: Add/remove process with child processes to monitor list = NullPointerException
Product: frysk Reporter: Len DiMaggio <ldimaggi>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal CC: pmuldoon
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1632    
Attachments: Screenshot

Description Len DiMaggio 2006-07-17 14:58:47 UTC
In Frysk as built from CVS on 20060714, in session creation Druid, some
processes (e.g., bonobo-activation-server) are shown as having child processes -
see screenshot attachment.

If one of these processes is added to the list of processes to monitor, and is
then removed from this list - the following exception is raised:

java.lang.NullPointerException
   at org.gnu.gtk.TreeModel.getIter(libgtkjava-2.8.so)
   at frysk.gui.druid.CreateFryskSessionDruid.changeGroupState(FryskGui)
   at frysk.gui.druid.CreateFryskSessionDruid$3.buttonEvent(FryskGui)
   at org.gnu.gtk.Button.fireButtonEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Button.handleClick(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
Comment 1 Len DiMaggio 2006-07-17 15:01:12 UTC
Created attachment 1169 [details]
Screenshot
Comment 2 Mike Cvet 2006-07-17 17:48:40 UTC
2006-07-17  Mike Cvet  <mcvet@redhat.com>

	* ProcWiseDataModel.java (searchName): Added another split over (" ") so
	that processes called foo (# child processes) will also be found by
	the name search. Fixes #2931.