Bug 1992 - getTasks() returns 0 tasks at updateExec()
Summary: getTasks() returns 0 tasks at updateExec()
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1586 1654
  Show dependency treegraph
 
Reported: 2005-12-07 22:17 UTC by Sami Wagiaalla
Modified: 2007-04-24 18:29 UTC (History)
2 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 Sami Wagiaalla 2005-12-07 22:17:08 UTC
task.getProc().getTasks().size() = 0 at the update call of an exec observer

adding a proc.requestRefresh() at that point throws:
Exception in thread "Thread-2" java.lang.RuntimeException:
{frysk.proc.LinuxProc@cc71c0,id={ProcId,24341},state=startRunning,command=firefox}
in state "startRunning" did not handle RequestRefresh
Comment 1 Sami Wagiaalla 2007-04-24 19:29:54 UTC
getTasks should not be used.
Instead use ProcTasksObserver.