Jython rules fail to load after upgrade to 4.2.2

I recently upgraded my OpenHAB installation from 4.2.1 to 4.2.2. Since this upgrade some of my Jython rule files fail to load with the following message:

Error during evaluation of script '/openhab/conf/automation/jython/windowwarning.py': ImportError: cannot import name
 NotificationAction

It seems that the NotificationAction is no longer available. The line in question is

from core.actions import NotificationAction

Any hint on how to circumvent this?

I had this once, and fixed it by simply reinstalling the jython addon. Never had a chance to really track it down since i couldn’t reproduce it.

I have removed and reinstalled the binding. After a restart of OpenHAB loading the rules no longer fails. However the rules defined in my rule files show up in the rule overview of the MainUI, but they are masked in red with ‘Error: Handler’.
Since I wanted to unify my rules to use Javascript anway, I guess that’s the time, when I will take the plunge an rewrite them in Javascript, so I don’t need the Jython binding any longer.