Bug 4665 - fhpd Exception in thread "Thread-1" java.lang.ClassCastException: frysk.rt.TaskStepEngine cannot be cast to frysk.proc.Task
Summary: fhpd Exception in thread "Thread-1" java.lang.ClassCastException: frysk.rt.Ta...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 21:42 UTC by Nurdin Premji
Modified: 2007-06-19 21:53 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 Nurdin Premji 2007-06-19 21:42:45 UTC
$ ./frysk-core/frysk/bindir/fhpd
(fhpd) run ./frysk-core/frysk/pkglibdir/hpd-c
Exception in thread "Thread-1" java.lang.ClassCastException:
frysk.rt.TaskStepEngine cannot be cast to frysk.proc.Task
   at frysk.cli.hpd.RunCommand.update(fhpd)
   at java.util.Observable.notifyObservers(libgcj.so.8rh)
   at frysk.rt.SteppingEngine$SteppingObserver.updateExecuted(fhpd)
   at frysk.proc.Proc$14.add(fhpd)
   at frysk.proc.ptrace.LinuxTaskState$BlockedSignal.handleAddObservation(fhpd)
   at frysk.proc.Task.handleAddObservation(fhpd)
   at frysk.proc.TaskObservation.handleAdd(fhpd)
   at frysk.proc.ptrace.LinuxProcState$3.handleAddObservation(fhpd)
   at frysk.proc.Proc.handleAddObservation(fhpd)
   at frysk.proc.Proc$14.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
Comment 1 Mike Cvet 2007-06-19 21:53:35 UTC
2007-06-19  Mike Cvet  <mcvet@redhat.com>

	* RunCommand.java (update): Updated to expect TaskStepEngine
	parameter instead of null or Task objects. Fixes #4665.
Comment 2 Mike Cvet 2007-06-19 21:53:48 UTC
Fixed by above commit.