Typically an IndexOutOfBoundsException indicates a bug. Do you have a way to reproduce this?
Justin On Thu, Feb 17, 2022 at 3:17 PM Tim Jones <t...@abcwxy.com> wrote: > This seems to appear on larger messages only - I am getting a warning when > calling getDataBuffer (2.20.0 Artemis Client). Curious if there is > something I may be missing - or if this is completely ignorable? Thanks - > Tim > > 2022-02-17T21:06:11,908+01:00 [Thread-2 (ActiveMQ-client-global-threads)] > WARN o.a.a.a.c.m.i.CoreMessage [Thread-2 (ActiveMQ-client-global-threads)] > readerIndex(270740) + length(270740) exceeds writerIndex(271572): > UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: > 270740, widx: 271572, cap: 271572) > java.lang.IndexOutOfBoundsException: readerIndex(270740) + length(270740) > exceeds writerIndex(271572): > UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: > 270740, widx: 271572, cap: 271572) > at > > io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442) > at > > io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1428) > at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:937) > at > > org.apache.activemq.artemis.core.client.impl.ClientMessageImpl$DecodingContext.readInto(ClientMessageImpl.java:407) > at > > org.apache.activemq.artemis.core.message.impl.CoreMessage.getLargeMessageBuffer(CoreMessage.java:264) > at > > org.apache.activemq.artemis.core.message.impl.CoreMessage.getDataBuffer(CoreMessage.java:241) >