Rule is crashing

Rule machine is crashing with next error message:

The behavior is very consistent and easy reproducible.
Here is an simple Test rule to reproduce the crash:

In the "Select Action to Run"
if "Wait for Expression" is accidentally selected instead of
intended "Wait for Events"

and than "Wait for Events" is reselected:

the attempt to create Elapsed Time results in a rule crash condition.

I was able to reproduce this problem multiple times in my simple
Test rule but the problem was discovered while editing the existing
rules. The only way to fix it - delete a corrupted rule and recreate it
from scratch. Cloning and Export/Import did not work.
The restored rule was already corrupted.

I was able to reproduce this as well. Tagging @bravenel

Thanks, I can reproduce. Simple fix will be in next release.


Download the Hubitat app