Skip to main content
Luwi
Gold ⭐️
June 26, 2022
Solved

ExecuteScript error - ECMAScript is missing

Hi,

 

moved Ni-Fi 1.16.3 folder from one destination to another and now getting error for ExecuteScript processor:

 

'Script Engine' validated against 'ECMAScript' is invalid because Given value not found in allowed set 'Clojure, Groovy, Lua, Python, ruby'.

 

Any idea what's wrong?

 

Thanks a lot. Ludvik

Luwi
LuwiAnswer
Gold ⭐️
June 26, 2022

ok, I found this https://en.wikipedia.org/wiki/Nashorn_(JavaScript_engine)

With the release of Java 11, Nashorn was deprecated citing challenges to maintenance, and has been removed from JDK 15 onwards.

2 replies

Luwi
LuwiAuthorAnswer
Gold ⭐️
June 26, 2022

ok, I found this https://en.wikipedia.org/wiki/Nashorn_(JavaScript_engine)

With the release of Java 11, Nashorn was deprecated citing challenges to maintenance, and has been removed from JDK 15 onwards.

Translate
araujo
Platinum ⭐️⭐️⭐️
Platinum ⭐️⭐️⭐️
June 26, 2022

@Luwi , please note that NiFi currently only supports Java 8 and 11.

 

Cheers

Andre

 

 

 

Translate
-- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.