Simple tutorial ECMAScript doesn't work (java.lang.NullPointerException)

That’s it.
Might help-

If you want to use the add-on you probably need to follow this -