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, 1 year ago
index: 0, length: 33653 (expected: range(0, 578))
via GitHub by orangy
, 3 months ago
index: 1024, length: 1 (expected: range(0, 1024))
via GitHub by orangy
, 1 year 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
, 2 years 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 io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)	at java.lang.Thread.run(Thread.java:745)