Hue Binding v2.5.6-SNAPSHOT // NullPointerException Errors on startup

I updated to v2.5.6-SNAPSHOT yesterday and I am seeing a lot of NullPointerException Errors when I start up the system. I think there is one such exception for each Hue Thing in my system, but I am showing just one of them below. => Any thoughts about a solution?

2020-06-03 13:47:33.059 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'hue:0100:g24:b16': null
java.lang.NullPointerException: null
	at org.openhab.binding.hue.internal.handler.HueLightHandler.onLightAdded( ~[?:?]
	at org.openhab.binding.hue.internal.handler.HueBridgeHandler.registerLightStatusListener( ~[?:?]
	at org.openhab.binding.hue.internal.handler.HueLightHandler.getHueClient( ~[?:?]
	at org.openhab.binding.hue.internal.handler.HueLightHandler.initializeThing( ~[?:?]
	at org.openhab.binding.hue.internal.handler.HueLightHandler.initialize( ~[?:?]
	at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.8.0_252]
	at java.lang.reflect.Method.invoke( ~[?:1.8.0_252]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect( [bundleFile:?]
	at [bundleFile:?]
	at [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_252]
	at [?:1.8.0_252]

Snapshots are unstable. Issues should be reported on Github where they can be fixed.
Snapshots are not designed for daily use. They are for testing purposes only.

The only exception I know of are zwave binding where the snapshot usually just have an updated device database. Not much active development there otherwise, right now.

Yes @Bruce_Osborne I am not an idiot. I am testing. And I have found errors. And I am reporting them here.

Which is the wrong place. Many developers are not here. That is my point.

Please open an issue in Github.
There was a recent refactoring in the hue binding not by myself.


It is fixed.

1 Like

Many thanks. The snapshot distribution is erroring (on openhabian) right now, but I will test it as soon as I do get the new snapshot installed.

Just to confirm: it is indeed fixed. Many thanks for your help.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.