AlbumenJ commented on issue #11703:
URL: https://github.com/apache/dubbo/issues/11703#issuecomment-1455606599
@HelloToGithub 我通过这样的一个 FIlter 无法复现问题,麻烦看下你的配置和这个有什么区别
```java
@Activate(group = "provider", order = Integer.MAX_VALUE)
public class ExceptionFilter implements Filter, BaseFilter.Listener {
@Override
public Result invoke(Invoker<?> invoker, Invocation invocation) throws
RpcException {
return invoker.invoke(invocation);
}
@Override
public void onResponse(Result appResponse, Invoker<?> invoker,
Invocation invocation) {
if (appResponse.hasException()) {
appResponse.setException(new
RuntimeException("ExceptionFilter"));
}
}
@Override
public void onError(Throwable t, Invoker<?> invoker, Invocation
invocation) {
}
}
```
可以的话麻烦在报错的 `at
org.apache.dubbo.common.serialize.fastjson2.FastJson2ObjectInput.readObject(FastJson2ObjectInput.java:116)`
执行下 `JSONB.toJSONString(bytes);` 把结果发一下
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]