Ah, that makes perfect sense, we did upgrade to JDK 17 from the earlier JDK 11. 
I will try to add it explicitly until the next release is out. 

Thank you Matt. 


> On Jan 16, 2023, at 5:49 PM, Matt Burgess <[email protected]> wrote:
> 
> Did you upgrade the version of Java when you upgraded NiFi? Later versions of 
> Java don’t include the Nashorn (ECMAScript) library, but I believe we added 
> it explicitly, perhaps for the 1.20 release (not at computer right now)
> 
> Sent from my iPhone
> 
>> On Jan 16, 2023, at 6:28 PM, Vijay Chhipa <[email protected]> wrote:
>> 
>> Hi All, 
>> 
>> Has ECMAScript been removed from one of the scripting languages supported in 
>> the ExecuteScript processor ?
>> 
>> I had a dataflow use ECMAScript in ExecuteScript processor in NiFi 1.16.1 
>> and after the upgrade to 1.19.1 the processor became invalid. 
>> 
>> Please see the screenshot below 
>> 
>> <Screen Shot 2023-01-16 at 5.16.36 PM.png>
>> 
>> 
>> The allowable values in the Script Engine properties are now these
>> 
>> <Screen Shot 2023-01-16 at 5.15.45 PM.png>
>> 
>> 
>> 
>> I didn’t see any mention of ECMAScript removal in any release notes. 
>> 
>> Wondering if this was an oversight or should I choose a different scripting 
>> language for my dataflow. 
>> 
>> 
>> Thank you. 
>> Vijay
>> 
>> 

Reply via email to