org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoder
This decoder has a known critical bug which fails to decode and
raises a random exception in some circumstances. Avoid to use
it whenever you can. The only workaround is to replace
CompatibleObjectEncoder, CompatibleObjectDecoder,
ObjectInputStream, and ObjectOutputStream with
ObjectEncoder, ObjectDecoder,
ObjectEncoderOutputStream, and
ObjectDecoderInputStream respectively. This workaround
requires both a client and a server to be modified. |