question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

harmony binding bug

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
digitaldancommented, Nov 26, 2016

Hi all, I have a fix I am testing today, I’ll post a updated jar here soon

0reactions
kungfoolfightingcommented, Nov 26, 2016

@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:

2016-11-26 19:19:34.702 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.internal.ThingManager@5ee37556' takes more than 5000ms.
2016-11-26 19:19:34.878 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'harmonyhub:device:HarmonyHub:33163673' takes more than 5000ms for processing event

Read more comments on GitHub >

github_iconTop Results From Across the Web

Harmony Hub Binding Issue with OH v2 - openHAB Community
Hi, since yesterday I try to get the Harmony Binding working in my environment. The initial setup was no big deal.
Read more >
Harmony Bow Bug - Console Discussion - Diablo 2 Resurrected ...
Yes, I've tried binding and unbinding. Yes I've made sure skill was charged (25/25). The skill is red-ed out like Ice Arrow would...
Read more >
[BUG] · Issue #380 · nicoduj/homebridge-harmony - GitHub
Describe the bug HomeBridge log repeatedly reports "error retrieving info from hub". I have had 3 Harmony hubs setup in HomeBridge for a...
Read more >
Harmony Revive Bug? - Topic - d2jsp Forums
I made a harmony bow and the revieve doesnt work for me, I've tries restating, re binding the skill, everything and it just...
Read more >
Glitch Switches A and S keys :: Danganronpa V3: Killing Harmony ...
They all had key binding problems, and it was due to whatever Spike Chunsoft did to the controls...What I suggested to everyone else,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found