Hi All,

I am trying to create and run a workflow programmatically. I have created one 
and able to run if I use SDF director. But not able to run this using 
PNDirector. When I export the workflow in xml using exportMoML() method and 
open the xml file in kepler, it runs properly.

Following error I am getting when trying to execute workflow programmatically  
using PNDirector.

Exception in thread "main" java.lang.NullPointerException
      at 
ptolemy.actor.process.CompositeProcessDirector._resolveDeadlock(CompositeProcessDirector.java:699)
      at ptolemy.actor.process.ProcessDirector.fire(ProcessDirector.java:259)
      at ptolemy.actor.CompositeActor.fire(CompositeActor.java:459)
      at test.BowtieTest.init(BowtieTest.java:64)
      at test.BowtieTest.main(BowtieTest.java:18)


I am not able to find out root cause for this. Any help on this would be really 
helpful.

Regards,
Ravi



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Attachment: BowtieTest.java
Description: BowtieTest.java

_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to