New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guard value parameters against null values. #291
Labels
type: bug
A general bug
Milestone
Comments
mp911de
added a commit
that referenced
this issue
Jun 27, 2016
Clarified the responsibility of null handling and guard ByteArrayCodec against null values. Null keys and null values are passed down to the codec and need to be handled inside of a Codec. This allows special handling/encoding of absent key and value-typed elements. Encoding errors are propagated to the appropriate command.
mp911de
added a commit
that referenced
this issue
Jun 27, 2016
Clarified the responsibility of null handling and guard ByteArrayCodec against null values. Null keys and null values are passed down to the codec and need to be handled inside of a Codec. This allows special handling/encoding of absent key and value-typed elements. Encoding errors are propagated to the appropriate command.
mp911de
added a commit
that referenced
this issue
Jun 27, 2016
Clarified the responsibility of null handling and guard ByteArrayCodec against null values. Null keys and null values are passed down to the codec and need to be handled inside of a Codec. This allows special handling/encoding of absent key and value-typed elements. Encoding errors are propagated to the appropriate command.
mp911de
added a commit
that referenced
this issue
Jun 27, 2016
Clarified the responsibility of null handling and guard ByteArrayCodec against null values. Null keys and null values are passed down to the codec and need to be handled inside of a Codec. This allows special handling/encoding of absent key and value-typed elements. Encoding errors are propagated to the appropriate command.
mp911de
added a commit
that referenced
this issue
Jun 27, 2016
Clarified the responsibility of null handling and guard ByteArrayCodec against null values. Null keys and null values are passed down to the codec and need to be handled inside of a Codec. This allows special handling/encoding of absent key and value-typed elements. Encoding errors are propagated to the appropriate command.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
null
values on commands that do not expectnull
causes NPE on invocation. The error inMessageToByteEncoder.write
is swallowed. This then causes aRedisCommandTimeoutException
- instead of the actual error.The text was updated successfully, but these errors were encountered: