You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/03/13 01:59:32 UTC
[GitHub] [servicecomb-java-chassis] lizhiqan opened a new issue #1630:
Cannot deserialize instance of `java.lang.String` out of START_OBJECT token
lizhiqan opened a new issue #1630: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token
URL: https://github.com/apache/servicecomb-java-chassis/issues/1630
接口测试提示内容
CommonExceptionData [message=Parameters not valid or types not match.]
异常堆栈
java.lang.IllegalArgumentException: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token
at [Source: UNKNOWN; line: -1, column: -1]
at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3750) ~[jackson-databind-2.9.9.jar:2.9.9]
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3688) ~[jackson-databind-2.9.9.jar:2.9.9]
at org.apache.servicecomb.swagger.invocation.converter.impl.ConverterCommon.convert(ConverterCommon.java:36) ~[swagger-invocation-core-1.3.0.jar:1.3.0]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [servicecomb-java-chassis] yhs0092 commented on issue #1630: Cannot
deserialize instance of `java.lang.String` out of START_OBJECT token
Posted by GitBox <gi...@apache.org>.
yhs0092 commented on issue #1630: Cannot deserialize instance of `java.lang.String` out of START_OBJECT token
URL: https://github.com/apache/servicecomb-java-chassis/issues/1630#issuecomment-598536714
这个一般是body参数的格式不对,你贴的堆栈已经把问题位置打出来了
`org.apache.servicecomb.swagger.invocation.converter.impl.ConverterCommon.convert(ConverterCommon.java:36) ~[swagger-invocation-core-1.3.0.jar:1.3.0]`
建议在这里打断点看看转换的参数原文是什么样的吧?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services