java.lang.IndexOutOfBoundsException: index: 4096, length: 1664221440 (expected: range(0, 45014))

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jprellberg
, 1 year ago
index: 4096, length: 1664221440 (expected: range(0, 45014))
via Google Groups by yva, 10 months ago
index: 0, length: 33653 (expected: range(0, 578))
via GitHub by orangy
, 18 hours ago
index: 1024, length: 1 (expected: range(0, 1024))
via GitHub by orangy
, 11 months ago
index: 1024, length: 1 (expected: range(0, 1024))
via GitHub by StuSchrader
, 1 year ago
index: 16, length: 16 (expected: range(0, 16))
via GitHub by valodzka
, 1 year ago
index: 3, length: 13 (expected: range(0, 13))
java.lang.IndexOutOfBoundsException: index: 4096, length: 1664221440 (expected: range(0, 45014))
at io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1142)
at io.netty.buffer.SlicedByteBuf.slice(SlicedByteBuf.java:155)
at io.netty.buffer.AbstractByteBuf.readSlice(AbstractByteBuf.java:686)
at org.apache.cassandra.transport.CBUtil.readBoundValue(CBUtil.java:405)
at org.apache.cassandra.transport.CBUtil.readValueList(CBUtil.java:462)
at org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:61)
at org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:45)
at org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:280)
at org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:261)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:372)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:879)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:360)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:276)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.