Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Program crashes on startup after successful pairing ([CurrentDomain_UnhandledException:97] ) #263

Open
realPilotfish opened this issue Nov 4, 2019 · 3 comments
Assignees
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app.

Comments

@realPilotfish
Copy link

Before submitting a request please make sure you are running the latest version of WinHue
available in the release section of this site. Support will not be done on older version.

Your setup

WinHue version : 3.0.04773
Bridge api version : (1.16)

Pairing succeeded without Problems.
On Startup the Program crashes with [CurrentDomain_UnhandledException:97] and some Nullpointerexception.

Please see log attached.
...
WinHue3.log

@Hyrules
Copy link
Owner

Hyrules commented Nov 4, 2019

First thing to do would be to update your bridge to the latest API version which is 1.35 WinHue is not reverse compatible with older version. Your version is a 1.19 which is too old. You can try to use the philips hue app to do that for android or Iphone.

@realPilotfish
Copy link
Author

realPilotfish commented Nov 4, 2019

Thanks for your quick reply!

But wow, this is a bit embarrassing.
While I was walking over to my real hue bridge to accept the pairing request, Winhue found my software emulated hue, ha-bridge and paired with it because ha-bridge auto-accepts pairing.
That's why the API version was so old.
I disabled ha-bridge and now all is working as expected.
Sorry for that confusion.

@Hyrules
Copy link
Owner

Hyrules commented Nov 4, 2019

lol no worries. i'm surprised WinHue picked up ha-bridge. I use it myself with home assistant and node-red never seen it but good to know this is fixed. I will add a fix to prevent user from pairing with a bridge which has an api lower that the latest.

@Hyrules Hyrules self-assigned this Nov 10, 2019
@Hyrules Hyrules added the bug Crash or glitch or unexpected behavior that causes a problem within the app. label Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app.
Projects
None yet
Development

No branches or pull requests

2 participants