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:189)
    at
ptolemy.actor.process.CompositeProcessDirector.createBranchController(CompositeProcessDirector.java:208)
    at
ptolemy.actor.process.CompositeProcessDirector.initialize(CompositeProcessDirector.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: [EMAIL PROTECTED]

Reply via email to