apache / apache/dubbo

io.netty.handler.codec.EncoderException: java.lang.RuntimeException: Serialized class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler must implement java.io.Serializable

Open
#6,137 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

A是实现类,B是抽象类,C是接口,A extends B,B implements C,(C中只有一个接口方法,在A中具体实现)。目前B中有个方法准备使用远程调动,其中参数包含了接口C,我把实现类A实现了序列化,但是目前报如下错误:io.netty.handler.codec.EncoderException: java.lang.RuntimeException: Serialized class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler must implement java.io.Serializable
Java field: protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h
Java field: private api远程接口,B中调用的方法。搞不懂是序列化哪出问题了

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.