Rule Error - but where?

openHab 4.2.0: i have messages like this in the log:

2024-05-18 16:58:01.525 [ERROR] [ernal.handler.ScriptConditionHandler] - Script execution failed: Could not cast NULL to org.openhab.core.library.types.DateTimeType; line 1, column 8, length 34

Obviously some script condition i wrote somewhere is running against a field that isn’t initialized. But which one? Any idea how i can find that out?

This was recently improved in [automation] Improve logging in ScriptConditionHandler by florian-h05 · Pull Request #4192 · openhab/openhab-core · GitHub
Try updating to the latest snapshot

Cool, works :slight_smile: Thank you!