Tellstick Binding and latest 2.5 UNINITIALIZED - HANDLER_INITIALIZING_ERROR

After updating to the latest build im having trouble with the tellstick binding.
It just says UNINITIALIZED - HANDLER_INITIALIZING_ERROR
If i disable it and enable again i get the following in the error log:

2020-01-12 11:16:46.616 [hingStatusInfoChangedEvent] - 'tellstick:telldus-live:2' changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): io/netty/handler/ssl/JdkSslContext to UNINITIALIZED

==> /var/log/openhab2/openhab.log <==

2020-01-12 11:16:46.644 [ERROR] [nal.live.TelldusLiveDeviceController] - Failed to close client

java.lang.NullPointerException: null

	at org.openhab.binding.tellstick.internal.live.TelldusLiveDeviceController.dispose(TelldusLiveDeviceController.java:87) [bundleFile:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveBridgeHandler.dispose(TelldusLiveBridgeHandler.java:78) [bundleFile:?]

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]

	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

==> /var/log/openhab2/events.log <==

2020-01-12 11:16:46.728 [hingStatusInfoChangedEvent] - 'tellstick:telldus-live:2' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)

2020-01-12 11:16:50.873 [hingStatusInfoChangedEvent] - 'tellstick:telldus-live:2' changed from UNINITIALIZED (DISABLED) to INITIALIZING

==> /var/log/openhab2/openhab.log <==

2020-01-12 11:16:50.895 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.tellstick.internal.live.TelldusLiveBridgeHandler@1de156a': io/netty/handler/ssl/JdkSslContext

java.lang.NoClassDefFoundError: io/netty/handler/ssl/JdkSslContext

	at io.netty.handler.ssl.NettySslPackageAccessor.jdkSupportedCipherSuites(NettySslPackageAccessor.java:24) ~[?:?]

	at org.asynchttpclient.config.AsyncHttpClientConfigDefaults.defaultEnabledCipherSuites(AsyncHttpClientConfigDefaults.java:85) ~[?:?]

	at org.asynchttpclient.DefaultAsyncHttpClientConfig$Builder.<init>(DefaultAsyncHttpClientConfig.java:627) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveDeviceController.createAsyncHttpClientConfig(TelldusLiveDeviceController.java:108) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveDeviceController.connectHttpClient(TelldusLiveDeviceController.java:97) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveBridgeHandler.initialize(TelldusLiveBridgeHandler.java:90) ~[?:?]

	at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) ~[?:?]

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]

	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

==> /var/log/openhab2/events.log <==

2020-01-12 11:16:50.964 [hingStatusInfoChangedEvent] - 'tellstick:telldus-live:2' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): io/netty/handler/ssl/JdkSslContext

==> /var/log/openhab2/openhab.log <==

2020-01-12 11:16:50.962 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'tellstick:telldus-live:2': io/netty/handler/ssl/JdkSslContext

java.lang.NoClassDefFoundError: io/netty/handler/ssl/JdkSslContext

	at io.netty.handler.ssl.NettySslPackageAccessor.jdkSupportedCipherSuites(NettySslPackageAccessor.java:24) ~[?:?]

	at org.asynchttpclient.config.AsyncHttpClientConfigDefaults.defaultEnabledCipherSuites(AsyncHttpClientConfigDefaults.java:85) ~[?:?]

	at org.asynchttpclient.DefaultAsyncHttpClientConfig$Builder.<init>(DefaultAsyncHttpClientConfig.java:627) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveDeviceController.createAsyncHttpClientConfig(TelldusLiveDeviceController.java:108) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveDeviceController.connectHttpClient(TelldusLiveDeviceController.java:97) ~[?:?]

	at org.openhab.binding.tellstick.internal.live.TelldusLiveBridgeHandler.initialize(TelldusLiveBridgeHandler.java:90) ~[?:?]

	at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) ~[?:?]

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]

	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

I tryed both the latest unstable and the latest stable and still the same. I saw someone else having this problem in another tread but no answers so i started a new one as they had been using a old tread:

https://community.openhab.org/t/tellstick-znet-lite-v-2/59862

PLease could somebody help?

2 Likes

Anyone?

I have the same thing.
Someone made a workaround, but it is not something I will try:

Do you know where to put that code or what file to edit?

No, sorry i don’t. I try to stay away from workaround.
I’m just hoping that someone with knowledge can make a permanent fix :slight_smile:

Bump.

I still have this issue! Any news when it will be fixed?

// Martin

I have the same problem. I think that there may be a problem with the java version (32/64?) or missing components since when looking at the logs:

“Caused by: java.lang.ClassNotFoundException: io.netty.handler.ssl.JdkSslContext cannot be found by org.openhab.binding.tellstick_2.5.1”

Maybe someone kind soul could explain what this means and what could be done to sort it out?

2 Likes

I have tested this )and all the released “stable” 2.5.x versions in newly created Docker containers. With the latest (2.5.1) build, I see the following errors:

  • Log file complains that Tellstick core library is not installed.
  • Error seen above, io.netty.handler.ssl.JdkSslContext cannot be found…

I currently run 2.5.0 M3 in my production Docker container, and it works there.

I opened a bug in Github for this, to see if that helps. I cannot imagine the maintainers of OpenHAB having time to look through all of these forums, but at least they probably look through the “bugs” section in the repository.

3 Likes

Tack Ole Kristian,

So … 2.5.0 M3…? .I simply installed the latest Openhabian system image . I guess that then i need to install Raspbian first, install java and then Openhab 2.5.0 M3 ?