Many errors with tmp_default

Hi,

I’ve updated to last openhab3 snapshot from OH2 and I’m getting many errors with “tmp_default”:

2020-12-01 17:45:48.197 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-10’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 17:46:00.558 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-46’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 18:00:00.388 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-8’ failed: context in tmp_default
2020-12-01 18:00:00.426 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-17’ failed: null in tmp_default
2020-12-01 18:00:00.550 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-45’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 18:00:00.561 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-48’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 18:00:00.567 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-49’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 18:00:00.660 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-23’ failed: null in tmp_default
2020-12-01 18:00:00.663 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-67’ failed: An error occurred during the script execution: null in tmp_default
2020-12-01 18:00:00.695 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘tmp_default-76’ failed: An error occurred during the script execution: null in tmp_default

What can cause such issue? Can I debug it somehow?

The log message tells you that your rules are not working properly. Open the openhab webpage and go to settings / rules. You will see all your rule files. Check if there is any rule duplicated. This can happen on some OH3 builds, i also noticed this with old DSL rule files. If you have duplicated rules, try solving this by restarting the openhab service.

If there is no rule twice, you should have a deeper look in your rules. Maybe you are using features that are not more available. Start e.g. with the rule ‘tmp_default-10’. You should be able to see this rule name somewhere under settings /rules.

Try to identify issues in the rule or post this here so that we can help you.

Thanks for reply. You are right - all rules are duplicated. I’ve restarted openhab after update at least two times and was the same. Finally now it helped !! Thanks for a tip. So, it seems this problem is well known?

Yes there is a known issue but it is difficult to reproduce this. See here for more details: https://github.com/openhab/openhab-core/issues/1808

Another problem, what cause huge lags in rules. Even buttons stopped reacting. In logs I see:

EventHandler] - Dispatching event to subscriber ‘org.openhab.core.automation.internal.module.handler.ItemStateTriggerHandler@18c1509e’ takes more than 5000ms.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.