Bug 2722

Summary: Initial Frysk session doesn't add tasks to main window
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Sami Wagiaalla <swagiaal>
Status: RESOLVED FIXED    
Severity: normal CC: cagney, pmuldoon
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1632    

Description Mike Cvet 2006-06-01 16:18:47 UTC
The very first time Frysk is run (i.e. the ~/.frysk is yet to be created), if a
new session is created, a task and observers are added; after the druid exits,
the task does not show up in the main window. On re-start of frysk, if that
session is selected and "Finish" is clicked, the task shows up in the main
window, but then a   Frysk Core Error is raised:

Frysk Core has reported the following errors

null

frysk.proc.LinuxTask.sendAttach(FryskGui)
frysk.proc.TaskState$1.handleAttach(FryskGui)
frysk.proc.Task.performAttach(FryskGui)
frysk.proc.ProcState$Attaching.initialState(FryskGui)
frysk.proc.ProcState$1.handleAddObservation(FryskGui)
frysk.proc.Proc.handleAddObservation(FryskGui)
frysk.proc.Proc$6.execute(FryskGui)
frysk.event.EventLoop.runEventLoop(FryskGui)
frysk.event.EventLoop.run(FryskGui)
frysk.gui.Gui$3.run(FryskGui)
java.lang.Thread.run(libgcj.so.7)
Comment 1 Sami Wagiaalla 2006-06-07 19:28:56 UTC
fixed
Comment 2 Sami Wagiaalla 2006-06-07 19:34:38 UTC
2006-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* SessionProcDataModel.java: Removed call to refresh.
	only Gui.java should be calling refresh (fix for 2722).
	* datamodels/FlatProcObservableLinkedList.java: Added/removed
	debug output. No changes.
	
2006-06-07  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* Gui.java: Added a file check before frysk tries
	to open settings file.