taverna-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stian Soiland-Reyes <st...@apache.org>
Subject Re: How to Use Beanshells and Lists
Date Tue, 11 Sep 2018 09:48:20 GMT
Hi,

Are you able to paste the Beanshell script in question in here?

Beanshell does not understand JSON directly, so your script would first
need to parse the JSON text string, which means you need to add a JAR
dependency.

The error indicates that either Beanshell can't access an input, or one
of your declared outputs are of a type it does not know how to store.

You can use Advanced -> Show logs folder, if you inspect the log files
you should hopefully find some lines along the line on
ReferenceServiceException that will explain why.

On Thu, 30 Aug 2018 00:42:08 -0400, Vimig Socrates <vsocrates@case.edu> wrote:
> Hi,
> 
> I've looked across the internet, but can't find a good example on this. I
> am trying to take json output from the body of a web service module (called
> *jsonedffiles*) here and then output a single element under the key
> "fileList" as a JsonArray and I am getting the following error.
> 
> Processor 'Beanshell' - Port 'outputVal': Error accessing beanshell
> input/output data for net.sf.taverna.t2.activities.
> beanshell.BeanshellActivity$1@680a8ae1
> 
> I am unsure on why this is, and there is no stack trace for me to debug
> with. Any help would be much appreciated. Thank you.
> 
> --
> Vimig Socrates
Non-text part: text/html

Mime
View raw message