-
Notifications
You must be signed in to change notification settings - Fork 1k
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
NullPointerException thrown during AbstractRedisAsyncCommands.flushCommands #1301
Comments
Thanks for the report. Looking at the code, there should be no way that the action callback object is |
Thanks for answering Mark. Feel free to close this if you don't have any other suggestions. BR, |
If this issue comes back, then I'd advise you to introduce a few log/debug lines in a custom build of Lettuce to trace where the issue comes from. Closing the issue for now as we cannot do here without further knowledge. |
Thanks, and speaking of some logs - do you have any suggestions where can I add them to get some information that could help tracking the bug? |
Bug Report
Possibly there is a bug in lettuce, where NPE is thrown during flushCommands operation. See some simplified code, where this is happening. I have included all custom options we set on the client. This code runs against clustered enterprise redis.
I understand that it might be also caused by our environment or some specific options we use, but we're blocked in investigation with hardly any ideas on how to proceed with it. Code runs in grid and issue appears randomly without ways to debug it. Therefore if you don't have any suggestions on what to change, could you please at least share ideas on how to improve the situation by let's say extra logging or similar?
Current Behavior
The application throws with NullPointerException, when executing AbstractRedisAsyncCommands.flushCommands
Stack trace
Input Code
Input Code
Expected behavior/code
Application should not throw NPE.
Environment
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: