Bug 4580

Summary: Frysk Debug Window backtraces when stopping a task
Product: frysk Reporter: Rick Moseley <rmoseley>
Component: generalAssignee: Rick Moseley <rmoseley>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633    

Description Rick Moseley 2007-06-01 13:53:28 UTC
After opening a debug window and then running an executable, continuing the
execution of the executed process and then stopping it causes a backtrace like this:

java.lang.NullPointerException
   at frysk.gui.srcwin.SourceWindow.populateStackBrowser(SourceWindow.java:706)
   at frysk.gui.srcwin.SourceWindow$LockObserver$38.run(SourceWindow.java:3222)
   at org.gnu.glib.CustomEvents.runEvents(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(Gui.java:244)
   at frysk.gui.FryskGui.main(FryskGui.java:59)
Comment 1 Rick Moseley 2007-06-01 16:43:34 UTC
Fixed in CVS head with changes to SourceWindow.java.  The DebugProcess object
was not being checked for nullness before trying to get the WatchList.