Bug 4819 - Debug WIndow NPE's when hovering over a variable and right-clicking
Summary: Debug WIndow NPE's when hovering over a variable and right-clicking
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Adam Jocksch
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-07-20 18:21 UTC by Rick Moseley
Modified: 2007-08-01 19:57 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-07-20 18:21:26 UTC
When you hover over a variable in the debug window and right-click to get a
value you get an NPE like this:

java.lang.NullPointerException
   at frysk.gui.srcwin.SourceBuffer.getVariable(FryskGui)
   at frysk.gui.srcwin.SourceView.clickedOnTextArea(FryskGui)
   at frysk.gui.srcwin.SourceView.access$1(FryskGui)
   at frysk.gui.srcwin.SourceView$SourceViewListener.mouseEvent(FryskGui)
   at org.gnu.gtk.Widget.fireMouseEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Widget.handleButtonPressed(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)

I activated funit-child like this: funit-child 0 0 & and then hovered over a
variable there.
Comment 1 Rick Moseley 2007-08-01 19:57:25 UTC
This is a duplicate of 4871 and has been fixed.