6.0.0.RELEASE IllegalStateExceptions
See original GitHub issueBug Report
I yesterday tried to update to the new library version but lettuce was just spamming my console (I’m guessing every Redis request was failing).
Current Behavior
IllegalStateExceptions all over the place.
Stack trace
java.lang.IllegalStateException
at io.lettuce.core.output.CommandOutput.set(CommandOutput.java:98)
at io.lettuce.core.protocol.RedisStateMachine.safeSet(RedisStateMachine.java:778)
at io.lettuce.core.protocol.RedisStateMachine.handleInteger(RedisStateMachine.java:404)
at io.lettuce.core.protocol.RedisStateMachine$State$Type.handle(RedisStateMachine.java:206)
at io.lettuce.core.protocol.RedisStateMachine.doDecode(RedisStateMachine.java:334)
at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:295)
at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:799)
at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:750)
at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:733)
at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:618)
at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:560)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:835)
Input Code
https://github.com/ToxicMushroom/Melijn commit hash: 6060a804bf23949089cf441d91dc380c8c11c80a branch: staging
Expected behavior/code
No errors like with 5.3.4.RELEASE
Environment
- Lettuce version(s): [6.0.0.RELEASE]
- Redis version: [6.0.6-alpine and 6.0.8-alpine]
Additional context
Runs in Kubernetes pods, can’t reproduce this in a local environment or in docker
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
IllegalStateException (BlackBerry JDE 6.0.0 API Reference)
Constructs an IllegalStateException with no detail message. A detail message is a String that describes this particular exception.
Read more >Error detecting crashed member during shutdown of EDG 6.0 ...
Occasionally, when shutting down nodes in a cluster, the following message is reported: "ERROR [org.infinispan.server.hotrod.HotRodServer] ISPN006002: Error ...
Read more >Setting a RestTemplateBuilder read timeout results in ... - GitHub
The problem is that we're calling setReadTimeout via the RestTemplateBuilder 's API. That in effect is calling org.springframework.http.client.
Read more >IllegalStateException in EAR Deployment - EJB - JBoss.org
I'm running into a strange case. I had an EJB app which I built under Ant; the EAR deploys just fine in both...
Read more >IV47925: ILLEGALSTATEEXCEPTION DUE TO JVM ... - IBM
An incorrect exception type is generated when initializing a class with a "Public Throwable..." definition. Problem conclusion. This defect will be fixed in: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. Somehow the protocol gets out of sync and it looks that the
SET
command is being attempted to complete with an integer response. Let me verify this in a test to see what happens and why.Closing due to lack of activity. If you would like us to look at this issue, please let us know and we will re-open the issue.