Open luo-zhan opened 2 months ago
can you show your consumer and provider initialized config or simple demo ?
furthermore, why jdk8 has java.base ?
i can't reproduce
This might be an issue with Hessian serialization. You could try switching to a different serialization method, such as Protobuf or FastJSON.@luo-zhan
Try to upgrade to high version dubbo such as 3.3.1, this is a Hessian-Lite related bug. And the same error message https://github.com/apache/dubbo/issues/14791 to this problem
You JDK version should not be 1.8. java.base/jdk.internal.reflect.Reflection.newIllegalAccessException
only happends on JDK17 and above.
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
dubbo 3.0.11 jdk 1.8 mac 14.2
Steps to reproduce this issue
When provider throw a custom exception, then consumer get a exception :
What you expected to happen
A right exception or tips.
Anything else
dubbo service method: BaseResponseDTO changeSecurityStatus(Integer market, String securityCode, Integer securityStatus);
consumer throws custom exception:
Are you willing to submit a pull request to fix on your own?
Code of Conduct