While attempting to create a basic rule I received the following error:
app:550 2022-11-09 07:38:38.473 AM error java.lang.ArrayIndexOutOfBoundsException: 4 on line 837 (method mainPage)
The rule i was setting up was: turn on an outlet 30 minutes before sunset, wait until sunrise and turn it off.
The exception occurred when i attempted to add the wait condition.
The rule was saved in it's partially completed state, and I was able to go back and finish the rule.