Anja Le Blanc wrote:
> Dear Taverna developers,
Hello,
> I modified one of my workflows and came across some strange behaviour.
> When I try to run my workflow, the 'Workflow input values' dialogue
> opened, but then I tried to press the 'Run workflow' button, nothing
> happened. The only way out was to press cancel.
> Afterwards I started the debug version and did the same as described
> before. I attach the error from the command prompt. From this I suspect
> something is wrong with my list handling (and with Taverna's way of
> checking it), but as a user I would appreciate being told about errors
> which prevent something from happening.
The error is due to the getChildAt(0) in:
public int getIterationDepth(Map<String, Integer> inputDepths)
throws IterationTypeMismatchException {
// Check that all input depths are the same
int depth = getChildAt(0).getIterationDepth(inputDepths);
for (IterationStrategyNode childNode : getChildren()) {
if (childNode.getIterationDepth(inputDepths) != depth) {
throw new IterationTypeMismatchException(
"Mismatched input types for dot product node");
}
}
return depth;
}
It should, for safety, check that there is at least one child of the dot
product.
There's a larger problem in that a DotProduct somehow has no children.
I've added the two issues into Jira.
> Let me know if you need the workflow to reproduce the problem.
>
> Best regards,
> Anja
Alan
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/