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

NPE in RedisStateMachine #2104

Closed
schernolyas opened this issue May 26, 2022 · 1 comment
Closed

NPE in RedisStateMachine #2104

schernolyas opened this issue May 26, 2022 · 1 comment

Comments

@schernolyas
Copy link

Bug Report

Hi! I have faced with the blocking problem. Lettuce 4.4.6 is used.
My application use publishing and subscription feature. I can't read the message because of this error.
Unfortunately, I can't debug because it occurs in productive environment.
I have developed the test to investigate this problem in my local environment .... Unsuccessfully.

Current Behavior

Stack trace
java.lang.NullPointerException
--
  | at com.lambdaworks.redis.protocol.RedisStateMachine.safeSet(RedisStateMachine.java:431)
  | at com.lambdaworks.redis.protocol.RedisStateMachine.decode(RedisStateMachine.java:233)
  | at com.lambdaworks.redis.protocol.RedisStateMachine.decode(RedisStateMachine.java:133)
  | at com.lambdaworks.redis.pubsub.PubSubCommandHandler.decode(PubSubCommandHandler.java:97)
  | at com.lambdaworks.redis.protocol.CommandHandler.channelRead(CommandHandler.java:266)
  | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)

Environment

  • Lettuce version(s): [4.4.6.Final]
  • Redis version: [4.*]
@schernolyas
Copy link
Author

I think my problem in linked with #576

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

No branches or pull requests

1 participant