[kepler-dev] Kepler 2.0.0 and director development
Colin Enticott
Colin.Enticott at csse.monash.edu.au
Tue Jun 29 17:01:41 PDT 2010
Hi Christopher,
It turns out to be this change:
> 2009-08-10 19:58 eal
>
> * [r55418] /trunk/ptolemy/actor/lib/Ramp.java: Change the state if
> init is set during execution.
As part of the bug of parameter dependencies throwing execptions after
being cloned (discussed our other thread) I had added a call to
validate() on each parameter before firing. This change to Ramp caused
the _stateToken to be reset to the init value after validate() is
called (validate() caused the ramp's attributeChanged() method to
execute).
I don't need to call validate() so my problem is fixed. I didn't
realize that validate() would cause attributeChanged() to be called
when (in this case) the parameter didn't change.
I still have that bug of an exception being generated after cloning
when a parameter has dependencies. I have still yet to produce an
actor that reproduces the problem. I have to bundle some features of
the Nimrod/K director into an actor and send that to you.
Thanks for you help,
Colin
More information about the Kepler-dev
mailing list