You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The promptscript property, added in #278, is broken in JDK 15 and higher. The implementation requires the Nashorn JavaScript engine, which was removed in JDK 15. The error is as follows:
java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(String, javax.script.Bindings)" because "engine" is null
A possible fix would be to use an alternative scripting engine, which would need to be added to the classpath.
The text was updated successfully, but these errors were encountered:
We could use property to store scripting engine to use. In case there is no specified engine - print a message.
+ may be to have something similar to !scan to show available scripting engines
The
promptscript
property, added in #278, is broken in JDK 15 and higher. The implementation requires the Nashorn JavaScript engine, which was removed in JDK 15. The error is as follows:A possible fix would be to use an alternative scripting engine, which would need to be added to the classpath.
The text was updated successfully, but these errors were encountered: