You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A BufferUnderflowException occurs intermittently when decoding the response string in RESPDecoder. The orginal cause of the issue seems to be in RedisSocketIO#sendRaw. In particular, the following exit condition on the while loop is incorrect while(this.fromServerSocket.ready() || sb.length() == 0)
this.fromServerSocket.ready() could evaluate to false even when there are more bytes available in the response. This leads to the following exception in RESPDecoder because there are less bytes available than expected (as specified in the first line of the response)
java.nio.BufferUnderflowException
at java.nio.CharBuffer.get(CharBuffer.java:688)
at java.nio.CharBuffer.get(CharBuffer.java:715)
at br.com.svvs.jdbc.redis.RESPDecoder.parseBulkString(RESPDecoder.java:57)
The text was updated successfully, but these errors were encountered:
A BufferUnderflowException occurs intermittently when decoding the response string in RESPDecoder. The orginal cause of the issue seems to be in RedisSocketIO#sendRaw. In particular, the following exit condition on the while loop is incorrect
while(this.fromServerSocket.ready() || sb.length() == 0)
this.fromServerSocket.ready() could evaluate to false even when there are more bytes available in the response. This leads to the following exception in RESPDecoder because there are less bytes available than expected (as specified in the first line of the response)
The text was updated successfully, but these errors were encountered: