[kepler-dev] Getting exception when using PNDirector

Ravi Kumar ravi_kumar at persistent.co.in
Mon Jan 9 05:17:34 PST 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20120109/b5146f16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BowtieTest.java
Type: application/octet-stream
Size: 2835 bytes
Desc: BowtieTest.java
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20120109/b5146f16/attachment.obj>


More information about the Kepler-dev mailing list