-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Using getRequiredAdapter in RedisQueryEngine to avoid NPE #2800
Labels
type: task
A general task
Milestone
Comments
4 tasks
Did you encounter a NPE or how did you find out about the issue? |
@mp911de I didn't experience any NPEs myself, I just thought I should fix anything in the source code that might cause an error. I'm currently working on creating a Spring Data Implementation, and in the process I came across this and decided to open an issue. |
Alright, thanks for the detail. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
getAdapter
used by theRedisQueryEngine
logic to get the adapter can return null.To avoid this, we can use
getRequiredAdapter
.The text was updated successfully, but these errors were encountered: