-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR3
-
None
-
Release Notes
-
-
-
-
-
-
-
Documented as Known Issue
-
If journal with large messages is imported using CLI operation :import-journal then client consuming large message gets:
java.lang.IndexOutOfBoundsException: readerIndex(22) + length(409600) exceeds writerIndex(409494): DuplicatedByteBuf(ridx: 22, widx: 409494, cap: 409494, unwrapped: UnpooledHeapByteBuf(ridx: 17, widx: 17, cap: 409494)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1165) at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:675) at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:683) at io.netty.buffer.WrappedByteBuf.readBytes(WrappedByteBuf.java:511) at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readSimpleStringInternal(ChannelBufferWrapper.java:86) at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:68) at org.apache.activemq.artemis.reader.TextMessageUtil.readBodyText(TextMessageUtil.java:37) at org.apache.activemq.artemis.jms.client.ActiveMQTextMessage.doBeforeReceive(ActiveMQTextMessage.java:112) at org.apache.activemq.artemis.jms.client.ActiveMQMessageConsumer.getMessage(ActiveMQMessageConsumer.java:204) at org.apache.activemq.artemis.jms.client.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:119) at org.jboss.qa.hornetq.apps.clients.ReceiverClientAck.receiveMessage(ReceiverClientAck.java:337) at org.jboss.qa.hornetq.apps.clients.ReceiverClientAck.run(ReceiverClientAck.java:169) Exception in thread "Thread-22" java.lang.RuntimeException: Fatal exception was thrown in receiver. Receiver for node: 127.0.0.1 at org.jboss.qa.hornetq.apps.clients.ReceiverClientAck.run(ReceiverClientAck.java:214)
Customer impact: Migration of journal from HornetQ (EAP 6) to Artemis (EAP 7) using CLI operation will not be possible.
Workaround: Use JMS Bridges to migrate messages from HornetQ (EAP 6) to Artemis (EAP 7).
- clones
-
JBEAP-8944 [Release Note] Consumer crashes with IndexOutOfBoundsException when reading non-text message from imported journal
- Closed
- is cloned by
-
JBEAP-4407 (7.0.z) ARTEMIS-747 - Consumer crashes with IndexOutOfBoundsException when reading non-text message from imported journal
- Verified
- is incorporated by
-
JBEAP-6523 (7.1.0) Upgrade Artemis to 1.5.0
- Closed
- is related to
-
ARTEMIS-747 Loading...