一、该问题的重现步骤是什么?
1. 在ops 模块下 新建服务,ops-api 创建feign
2. 在ops下任意模块调用feign ,返回无法转换成对象
3.
2024-12-25 00:22:04.665 ERROR 51856 --- [ XNIO-1 task-2] o.s.core.cloud.feign.BladeFeignFallback : BladeFeignFallback:[com.duofan.retailhero.feign.PayFeignClient.initiatePayment] serviceId:[pay-service] message:[Error while extracting response for type [class com.duofan.retailhero.dto.PaymentDTO] and content type [application/json;charset=UTF-8]]
2024-12-25 00:22:15.610 ERROR 51856 --- [ XNIO-1 task-2] o.s.core.cloud.feign.BladeFeignFallback : BladeFeignFallback:[com.duofan.retailhero.feign.PayFeignClient.initiatePayment] serviceId:[pay-service] message:[Body parameter 0 was null]
二、你期待的结果是什么?实际看到的又是什么?
能够成功转成实体对象,实际返回的是null
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
blade
4.3.0
windows
四、请提供详细的错误堆栈信息,这很重要。
2024-12-25 00:22:04.665 ERROR 51856 --- [ XNIO-1 task-2] o.s.core.cloud.feign.BladeFeignFallback : BladeFeignFallback:[com.duofan.retailhero.feign.PayFeignClient.initiatePayment] serviceId:[pay-service] message:[Error while extracting response for type [class com.duofan.retailhero.dto.PaymentDTO] and content type [application/json;charset=UTF-8]]
2024-12-25 00:22:15.610 ERROR 51856 --- [ XNIO-1 task-2] o.s.core.cloud.feign.BladeFeignFallback : BladeFeignFallback:[com.duofan.retailhero.feign.PayFeignClient.initiatePayment] serviceId:[pay-service] message:[Body parameter 0 was null]
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端