exception: is not a consumer receiver?

exception: is not a consumer receiver?

Post by cxh » Sat, 23 Sep 2006 06:20:43


Hi Joe,
I don't think I've seen this one.
Can you send a small test case?

You could also try the development version of Ptolemy II see
http://www.yqcomputer.com/

There have been some changes to this code since 5.0.1

_Christopher
--------

I am getting the following exception when I try to invoke a CompositeActor
via a MultiInstanceComposite.

ptolemy.kernel.util.IllegalActionException: Receiver in the port:
.num_threads.SumNetwork.java.BooleanSelect.control is not a consumer
receiver
at ptolemy.actor.process.Branch.<init>(Branch.java:116)
at
ptolemy.actor.process.BranchController.addBranches(BranchController.java:18
9)
at
ptolemy.actor.process.CompositeProcessDirector.createBranchController(Compo
siteProcessDirector.java:208)
at
ptolemy.actor.process.CompositeProcessDirector.initialize(CompositeProcessD
irector.java:274)
at ptolemy.domains.pn.kernel.PNDirector.initialize(PNDirector.java:220)
at ptolemy.actor.CompositeActor.initialize(CompositeActor.java:529)
at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:133)

I have an existing PN graph that works fine with several instances of
the CompositeActor in it and would like to
dynamically generate them using MultiInstanceComposite.

I added a MultiInstanceComposite to the graph, placed a copy of my
CompositeActor and a PN Director in it and added the appropriate inputs
and outputs to expose the inputs and outputs of the CompositeActor, and
wired the MultiInstanceComposite in to my existing
graph as if it were the CompositeActor. When I run I get this exception.

Does anyone know what it means? This is Ptolemy II 5.0.1 under Windows XP.

--
Joe Buehler



---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: XXXX@XXXXX.COM
--------

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: XXXX@XXXXX.COM