[kepler-users] trying to use the Iterate Over Array actor with a composite actor

Smit, Christine E. (GSFC-610.2)[TELOPHASE CORP] christine.e.smit at nasa.gov
Fri Aug 26 07:11:13 PDT 2011


Hello!

I want to use the Iterate over Array actor to do some fairly complicated processing. It looks to me as though the Iterate over Array actor can only contain a single actor, so I tried adding a composite actor, which will eventually contain the workflow I want run for each array element. Unfortunately, when I run, I get the following cryptic message:

ptolemy.kernel.util.IllegalActionException: Run-time type checking failed. Token type: arrayType(string,3), port: .Iterate%20over%20Array.Iterate Over Array with Composite.in, port type: arrayType(string)
What is going on here? It looks as though the "Iterate Over Array with Composite" actor expects an array with no length, but it's getting one of length 3. Is there some way to cast from one the other? Could I do something different with how I setup the "Iterate Over Array Composite" actor? I basically just copied and pasted the composite actor in.

Thanks.
Christine


--------------------------------
Dr. Christine Smit
christine.e.smit at nasa.gov
+1-301-614-5752
NASA Goddard, Building 32, N126-12
Code 610.2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110826/b06dd78e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Iterate over Array.xml
Type: text/xml
Size: 85617 bytes
Desc: Iterate over Array.xml
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110826/b06dd78e/attachment.xml>


More information about the Kepler-users mailing list