On my production server 2.3.0 I have suddenly discovered new sonos things in my inbox.
I have accepted them and ended in having a set sonos things being “online” and all other new added thing being “offline” except one, the sonos sub. The sonos sub was not the one which was in the inbox, I might have accepted it some time ago, I do not remember.
The difference to the things I deleted (which were online) is sonos:PLAY1:RINCON_… instead of snos:zoneplayer:RINCON_…
The strange thing ist that my test server running current test release get both of them online
I compiled the latest version of the binding and still getting the issue:
2018-10-17 09:09:43.807 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sonos:PLAY1:RINCON_949F3E002DE401400' to inbox.
2018-10-17 09:09:44.104 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.eclipse.smarthome.binding.sonos.internal.handler.ZonePlayerHandler@771174': No thing type sonos:Play1 registered, cannot change thing type for thing sonos:zoneplayer:RINCON_5CAAFD77CC5C01400
java.lang.IllegalStateException: No thing type sonos:Play1 registered, cannot change thing type for thing sonos:zoneplayer:RINCON_5CAAFD77CC5C01400
at org.eclipse.smarthome.core.thing.internal.ThingManager.migrateThingType(ThingManager.java:303) [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at org.eclipse.smarthome.core.thing.internal.ThingManager$1.migrateThingType(ThingManager.java:268) [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.changeThingType(BaseThingHandler.java:684) [108:org.eclipse.smarthome.core.thing:0.10.0.oh230]
at org.eclipse.smarthome.binding.sonos.internal.handler.ZonePlayerHandler.updateSonosThingType(ZonePlayerHandler.java:2877) [259:org.eclipse.smarthome.binding.sonos:0.10.0.201810170905]
at org.eclipse.smarthome.binding.sonos.internal.handler.ZonePlayerHandler.migrateThingType(ZonePlayerHandler.java:2860) [259:org.eclipse.smarthome.binding.sonos:0.10.0.201810170905]
at org.eclipse.smarthome.binding.sonos.internal.handler.ZonePlayerHandler.initialize(ZonePlayerHandler.java:209) [259:org.eclipse.smarthome.binding.sonos:0.10.0.201810170905]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
PLAY1 and zoneplayer things are detected and put in inbox.