Bug 2882 - Editing a session to remove reference to non-running process = Exception
Summary: Editing a session to remove reference to non-running process = Exception
Status: RESOLVED INVALID
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 3401
  Show dependency treegraph
 
Reported: 2006-07-05 17:48 UTC by Len DiMaggio
Modified: 2007-03-19 19:50 UTC (History)
0 users

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


Attachments

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