I’ve just installed the CoolMasterNet binding for the first time (using the latest OH snapshot).
When the binding starts up, it grabs the correct current state of the devices, but then immediately logs an error, and then the binding doesn’t receive any further updates from the devices. It still successfully control the devices, but communication seems strictly one-way. The error will repeat every time I restart the binding.
Has anyone else seen this? Is it a bug in the binding or OH, or am I doing something stupid?
Log error as follows:
|
20|2018-05-27 09:07:46.248 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception |
20|java.lang.NullPointerException: null |
20| at org.openhab.binding.coolmasternet.handler.HVACHandler.query(HVACHandler.java:117) ~[?:?] |
ja| at org.openhab.binding.coolmasternet.handler.HVACHandler.refresh(HVACHandler.java:93) ~[?:?] |
| at org.openhab.binding.coolmasternet.internal.ControllerHandler.lambda$0(ControllerHandler.java:72) ~[?:?] |
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] |
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?] |
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?|
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?] |
| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] |
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] |
| at java.lang.Thread.run(Thread.java:748) [?:?]
thanks,
Dan