harmony binding bug
See original GitHub issueI trying since days to setup the harmony binding, and i’m unable to manage it. But now i think it is a bug. I’m not really sure if it is a bug in the harmony bindung but in the core framework. Nervertheless i found it here, so i thought it would be the right way to post it here.
All Things were found correctly the hub, and the devices. Nevertheless the the device does not have a pointer the bridge (hub). I tried it with paperUI and with HABmin. There is no way to select the bridge (hub). This leads to a nullpointerException
2016-11-20 23:48:15.523 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while calling handler: java.lang.NullPointerException java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_65] at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_65] at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.thing.internal.ThingManager.receiveCommand(ThingManager.java:349)[103:org.eclipse.smarthome.core.thing:0.9.0.201611191809] at org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriber.receive(AbstractItemEventSubscriber.java:46)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:192)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:1)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[96:org.eclipse.smarthome.core:0.9.0.201611191809] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65] at java.lang.Thread.run(Thread.java:745)[:1.8.0_65] Caused by: java.lang.NullPointerException at org.openhab.binding.harmonyhub.handler.HarmonyDeviceHandler.handleCommand(HarmonyDeviceHandler.java:90)[196:org.openhab.binding.harmonyhub:2.0.0.201611201812] at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:352)[103:org.eclipse.smarthome.core.thing:0.9.0.201611191809] at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:1)[103:org.eclipse.smarthome.core.thing:0.9.0.201611191809] ... 5 more
So i started it in the debugger and found out that the harmonyHub is not initialised in the device.
I’m talking about HarmonyHubHandler bridge in HarmonyDeviceHandler.java
But as <supported-bridge-type-refs> is a core function i’m not really sure, if it is a bug in the binding or somewhere else.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)

Top Related StackOverflow Question
Hi all, I have a fix I am testing today, I’ll post a updated jar here soon
@digitaldan Thanks for the quick fix. It seems to be working now, however, I got a lot of exceptions during boot and I keep getting this sort of message after pressing a harmony button: