Expected Behavior
The binding operates without any warnings or errors. If there is a warning the information has to be clear, what exactly did not work as expected.
Current Behavior
The binding reports a warning - but without enough details (too generic); but the binding continues to work (recovers).
2025-07-29 08:59:44.729 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.util.NoSuchElementException: No value present
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at org.openhab.binding.huesync.internal.handler.HueSyncHandler.handleUpdate(HueSyncHandler.java:239) ~[?:?]
at org.openhab.binding.huesync.internal.handler.HueSyncHandler.lambda$2(HueSyncHandler.java:204) ~[?:?]
at org.openhab.binding.huesync.internal.handler.tasks.HueSyncUpdateTask.run(HueSyncUpdateTask.java:66) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Possible Solution
I'll run the binding with TRACE reporting to get more details; but the code should be updated to produce a more descriptive message (to simplify troubleshooting).
Your Environment
Expected Behavior
The binding operates without any warnings or errors. If there is a warning the information has to be clear, what exactly did not work as expected.
Current Behavior
The binding reports a warning - but without enough details (too generic); but the binding continues to work (recovers).
Possible Solution
I'll run the binding with
TRACEreporting to get more details; but the code should be updated to produce a more descriptive message (to simplify troubleshooting).Your Environment
openHAB 5.0.0 Release Build
Hue Sync