Bug 2882

Summary: Editing a session to remove reference to non-running process = Exception
Product: frysk Reporter: Len DiMaggio <ldimaggi>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3401    

Description Len DiMaggio 2006-07-05 17:48:54 UTC
Editing a session to remove reference to non-running process = Exception

In Frysk as built from CVS on 20060629.

To recreate:

1) Create a debug session to watch the gedit process (start gedit before
starting Frysk, so that gedit shows up in the process list displayed by Frysk).

2) Save the session, exit Frysk.

3) Exit gedit.

4) Rstart the Frysk GUI.

5) Edit the saved gedit session.

6) Remove gedit from the list of processes to watch. This 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 Sami Wagiaalla 2007-03-19 19:50:02 UTC
Now the process list would come up empty in current Frysk there would be no
gedit to remove.