Looks like receivers are not getting created for one of the actors, which shouldn't happen.

It would be helpful to get the generated MoML file, along with any custom java actors you
are using...


Steve

At 11:23 AM 5/13/2004, Zimdars, Andrew wrote:
[I previously posted this to the newsgroup, but it didn't make it to the mailing list ...]

I'm trying to initialize and run a Ptolemy model generated by XSLT
from an existing XML description of an experiment (not a MoML file).
When I try to run the model, I get the error:

java.lang.NullPointerException
 at ptolemy.actor.CompositeActor.initialize(CompositeActor.java:437)
 at ptolemy.domains.de.kernel.DEDirector.initialize(DEDirector.java:721)
 at ptolemy.actor.CompositeActor.initialize(CompositeActor.java:464)
 at ptolemy.actor.Manager.initialize(Manager.java:420)
 at ptolemy.actor.Manager.execute(Manager.java:277)
 at ptolemy.actor.Manager.run(Manager.java:831)
 at ptolemy.actor.Manager$1.run(Manager.java:880)

I suspect the error lies in my generated XML code, and not in Ptolemy,
but I'm having trouble tracking it down.  (The generated code includes
several Ptolemy actors that execute okay outside of the model, so it's
most likely an "integration bug".)  What sorts of errors in the MoML
file might cause this exception?

ALZ

-----
Andrew Zimdars
Modeling, Simulation, and Information Sciences (Org. ABCS)
Advanced Technology Center, Lockheed Martin Space Systems Co.
Bldg. 153, Col. 2J4
1111 Lockheed Martin Way, Sunnyvale, CA  94089

w: 408.742.2111 m: 510.915.0662

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

Reply via email to