Bug 2931 - Add/remove process with child processes to monitor list = NullPointerException
Summary: Add/remove process with child processes to monitor list = NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-07-17 14:58 UTC by Len DiMaggio
Modified: 2006-10-19 17:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Screenshot (242.83 KB, image/png)
2006-07-17 15:01 UTC, Len DiMaggio
Details

Note You need to log in before you can comment on or make changes to this bug.
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.