2019-08-29 10:16:38.953 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling
org.codehaus.jackson.map.JsonMappingException: Could not resolve type id ‘MULTIZONE_STATUS’ into a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]
at [Source: N/A; line: -1, column: -1]
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownTypeException(StdDeserializationContext.java:273) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:117) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:74) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:89) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.deser.StdDeserializerProvider$WrappedDeserializer.deserialize(StdDeserializerProvider.java:494) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695) ~[206:org.openhab.binding.chromecast:2.4.0]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1990) ~[206:org.openhab.binding.chromecast:2.4.0]
at su.litvak.chromecast.api.v2.EventListenerHolder.deliverEvent(EventListenerHolder.java:56) ~[206:org.openhab.binding.chromecast:2.4.0]
at su.litvak.chromecast.api.v2.Channel.notifyListenersOfSpontaneousEvent(Channel.java:452) ~[206:org.openhab.binding.chromecast:2.4.0]
at su.litvak.chromecast.api.v2.Channel.access$600(Channel.java:51) ~[206:org.openhab.binding.chromecast:2.4.0]
at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:195) [206:org.openhab.binding.chromecast:2.4.0]
I make reboot and clear cache. You have an idea ? thank you
This error is happening inside the third party library used by the binding. I would suggest you put the library into debug mode, capture the message that is causing the error, then open an issue for the third party library. The library developer needs to see the actual message to know what to fix/change.
This will put the library into debug mode.
log:set DEBUG su.litvak.chromecast
You’ll likely see a line that looks something like this just before the error occurs.
2019-07-30 09:32:31.237 [DEBUG] [su.litvak.chromecast.api.v2.Channel ] - <-- {"type":"MULTIZONE_STATUS", <<lots of other stuff>>}
You have this error only when the playSound command is launch ? because here there is 10 or 20 times this error per hour without request ask at chromecast binding
2019-09-12 10:14:03.371 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling
org.codehaus.jackson.map.JsonMappingException: Could not resolve type id 'MULTIZONE_STATUS' into a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]
at [Source: N/A; line: -1, column: -1]
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownTypeException(StdDeserializationContext.java:273) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:117) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:74) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:89) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.StdDeserializerProvider$WrappedDeserializer.deserialize(StdDeserializerProvider.java:494) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1990) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.EventListenerHolder.deliverEvent(EventListenerHolder.java:56) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel.notifyListenersOfSpontaneousEvent(Channel.java:452) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel.access$600(Channel.java:51) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:195) [252:org.openhab.binding.chromecast:2.5.0.201902121048]
2019-09-12 10:14:03.419 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling
org.codehaus.jackson.map.JsonMappingException: Could not resolve type id 'MULTIZONE_STATUS' into a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]
at [Source: N/A; line: -1, column: -1]
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownTypeException(StdDeserializationContext.java:273) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:117) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:74) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:89) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.deser.StdDeserializerProvider$WrappedDeserializer.deserialize(StdDeserializerProvider.java:494) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1990) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.EventListenerHolder.deliverEvent(EventListenerHolder.java:56) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel.notifyListenersOfSpontaneousEvent(Channel.java:452) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel.access$600(Channel.java:51) ~[252:org.openhab.binding.chromecast:2.5.0.201902121048]
at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:195) [252:org.openhab.binding.chromecast:2.5.0.201902121048]
The issue seems to be fixed. But I don’t kown how to integrate the fix into my openhab installation.
(Sorry I’m not really fimiliar with GitHub, PullRequests, change to snapshot and so on).
Any short description or link would be great!
The fix has been committed, but it’s not yet in a release of the chromecast-java-api-v2 third party library. Once it’s in a release of the library, someone (maybe me) will submit a PR to have the new lib included with the binding. After that, the fix will be available in subsequent snapshot versions of OH until the next milestone release comes out.