Skip to content
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

Redisson throws NPE after upgrading to version 3.25.0 and higher #5641

Closed
Marley98 opened this issue Feb 19, 2024 · 1 comment
Closed

Redisson throws NPE after upgrading to version 3.25.0 and higher #5641

Marley98 opened this issue Feb 19, 2024 · 1 comment
Labels
Milestone

Comments

@Marley98
Copy link

Redisson throws NullPointerException after upgrading to version 3.25.0 or higher.

java.lang.NullPointerException: Cannot invoke "java.util.concurrent.CompletableFuture.join()" because "connectionFuture" is null at org.redisson.command.RedisExecutor.handleError(RedisExecutor.java:614) at org.redisson.command.RedisExecutor.execute(RedisExecutor.java:200) at org.redisson.command.CommandAsyncService.async(CommandAsyncService.java:605) at org.redisson.command.CommandAsyncService.readAsync(CommandAsyncService.java:357) at org.redisson.RedissonBucket.getAsync(RedissonBucket.java:141) at org.redisson.RedissonBucket.get(RedissonBucket.java:136)

The exception occurs relatively rare (< 0.1% error rate) so it becomes more visible with high load.
At peak, our application makes 28k req/min and has up to 300 active cache connections.

The latest working version is 3.24.3. The issue occurs on every newer version including the latest one (3.26.1)

Redis version
ElastiCache engine version 7.0.7

Redisson version
3.26.1

@mrniko mrniko added this to the 3.27.0 milestone Feb 19, 2024
@mrniko mrniko added the bug label Feb 19, 2024
@mrniko
Copy link
Member

mrniko commented Feb 20, 2024

Fixed. Thanks for report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants