Hello, I've built a client-server(using "SumUp" as a guide). The client sends variable-length array of bytes. I was getting the above-mentioned exception in the server, so in order to simulate the problem I used the Server program(with no changes) from the "SumUp" example and can re-create the problem(get the same "ProtocolDecoderException")
the line of code in the server that gets the array from the ByteBuffer is: byte[] array = new byte[in.remaining()]; in.get(array, 0, in.remaining()); where in is a ref to the ByteBuffer Any idea as to the cause of the exception? Thx. -- View this message in context: http://www.nabble.com/No-appropriate-message-decoder-tf2942800.html#a8228768 Sent from the mina dev mailing list archive at Nabble.com.
