Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2494

IndexOutOfBoundsException from CoreMessage.sendBuffer_1X(CoreMessage.java:313)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • AMQ 7.4.0.GA
    • None
    • +
    • ARTEMIS-2360
    • Verified in a release

    Description

      Follow up issue from ENTMQBR-2461 where the following IndexOutOfBoundsException occurs:

      424379778: java.lang.IndexOutOfBoundsException: length(9778) exceeds dst.writableBytes(21) where dst is: PooledUnsafeDirectByteBuf(ridx: 0, widx: 6560, cap: 6581)        at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:893) [netty-all-4.1.25.Final-redhat-00003.jar:4.1.25.Final-redhat-00003]        at org.apache.activemq.artemis.core.message.impl.CoreMessage.sendBuffer_1X(CoreMessage.java:313) [artemis-core-client-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage_1X.encodeRest(SessionReceiveMessage_1X.java:38) [artemis-core-client-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.encode(PacketImpl.java:318) [artemis-core-client-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:277) [artemis-core-client-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBatched(ChannelImpl.java:239) [artemis-core-client-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendMessage(CoreSessionCallback.java:128) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.deliverStandardMessage(ServerConsumerImpl.java:1107) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.proceedDeliver(ServerConsumerImpl.java:465) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.QueueImpl.proceedDeliver(QueueImpl.java:2942) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2410) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.QueueImpl.access$2000(QueueImpl.java:107) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:3216) [artemis-server-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_172]        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_172]        at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.3.redhat-00020.jar:2.6.3.redhat-00020]
      

      Attachments

        Issue Links

          Activity

            People

              csuconic@redhat.com Clebert Suconic
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: