<HTML><HEAD><META content="text/html; charset=UTF-8" http-equiv="Content-Type"></HEAD><BODY>Perhaps it's being triggered by the default implementation of decodeLast().&nbsp; On disconnection, decodeLast() will be called to give a decoder a chance to clean up its stuff.&nbsp; Could you override decodeLast() to confirm this is the case?&nbsp; Anyway, you can simply ignore the empty buffer.<BR>
<BR>
HTH<BR>
<BR>
roboke wrote:<BR>
&gt; Hi folks!<BR>
&gt;<BR>
&gt; I am currently experiencing an implementation of mine, that is extending the<BR>
&gt; FrameDecoder, is triggered with an empty buffer. I really don't know how<BR>
&gt; this is possible, but I am quite sure I got it right. The "decode()" method<BR>
&gt; is called with an empty buffer. readableBytes() is 0 and the backing array<BR>
&gt; seems to be 256 times 0.<BR>
&gt;<BR>
&gt; Does any one know how to handle this? It's my first netty-project, so I may<BR>
&gt; have some configuration issues, but I also double-checked the alignment of<BR>
&gt; the components on my pipeline.<BR>
&gt;<BR>
&gt; Best regards,<BR>
&gt; Roboke<BR>
&gt;<BR>
&gt; --<BR>
&gt; View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/FrameDecoder-gets-empty-buffer-tp6935816p6935816.html<BR>
&gt; Sent from the Netty User Group mailing list archive at Nabble.com.<BR>
&gt; _______________________________________________<BR>
&gt; netty-users mailing list<BR>
&gt; netty-users@lists.jboss.org<BR>
&gt; https://lists.jboss.org/mailman/listinfo/netty-users</BODY></HTML>