Bug 3415 - Get NPE in frysk.gui.monitor.ObserversMenu.setCurrentProc
Summary: Get NPE in frysk.gui.monitor.ObserversMenu.setCurrentProc
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-10-24 04:09 UTC by Yao Qi
Modified: 2006-11-28 16:46 UTC (History)
4 users (show)

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 Yao Qi 2006-10-24 04:09:59 UTC
On FC rawhide x86 and FC5 x86_64, with frysk cvs head(20061024).

Steps to Reproduce:
1) Create  a debug ssession, and add firefox to "Observed Process Groups"
2) Create a "Custom Observer", select "event"  as "Signaled Observer", click "OK"
3)  Clike  "NoName" observer for firefox, click  "Finish"  
4)  In frysk monitor,  clike menu "obsersers"-> "manage custom  observers",
delete "NoName" observer.
5) Right click  "firefox" in "Processes"  window,  move mouse to   "Add 
obsersser",  NPE could be got  ,

[qiyao@GreenHouse build-frysk]$ G_SLICE=always-malloc ./frysk-gui/frysk/gui/FryskGui
GTK Accessibility Module initialized
java.lang.NullPointerException
   at frysk.gui.monitor.ObserversMenu.setCurrentProc(FryskGui)
   at frysk.gui.monitor.ProcMenu$4.mouseEvent(FryskGui)
   at org.gnu.gtk.Widget.fireMouseEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Widget.handleMouseEnter(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)