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
, 6 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 nebel
, 2 weeks ago
index: -32765, length: 4 (expected: range(0, 8388608))
java.lang.IndexOutOfBoundsException: index: 4096, length: 1664221440 (expected: range(0, 45014)) at io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1142)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.buffer.SlicedByteBuf.slice(SlicedByteBuf.java:155)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.buffer.AbstractByteBuf.readSlice(AbstractByteBuf.java:686)[netty-all-4.0.36.Final.jar:4.0.36.Final] at org.apache.cassandra.transport.CBUtil.readBoundValue(CBUtil.java:405)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.transport.CBUtil.readValueList(CBUtil.java:462)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:61)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.transport.messages.BatchMessage$1.decode(BatchMessage.java:45)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:280)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.transport.Message$ProtocolDecoder.decode(Message.java:261)[apache-cassandra-3.7.jar:3.7] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:372)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:879)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:360)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:276)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[netty-all-4.0.36.Final.jar:4.0.36.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[netty-all-4.0.36.Final.jar:4.0.36.Final] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]