[kepler-users] TokenToJSON followed by JSONToToken results in error

Jose Borreguero borreguero at gmail.com
Thu Oct 17 12:43:05 PDT 2013


Dear Kepler users,

I am having trouble with the conversion from JSON to Token. As a test,
I created a very simple workflow that results in error:

1- I packed an integer and a string with Actor "Record Assembler" into a
record
2- I apply Actor "TokenToJSON" to output of "Record Assembler"
3- I apply Actor "JSONToToken" to output of "TokenToJSON"
4- I apply Actor "Display" to output of "TokenToJSON"

This is the error stack Trace:
ptolemy.actor.TypeConflictException: Types resolved to unacceptable types
in .Unnamed3 due to the following objects:
  (port .Unnamed3.JSONToToken.output: unknown)
    at
ptolemy.actor.TypedCompositeActor.resolveTypes(TypedCompositeActor.java:406)
    at ptolemy.actor.Manager.resolveTypes(Manager.java:1140)
    at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:976)
    at ptolemy.actor.Manager.initialize(Manager.java:659)
    at ptolemy.actor.Manager.execute(Manager.java:340)
    at ptolemy.actor.Manager.run(Manager.java:1191)
    at ptolemy.actor.Manager$PtolemyRunThread.run(Manager.java:1734)

Any help or hints to debug this, please?

Best regards,
-Jose Borreguero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20131017/7132d967/attachment.html>


More information about the Kepler-users mailing list