New binding stops updating sensor values

I have been banging my head for a while. I’ve created a new binding for Omnik Solar Inverters. It works fine most of the time. But after a couple of days (1+) it suddenly stops working. A simple restart openhab, or even of the binding is enough to get it working again.
I’m clueless how to start debugging this without restarting the jvm first, and then the issue is of course gone. Am I misunderstanding how scheduleWithFixedDelay works?


Much appreciated!


Looks like there is an exception thrown in your code. Wrap everthing in a catch try block, catch throwable and log something with error level to see if this is the case.