作者:Eddy 历史版本:1 最后编辑:Eddy 更新时间:2024-11-15 09:05
编写版本:v3.5.0
适用版本:v3.5.0+
Caused by: java.io.IOException: Unsupported protocol version 247
- 如果
v3.5.1版本
遇到以下异常,清空redis缓存数据即可恢复(注意流水号相关数据不能清
)Caused by: org.redisson.client.RedisException: Unexpected exception while processing command at org.redisson.command.CommandAsyncService.convertException(CommandAsyncService.java:325) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:127) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.RedissonObject.get(RedissonObject.java:82) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.RedissonMap.scanIterator(RedissonMap.java:1371) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.iterator.RedissonMapIterator.iterator(RedissonMapIterator.java:49) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.iterator.BaseIterator.hasNext(BaseIterator.java:55) ~[redisson-3.16.8.jar:3.16.8] at com.lc.ibps.base.framework.id.snowflake.SnowWorkerCalculator.calculateDataIdAndWorkId1_2(SnowWorkerCalculator.java:69) ~[classes/:?] at com.lc.ibps.base.framework.id.snowflake.DefaultIdGenerator.init(DefaultIdGenerator.java:75) ~[classes/:?] at com.lc.ibps.base.framework.id.snowflake.DefaultIdGenerator.afterPropertiesSet(DefaultIdGenerator.java:64) ~[classes/:?] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.10.jar:5.3.10] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.10.jar:5.3.10] ... 16 more Caused by: java.io.IOException: Unsupported protocol version 247 at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1375) ~[jboss-marshalling-river-2.0.11.Final.jar:2.0.11.Final] at org.redisson.codec.MarshallingCodec.lambda$new$0(MarshallingCodec.java:145) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:383) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decodeList(CommandDecoder.java:427) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:392) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decodeList(CommandDecoder.java:427) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:392) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:198) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:137) ~[redisson-3.16.8.jar:3.16.8] at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:113) ~[redisson-3.16.8.jar:3.16.8] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-all-4.1.36.Final.jar:4.1.36.Final] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]