In ErrorResponseDecoder::read() the temporary buffer is only 255 bytes long, which causes an ArrayIndexOutOfBoundsException whenever the error message is longer than that.
|
byte[] field = new byte[255]; |
Unfortunately for me, the out of bounds exception was silently swallowed for some reason - in other words, no error signal from the Observable - which made this was pretty tricky to debug.