On 07/02/2011 15:44, Andreas Truszkowski wrote:
>> Can you check what Taverna thinks the depth of the port is by looking at
>> the contents of the inputPorts Set within the activity ? Is it possible
>> that you have several ports with the same name ?
> The workbench predicts single depts but the debugging informations shows
> a different result (pictures).
>
> I have two ports with the same name but they belong to different
> activities.

That should be OK.

> I have got it working if I insert the following code but that does not
> help to understand why it behaves that way.
> if (identified instanceof IdentifiedList<?>) {
> identified = (ReferenceSet) ((IdentifiedList<?>) identified).get(0);
> }

At that point, can you check the depth of that input port ?

> Cheers,
> Andreas

Alan

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
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/

Reply via email to