[SOLVED] 2.3.0 stable release seems to have killed the Yamaha AV binding

yamahareceiver
binding
230
Tags: #<Tag:0x00007f15d7bc3d30> #<Tag:0x00007f15d7bc3b50> #<Tag:0x00007f15d7bc2688>

(Alan Fenwick) #1

I have been runni ng the Yamahe AV binding (2.2.0) for some time - using one of the jar files that were posted on here somewhere(bug fixes after 2.2 stable, I don’t run snapshots)

I have removed the jar and installed the official 2.3.0 binding, and my Things no longer initialize.
Rolling back to the jar file results in the same now.

I have removed all things and recreated via PaperUI
I have removed the binding, reboot and re-installed, then refreshed

Anyone have any ideas?

PaperUI reads:

RX-V681 Main_Zone
Yamaha Receiver Zone

Yamaha Receiver Zone

Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR org/eclipse/smarthome/core/thing/type/TypeResolver

Logs as follows:

`

2018-06-01 12:35:54.143 [hingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-06-01 12:37:14.271 [home.event.InboxAddedEvent] - Discovery Result with UID 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' has been added.

2018-06-01 12:37:14.270 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' to inbox.

2018-06-01 12:37:23.035 [me.event.InboxRemovedEvent] - Discovery Result with UID 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' has been removed.

2018-06-01 12:37:23.046 [hingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' changed from UNINITIALIZED to INITIALIZING

2018-06-01 12:37:23.066 [hingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Waiting for data

2018-06-01 12:37:23.158 [home.event.InboxAddedEvent] - Discovery Result with UID 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone' has been added.

2018-06-01 12:37:23.158 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone' to inbox.

2018-06-01 12:37:23.171 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2' to inbox.

2018-06-01 12:37:23.172 [home.event.InboxAddedEvent] - Discovery Result with UID 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2' has been added.

2018-06-01 12:37:23.305 [me.event.ThingUpdatedEvent] - Thing 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' has been updated.

2018-06-01 12:37:23.399 [me.event.ThingUpdatedEvent] - Thing 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' has been updated.

2018-06-01 12:37:23.407 [hingStatusInfoChangedEvent] - 'yamahareceiver:yamahaAV:9ab0c000_f668_11de_9976_00b0defac9cc' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for data to ONLINE

2018-06-01 12:37:29.199 [me.event.InboxRemovedEvent] - Discovery Result with UID 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone' has been removed.

2018-06-01 12:37:29.316 [hingStatusInfoChangedEvent] - 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone' changed from UNINITIALIZED to INITIALIZING

2018-06-01 12:37:29.339 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler@1a8e447': org/eclipse/smarthome/core/thing/type/TypeResolver

	at org.openhab.binding.yamahareceiver.internal.ChannelsTypeProviderPreset.<init>(ChannelsTypeProviderPreset.java:80) ~[?:?]

	at org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler.initialize(YamahaZoneThingHandler.java:132) ~[?:?]

Caused by: java.lang.ClassNotFoundException: org.eclipse.smarthome.core.thing.type.TypeResolver cannot be found by org.openhab.binding.yamahareceiver_2.2.0

2018-06-01 12:37:29.364 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone': org/eclipse/smarthome/core/thing/type/TypeResolver

	at org.openhab.binding.yamahareceiver.internal.ChannelsTypeProviderPreset.<init>(ChannelsTypeProviderPreset.java:80) ~[?:?]

	at org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler.initialize(YamahaZoneThingHandler.java:132) ~[?:?]

Caused by: java.lang.ClassNotFoundException: org.eclipse.smarthome.core.thing.type.TypeResolver cannot be found by org.openhab.binding.yamahareceiver_2.2.0

2018-06-01 12:37:29.365 [hingStatusInfoChangedEvent] - 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Main_Zone' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org/eclipse/smarthome/core/thing/type/TypeResolver

2018-06-01 12:37:34.845 [me.event.InboxRemovedEvent] - Discovery Result with UID 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2' has been removed.

2018-06-01 12:37:34.859 [hingStatusInfoChangedEvent] - 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2' changed from UNINITIALIZED to INITIALIZING

2018-06-01 12:37:34.859 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler@4af64': org/eclipse/smarthome/core/thing/type/TypeResolver

	at org.openhab.binding.yamahareceiver.internal.ChannelsTypeProviderPreset.<init>(ChannelsTypeProviderPreset.java:80) ~[?:?]

	at org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler.initialize(YamahaZoneThingHandler.java:132) ~[?:?]

2018-06-01 12:37:34.888 [hingStatusInfoChangedEvent] - 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org/eclipse/smarthome/core/thing/type/TypeResolver

2018-06-01 12:37:34.887 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'yamahareceiver:zone:9ab0c000_f668_11de_9976_00b0defac9cc:Zone_2': org/eclipse/smarthome/core/thing/type/TypeResolver

	at org.openhab.binding.yamahareceiver.internal.ChannelsTypeProviderPreset.<init>(ChannelsTypeProviderPreset.java:80) ~[?:?]

	at org.openhab.binding.yamahareceiver.handler.YamahaZoneThingHandler.initialize(YamahaZoneThingHandler.java:132) ~[?:?]

`


(Kai Kreuzer) #2

The 2.2 binding indeed won’t work on a 2.3 runtime.

If there is an issue with the 2.3 binding, please enter a bug report. But please note that the configuration has slightly changed as stated in the release notes - so please make sure you have adapted your config accordingly.


(Alan Fenwick) #3

Thanks for the very prompt response.

I’ll fully uninstall and remove all things, reboot (again) - will let you know how it goes.


(Alan Fenwick) #4

Seems I was having the old ‘phantom things’ issue,

I have followed this process:

Remove binding (.jar file in my case)
Remove any yamaha ‘things’
Execute following:

sudo systemctl stop openhab2.service
sudo rm -r /var/lib/openhab2/tmp/
sudo rm -r /var/lib/openhab2/cache/
sudo systemctl start openhab2.service

Re-install binding (karaf / paperui)
Re-Add things

Seems to have done the trick.

Posted in case anyone else has the same issues moving from 2.2.0


(War Mooz) #5

Worked for me too.