archimatetool / archi-scripting-plugin

jArchi - Scripting for Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
118 stars 33 forks source link

Error when running scripts "Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "engine" is null" #117

Closed startsevsa closed 1 year ago

startsevsa commented 1 year ago

Version of Archi, Operating System

Windows 10, x64 Archi 5.01 (on 4.10 everything worked well)

Version of this plug-in

jArchi 0.8.0.202006231201 Nashorn ES5 or ES6 - doesn't matter

Any other plug-ins installed?

coArchi 0.87

Expected Behaviour

Run the script

Actual Behaviour

Error "Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "engine" is null" image

Steps to Reproduce the Behaviour

  1. run any script
Phillipus commented 1 year ago

I've moved this to the jArchi issue tracker.

Please provide more details of the jArchi plug-in you are using - the version, whether you are using GraalVM or Nashorn in Preferences.

startsevsa commented 1 year ago

Please provide more details of the jArchi plug-in you are using - the version, whether you are using GraalVM or Nashorn in Preferences. I've updated the description

Phillipus commented 1 year ago

That version is very old and won't work with Archi 5. Please use the latest version of jArchi.