Sometimes I recieve err from sys::Obj#trap:
sys::CastErr: java.lang.ClassCastException: fan.sys.Field cannot be cast to fan.sys.Method
What is mean this err in sys::Obj#trap?
I cant define case when this is throwed. I call trap with same params: sometimes err raised ana sometimes err not raised. So hard.
trap
When this err may raised? Ноw to define this case? How I may debug sys::Obj#trap?
It happens if you call trap on a field name with more than one parameter b/c we assume that you are calling method
I call trap on method with one param. And usually succesfully but there is err cases. This is actor code.
I think this depends from which thread send msg in actor.
I find error. Bug was in another code. This code was called by trap.
coincidence + reduced stacktrace in actors + unclear err msg in sys::Obj#method = make search of bug in my code hard as hell
Early I writed about reduced stacktrace in actors. I will try to explain problem with stacktrace again.
I will create new topics about unclear err msg and reduced stacktrace.
Login or Signup to reply.
Akcelisto Sat 20 Oct 2012
Sometimes I recieve err from sys::Obj#trap:
What is mean this err in sys::Obj#trap?
I cant define case when this is throwed. I call
trap
with same params: sometimes err raised ana sometimes err not raised. So hard.When this err may raised? Ноw to define this case? How I may debug sys::Obj#trap?
brian Sat 20 Oct 2012
It happens if you call trap on a field name with more than one parameter b/c we assume that you are calling method
Akcelisto Sat 20 Oct 2012
I call trap on method with one param. And usually succesfully but there is err cases. This is actor code.
Akcelisto Sat 20 Oct 2012
I think this depends from which thread send msg in actor.
Akcelisto Sat 20 Oct 2012
I find error. Bug was in another code. This code was called by
trap
.coincidence + reduced stacktrace in actors + unclear err msg in sys::Obj#method = make search of bug in my code hard as hell
Early I writed about reduced stacktrace in actors. I will try to explain problem with stacktrace again.
I will create new topics about unclear err msg and reduced stacktrace.