-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA, 7.3.0.CD15
javax.ws.rs.core.Response.readEntity(Class<T>) fails to convert a single boolean value, i.e. with Boolean.class as argument.
[MESSAGE: failed] javax.ws.rs.ProcessingException: RESTEASY008200: JSON Binding deserialization error
at org.jboss.resteasy.plugins.providers.jsonb.JsonBindingProvider.readFrom(JsonBindingProvider.java:88)
at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:66)
at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:56)
at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:36)
at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:59)
at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:334)
at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readEntity(ClientResponse.java:261)
at org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:237)
I think it cased by this issue https://github.com/eclipse-ee4j/yasson/issues/188, which I guess will be fixed in version org.eclipse:yasson:1.0.4
If I exclude org.jboss.resteasy.resteasy-json-binding-provider it works.
<exclusions> <module name="org.jboss.resteasy.resteasy-json-binding-provider" /> </exclusions>
- clones
-
RESTEASY-2172 Rest Client fails to convert a single boolean value
- Resolved
- is incorporated by
-
JBEAP-17075 (7.2.z) Upgrade yasson from 1.0.2.redhat-00001 to 1.0.5
- Closed