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))

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4066

  • via JBoss Issue Tracker by Andeka Putra, 11 months 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))
  • writerIndex(532) + minWritableBytes(1024) exceeds maxCapacity(532): SlicedByteBuf(ridx: 0, widx: 532, cap: 532/532, unwrapped: UnpooledHeapByteBuf(ridx: 0, widx: 532, cap: 532))
  • Stack trace

    • 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)[netty-all-4.0.28.Final.jar:4.0.28.Final] at io.netty.buffer.AbstractByteBuf.writeLong(AbstractByteBuf.java:790)[netty-all-4.0.28.Final.jar:4.0.28.Final] at io.netty.buffer.WrappedByteBuf.writeLong(WrappedByteBuf.java:576)[netty-all-4.0.28.Final.jar:4.0.28.Final] at org.hornetq.core.buffers.impl.ChannelBufferWrapper.writeLong(ChannelBufferWrapper.java:605)[hornetq-commons-2.4.3.Final.jar:na] at org.hornetq.core.protocol.core.impl.wireformat.SessionReceiveMessage.encode(SessionReceiveMessage.java:71)[hornetq-core-client-2.4.3.Final.jar:na] at org.hornetq.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:230)[hornetq-core-client-2.4.3.Final.jar:na] at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBatched(ChannelImpl.java:205)[hornetq-core-client-2.4.3.Final.jar:na] at org.hornetq.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:76)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:942)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:398)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2544)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.QueueImpl.deliver(QueueImpl.java:2137)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.QueueImpl.access$1300(QueueImpl.java:81)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:2917)[hornetq-server-2.4.3.Final.jar:na] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:104)[hornetq-core-client-2.4.3.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_60] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago