IllegalStateException in FrameDecoder
Abraham Menacherry
abrahammenacherry at gmail.com
Thu May 26 09:15:55 EDT 2011
Trustin,
Thanks for the detailed explanation. Could the following situation have
caused it?
1) I read header bytes, advance the reader index and return.
2) I am expecting some body bytes of certain length.
3) I do buffer.readableBytes() >= expectedLen and find that it is not
enough.
4) I return null.
Note: Step 1 may not return if all the available bytes are there. Attaching
the decoder file for reference.
Thanks,
Abraham.
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/file/n6406944/DeviceProtocolMultiplexer.java
DeviceProtocolMultiplexer.java
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/IllegalStateException-in-FrameDecoder-tp6406604p6406944.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list