I was just checking the Logs for frequency of Zigbee Outlet events nd noticed I am getting a few of these errors - 57062023-01-08 11:47:17.213 AMerrorjava.lang.StackOverflowError: null on line 9759 (method ruleActionsP)
I notice the errors are coming from rules where the Restriction(s) are both true & false
They are coming from various simple Rule Machine rules.
I am running platform 2.3.4.130 on a C4.
Also I notice the rule Machine is reporting an error in the Live Log as well -
2023-01-08 11:58:46.767 AMerrorjava.lang.StackOverflowError: null on line 222 (method ruleAct)
For Rule Machine rules. And Rule Machine itself
I have noticed the Hub has needed regular reboots recently, last few days.
Are these linked? I have started rebooting every morning at 05:30 and using the Hub Info device every midday...
I have rebooted since these errors started appearing in Live Logs and now no errors for last 30 mins
What can I do to help better understand this?
For a stack overflow, the culprit is almost always something that invokes itself, either directly or indirectly. Does this rule call itself, or another rule which might call back to this rule? Does it change a device which will trigger the rule to run again?
Okies. I had a req expression that could be affected by the actions of the rule firing.
Req Exp is Room Lights (Group) is ON
Event Motion stays inactive for 60 secs
Turn individual room lights off
I have removed these req exps from the rules and will observe.
I have also commented out some of the rules calling other rules to test
Thanks for the pointers @mbishop as it seems to have sorted the issues