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.

4 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 ?

Ah, yeah, I guess… With the early 2.5 beta releases of OpenHAB, I simply extracted the 2.4 version of the Tellstick binding, and added that to my 2.5 manually. I will try if that can do the trick here…

How familiar are you with Linux? Some hints on how to install specific milestone builds can be found here: Still possible to install Milestone Builds?

No change in OH 2.5.2 :frowning:

So what is the problem with OpenHab supporting Telldus Tellstick?

To me it looks like Tellldus themselves also are quite uninterested in supporting OpenHab. (Is there a channel to them in this forum?)

Not easy to read but is OpenHab focused on a specific useage or geograpical (non scandinavian) area?

/M

Who is the developer of the binding?

It’s probably some nice guy or group trying their best. I would very much like to contribute myself but at the moment … i understand some of what is going on but unfortunately not enough to really contribute.

But back to my question, are we too few that have Telldus Tellstick Live to bother? or is it a really hard problem. Just that hint could maybe get us going.

My thought is if we could get Telldus to help us or are they not interested? Maybe they “want to rule the world” on their own?

Anyway, how do we get a focus on this issue?

I am not sure that everyone is affected by the error.

Well I am another one affected by the same problem. I’m still running the pre-ZNet Tellstick Net. I did not really bother to upgrade since all my devices are old 433 MHz. Anyhow this might be the reason to skip Tellstick altogether.

The 433 sensors are superior regarding battery consumption… But other then that I agree.

I had the same issue when upgrading to 2.5.2. I though found this post where a link to an updated jar file is provided. I uninstalled the 2.5.2. binding and put the (2.4.0) jar file in my addons folder, restarted OH and now it works again. It’s still a temporary solution but perhaps something to use while waiting for the original binding to work.

cheers!

1 Like

Hi Per,

So, i

  • removed the bindings from my paper UI and from the addons cfg file.
  • i then went to Y:\openhab2-sys\runtime\system\org\openhab\distro\openhab-addons\ and created a new folder 2.4.0 ,
  • pasted the .jar file for 2.4.0 in the new directory,
  • removed the 2.5.2 directory
  • Rebooted
  • put this: “binding = astro, ntp, tellstick” in the addons.cfg again
  • Added the “Bridge tellstick:telldus-live:2 “Tellstick ZWave” [publicKey=…” in the things file
  • Rebooted
  • Checked config bindings in th Paper UI and there was a Tellstick binding availabe with no version displayed (didn’t add it)
  • Checked config things in the Paper UI and teh tellstic now has the error as usual “UNINITIALIZED - HANDLER_INITIALIZING_ERROR io/netty/handler/ssl/JdkSslContext”

This is what happens if you give the instructions you gave in your post to an “real beginner”, but a positive and brave one :slight_smile:

So…what should i have done?

Appreciate any help a lot!

/M