Bug #4028
closedNondeterministic Merge Actor doesn't generate output
0%
Description
My workflow that used to work but does not work now. Finally I found out it is because I can not get output the Nondeterministic Merge Actor. If I revert ptolemy directory (ptolemy/domains/pn/kernel) version back to 52467, I can get output from Nondeterministic Merge Actor.
Updated by Christopher Brooks over 15 years ago
The change after 52467 is:
2009-02-25 16:20 rodiers
- [r52468]
/trunk/ptolemy/domains/pn/kernel/NondeterministicMerge.java:
Limit the number of times the inner actors are initialized.
See https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=239
for more details.
The bug report at https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=239
suggests that this code was working then, and that the failure has been
since the above change.
I modified NonStrictTest so that it has a requireAllCorrectValues parameter
so that some of the tests in pn/test/auto will fail. There is a problem
with the BrockAckermanTest in that directory not failing, but at
least one of the tests there now fails.
Updated by Bert Rodiers over 15 years ago
Does your model work if you revert the version of NondeterministicMerge back to 53042? In the next modification in that file (53061) certainly a bug was introduced, but since you went back much earlier in time I'm wondering whether there is another bug hiding in the code.
Updated by jianwu jianwu over 15 years ago
53042 version of NondeterministicMerge works for me. Thanks for your work.
Updated by Bert Rodiers over 15 years ago
Solved the bug by reverting the change made in version 53061 (which was committed with message "Eclipse: removed unused variables and other similar fixes").