> Can you possibly send the example workflow? It will make it easier to create the Jira issue. Sure. It's attached. ilhami.
On Tue, Apr 24, 2012 at 10:52 AM, Alan R Williams <[email protected]>wrote: > On 24/04/2012 09:41, Ilhami Visne wrote: > > Hello, > > Hello > > [snip] > > > I run the new workflow with two list of values. If in any of the > iteration > > an error happens, i see it in the workflow results, in the output port's > > list. After restarting the taverna, however, the output port's result > were > > not there anymore. A warning during execution has been issued, which is > > probably the cause: > > Can you possibly send the example workflow? It will make it easier to > create the Jira issue. > > > WARN 2012-04-24 10:08:26,098 > > (net.sf.taverna.t2.provenance.lineageservice.WorkflowDataProcessor:215) - > > No workflow port data for /o:abc_Beanshell_out1 > > > > A possible fix: > > > > I studied the WorkflowDataProcessor class a little and found that a for > > loop at line 114 is enclosed in a try catch: > > > > try{ // line 112 > > for(...){ // line 114 > > ...... > > } > > }catch(SQLException e){....} > > > > If an exception happens in the loop, it will be catched in the catch > clause > > but also it means that the for loop won't complete. So i changed it to: > > > > for(...){ > > try{ > > ...... > > }catch(SQLException e){...} > > } > > That certainly looks better :-) > > > This has solved my problem but someone needs to check for the side > effects. > > If you send the workflow, then I will create a Jira issue along with > your proposed fix. > > > Best wishes, > > Ilhami Visne > > > > P.S.: For testing one can create a beanshell with two input ports for two > > number values and in the beanshell these two number can be divided. To > > cause an error one of the number can be zero. > > Alan > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > taverna-hackers mailing list > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > Developers Guide: http://www.taverna.org.uk/developers/ >
TestWorkflow.t2flow
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
