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.
In
ErrorResponseDecoder::read()the temporary buffer is only 255 bytes long, which causes anArrayIndexOutOfBoundsExceptionwhenever the error message is longer than that.postgres-async-driver/src/main/java/com/github/pgasync/impl/io/ErrorResponseDecoder.java
Line 55 in 71e761c
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.