On Mon, May 11, 2009 at 16:58, Alan R Williams <[email protected]> wrote:
> I think the cleanup may have been done in order for monitors of workflow
> runs to access information before the execution cleans it away.

That's all very well.. but I believe it was put in a bit quickly.

I've committed the static version which would only keep one timer - I
think that should be OK as each timer task is just about removing
state from a map or similar.

It seems to work - but I'm not sure what workflows to test with where
the execution previously cleaned away stuff too quickly.. David?

I also gave the other anonymous timers some names as it can be a bit
difficult to debug 'Timer-5'.. (I couldn't change some of them from
inside Batik, but..)

Another side note is that I get a lot of these when running a simple workflow:


Exception in thread "pool-3-thread-7" java.lang.NullPointerException
        at 
net.sf.taverna.t2.provenance.connector.DerbyProvenanceConnector$1.run(DerbyProvenanceConnector.java:292)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:613)

Not sure why this is..


(Side note: I believe Tom already did a more general version of this
for keeping layer states in the Platform code by providing support for
this in the abstract class - but I'm not sure if it does timed
removal)

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to