-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by: java.lang.RuntimeException: Serialized class com.alibaba.csp.sentinel.slots.block.flow.FlowRule must implement java.io.Serializable #1065
Comments
Caused by: java.lang.RuntimeException: Serialized class com.alibaba.csp.sentinel.slots.block.flow.FlowRule must implement java.io.SerializableUsing Dubbo to integrate Sentinel, the resource is on the Provider side, the Consumer side is called, and the error is reported after the current limit is reported. |
The root cause is the provider didn't deal with the If you want to customize the fallback in provider side you can use This issue is related to #1017 |
Describe problem:
should change to :
|
@wzg923 Would you like to submit a PR to fix it? |
It's my pleasure, but I don't have the permission to push or create a new git branch |
You may refer to https://github.com/alibaba/Sentinel/wiki/开源贡献指南 |
采用Dubbo集成Sentinel,资源是在Provider端,Consumer端调用,限流后进行压测报这个错误
Caused by: com.alibaba.dubbo.remoting.RemotingException: Failed to send response: Response [id=1338, version=2.0.0, status=20, event=false, error=null, result=RpcResult [result=null, exception=java.lang.reflect.UndeclaredThrowableException]], cause: java.lang.RuntimeException: Serialized class com.alibaba.csp.sentinel.slots.block.flow.FlowRule must implement java.io.Serializable
Java field: protected com.alibaba.csp.sentinel.slots.block.AbstractRule com.alibaba.csp.sentinel.slots.block.BlockException.rule
Java field: private java.lang.Throwable java.lang.reflect.UndeclaredThrowableException.undeclaredThrowable
java.lang.RuntimeException: Serialized class com.alibaba.csp.sentinel.slots.block.flow.FlowRule must implement java.io.Serializable
Java field: protected com.alibaba.csp.sentinel.slots.block.AbstractRule com.alibaba.csp.sentinel.slots.block.BlockException.rule
Java field: private java.lang.Throwable java.lang.reflect.UndeclaredThrowableException.undeclaredThrowable
The text was updated successfully, but these errors were encountered: