Arun Soman wrote:
Version: Mina 1.1.7 <http://mina.apache.org/downloads.html>
And i am implementing ProtocolDecoder
The exception you get is issued by your codec implementation :
org.apache.mina.filter.codec.ProtocolDecoderException:
...
at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:165)
155 : int oldPos = in.position();
156 : try {
157 : synchronized (decoderOut) {
158 : decoder.decode(session, in, decoderOut);
159 : }
160 : } catch (Throwable t) {
161 : ProtocolDecoderException pde;
162 : if (t instanceof ProtocolDecoderException) {
163 : pde = (ProtocolDecoderException) t;
164 : } else {
165 : pde = new ProtocolDecoderException(t);
166 : }
Check the code in your decoder implementation to see what can be wrong
in your case.
PS: I know that the exception does not give you a clear indication that
it's in your code, asdaly ... An issue has been raised and this cold be
fixed in one later version of MINA.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org