[ 
https://issues.apache.org/jira/browse/SCB-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525946#comment-16525946
 ] 

ASF GitHub Bot commented on SCB-703:
------------------------------------

coveralls commented on issue #782: [SCB-703] Fix deserialization problem in 
invoking void operation in RPC style
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/782#issuecomment-400918810
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/17731609/badge)](https://coveralls.io/builds/17731609)
   
   Coverage decreased (-0.07%) to 87.072% when pulling 
**9b6cceb3c31fa9b5d2435aa96b1d32cd5523eea4 on 
yhs0092:fix_pojo_invoke_void_operation** into 
**bb4b6986f21dfa35d8ab83868e9cb7d60ecfe3e0 on apache:master**.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> When consumer invoke void type method in RPC style, an exception is thrown
> --------------------------------------------------------------------------
>
>                 Key: SCB-703
>                 URL: https://issues.apache.org/jira/browse/SCB-703
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m2
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Major
>             Fix For: Java-chassis-1.0.0
>
>
> When consumer invoke provider in RPC style, and the return type of provider 
> method is void, an exception is thrown because consumer attemp to deserialize 
> null as void, error log is like below:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: Internal error: can't find 
> deserializer for void
>       at 
> com.fasterxml.jackson.databind.deser.std.NumberDeserializers.find(NumberDeserializers.java:109)
>       at 
> com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findDefaultDeserializer(BasicDeserializerFactory.java:1800)
>       at 
> com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.findStdDeserializer(BeanDeserializerFactory.java:161)
>       at 
> com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:125)
>       at 
> com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:411)
>       at 
> com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:349)
>       at 
> com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
>       ... 28 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to