Xiaomi MI IO Binding - roborock strange warning message in logs - Handler was already disposed

  • Platform information:
    • Hardware: RPI3B+ 16GB SD card

    • OS: 2.5.8 - Openhabian

    • Java Runtime Environment: openjdk version “1.8.0_265”
      OpenJDK Runtime Environment (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 1.8.0_265-b11)
      OpenJDK Client VM (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 25.265-b11, mixed mode)

    • openHAB version: 2.5.8

  • Issue of the topic: Strange WARN log entries with Xiaomi MI IO binding. Strange handler was already disposed warning messages in log.

Hello,

I’d like to ask your help because I’m clueless with the log entries shown below.
I’ve got a Roborock S50 configured. It shows every item’s data. I can control the thing from sitemap and also can monitor the state but the log is continuously flooded with these entries:

2020-10-04 08:34:07.135 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel history#total_clean_area although the handler was already disposed.

2020-10-04 08:34:07.135 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel network#ssid although the handler was already disposed.

2020-10-04 08:34:07.137 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel network#bssid although the handler was already disposed.

2020-10-04 08:34:07.137 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel history#total_clean_count although the handler was already disposed.

2020-10-04 08:34:07.140 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel network#rssi although the handler was already disposed.

2020-10-04 08:34:07.142 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler MiIoVacuumHandler of thing miio:vacuum:07058F6F tried updating channel network#life although the handler was already disposed.

I saw one post where some stated that it is a bug with the binding but it should be resolved after 2.5.5.

Currently I’ve got 2.5.8 and the strange log entries are still there.
Can anyone help what does this WARN entry means and how to solve the problem is there are any?

This is most probably a bug in the handler not freeing its scheduler. You should file an issue in Github

Thanks for the feedback. I’ve filed a bug report on github.