Hello,
I have a script task (javascript) with the following code:
var cars = ["Renault","Porsche"];
print(typeof cars)
execution.setVariable("cars",cars);
When I execute it I get the following error:
No default constructor found on class com.oracle.truffle.polyglot.PolyglotMap: java.lang.NoSuchMethodException: com.oracle.truffle.polyglot.PolyglotMap
If I go to Cockpit I see that the type of voters variable is com.oracle.truffle.polyglot.PolyglotMap
I need an iterable collection instead.
Thanks!