Hello!
I added the OpenWeatherMap#OneCallApi to my OH3.1 installation.
Things are online, Item get’s updated. All works correctly.
After several days the update stops. In the Logs I’ve discovered an exception
2021-08-20 19:03:52.214 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at org.openhab.binding.openweathermap.internal.handler.OpenWeatherMapOneCallHandler.updateMinutelyForecastChannel(OpenWeatherMapOneCallHandler.java:385) ~[?:?]
at org.openhab.binding.openweathermap.internal.handler.OpenWeatherMapOneCallHandler.updateChannel(OpenWeatherMapOneCallHandler.java:262) ~[?:?]
at org.openhab.binding.openweathermap.internal.handler.AbstractOpenWeatherMapHandler.updateChannels(AbstractOpenWeatherMapHandler.java:166) ~[?:?]
at org.openhab.binding.openweathermap.internal.handler.AbstractOpenWeatherMapHandler.updateData(AbstractOpenWeatherMapHandler.java:137) ~[?:?]
at org.openhab.binding.openweathermap.internal.handler.OpenWeatherMapAPIHandler.updateThing(OpenWeatherMapAPIHandler.java:176) ~[?:?]
at org.openhab.binding.openweathermap.internal.handler.OpenWeatherMapAPIHandler.updateThings(OpenWeatherMapAPIHandler.java:167) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Except the OpenweatherApi-Items all other Things/Items works correctly.
Manual Workaround:
- disable Bridge Thing by UI
- enabled Bridge Thing again by UI
- all works again for several days
Platform information:
- Docker Image openhab/3.1.0
- OS: linux
Any ideas or thoughts?
Many thanks!
Oliver