Bug 4580 - Frysk Debug Window backtraces when stopping a task
Summary: Frysk Debug Window backtraces when stopping a task
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-06-01 13:53 UTC by Rick Moseley
Modified: 2007-06-01 16:43 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 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.