apache / apache/servicecomb-java-chassis
InvokerUtils.invoke(invocation)不抛异常,convertResponse方法报错
- 主要语言
- Java
- 星标
- 1.9k
- 派生
- 814
- 平均合并
- 8 天 23 小时
- 30 天内合并 PR
- 1
描述
https://github.com/apache/servicecomb-java-chassis/blob/6bcdc2ea3729bb14bb188fe3d60a0b33aa9afabb/providers/provider-pojo/src/main/java/org/apache/servicecomb/provider/pojo/FilterInvocationCaller.java#LL48C26-L48C26
InvokerUtils.invoke(invocation).thenApply(invocation::convertResponse)
InvokerUtils.invoke(invocation)不抛异常,convertResponse方法报错
org.apache.servicecomb.swagger.invocation.exception.InvocationException cannot be cast to com.example.model.AppInfo
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with providers/provider-pojo/src/main/java/org/apache/servicecomb/provider/pojo/FilterInvocationCaller.java at the InvokerUtils.invoke(invocation).thenApply(invocation::convertResponse) call. Trace how InvocationException is returned and reaches convertResponse instead of being propagated, then verify the behavior with a focused reproduction of the reported AppInfo cast failure. Done means invocation failures no longer cause the reported ClassCastException.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100