java.lang.IndexOutOfBoundsException: writerIndex(117) + minWritableBytes(8) exceeds maxCapacity(118): SlicedByteBuf(ridx: 0, widx: 117, cap: 118/118, unwrapped: UnpooledHeapByteBuf(ridx: 118, widx: 118, cap: 496))

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 JBoss Issue Tracker by Andeka Putra, 1 year ago
writerIndex(117) + minWritableBytes(8) exceeds maxCapacity(118): SlicedByteBuf(ridx: 0, widx: 117, cap: 118/118, unwrapped: UnpooledHeapByteBuf(ridx: 118, widx: 118, cap: 496))
via JBoss Issue Tracker by Andeka Putra, 1 year ago
writerIndex(117) + minWritableBytes(8) exceeds maxCapacity(118): SlicedByteBuf(ridx: 0, widx: 117, cap: 118/118, unwrapped: UnpooledHeapByteBuf(ridx: 118, widx: 118, cap: 496))
via Google Groups by Tobias Neubert, 2 years ago
writerIndex(532) + minWritableBytes(1024) exceeds maxCapacity(532): SlicedByteBuf(ridx: 0, widx: 532, cap: 532/532, unwrapped: UnpooledHeapByteBuf(ridx: 0, widx: 532, cap: 532))
via GitHub by Kashdeya
, 1 year ago
writerIndex(33439) + minWritableBytes(256) exceeds maxCapacity(33693): UnpooledHeapByteBuf(ridx: 0, widx: 33439, cap: 33693/33693)
via GitHub by SotrForgotten
, 8 months ago
writerIndex(22598) + minWritableBytes(2048) exceeds maxCapacity(24644): UnpooledHeapByteBuf(ridx: 0, widx: 22598, cap: 24644/24644)
java.lang.IndexOutOfBoundsException: writerIndex(117) + minWritableBytes(8) exceeds maxCapacity(118): SlicedByteBuf(ridx: 0, widx: 117, cap: 118/118, unwrapped: UnpooledHeapByteBuf(ridx: 118, widx: 118, cap: 496))
at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:242)
at io.netty.buffer.AbstractByteBuf.writeLong(AbstractByteBuf.java:790)
at io.netty.buffer.WrappedByteBuf.writeLong(WrappedByteBuf.java:576)
at org.hornetq.core.buffers.impl.ChannelBufferWrapper.writeLong(ChannelBufferWrapper.java:605)
at org.hornetq.core.protocol.core.impl.wireformat.SessionReceiveMessage.encode(SessionReceiveMessage.java:71)
at org.hornetq.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:230)
at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBatched(ChannelImpl.java:205)
at org.hornetq.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:76)
at org.hornetq.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:942)
at org.hornetq.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:398)
at org.hornetq.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2544)
at org.hornetq.core.server.impl.QueueImpl.deliver(QueueImpl.java:2137)
at org.hornetq.core.server.impl.QueueImpl.access$1300(QueueImpl.java:81)
at org.hornetq.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2917)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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