Bug 1987

Summary: Cascading observers do not work
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal CC: pmuldoon, swagiaal
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on: 2620, 2707    
Bug Blocks: 1582, 1654    

Description Sami Wagiaalla 2005-12-06 21:22:53 UTC
Exception in thread "Thread-2" java.lang.RuntimeException:
{frysk.proc.LinuxProc@216e188,id={ProcId,24640},state=startRunning,command=bash}
in state "startRunning" did not handle processRequestAddTasksObserver
Comment 1 Phil Muldoon 2005-12-07 21:12:17 UTC
Exception in thread "Thread-2" java.lang.RuntimeException:
{frysk.proc.LinuxProc@1078af0,id={ProcId,4193},state=running,command=bash} in
state "running" did not handle processRequestAddTasksObserver
   at frysk.proc.State.unhandled(java.lang.Object, java.lang.String)
(/home/scox/frysk/src/frysk-core/frysk/proc/State.java:70)
   at
frysk.proc.ProcState.processRequestAddTasksObserver(frysk.proc.Proc,
frysk.proc.ProcObserver$Tasks)
(/home/scox/frysk/src/frysk-core/frysk/proc/ProcState.java:140)
   at frysk.proc.Proc$12.execute()
(/home/scox/frysk/src/frysk-core/frysk/proc/Proc.java:489)
   at frysk.event.EventLoop.runEventLoop(boolean)
(/home/scox/frysk/src/frysk-core/frysk/event/EventLoop.java:311)
   at frysk.event.EventLoop.run()
(/home/scox/frysk/src/frysk-core/frysk/event/EventLoop.java:411)
   at frysk.gui.FryskGui$3.run()
(/home/scox/frysk/src/frysk-gui/frysk/gui/FryskGui.java:189)
   at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
Comment 2 Mark Wielaard 2007-02-02 14:36:11 UTC
Do we have a specific testcase for this?
If this bug is just about being able to add observers in the running state then
that works now.
Comment 3 Sami Wagiaalla 2007-04-24 19:28:55 UTC
ProcTasksObserver Fixes this problem.