[
https://issues.apache.org/jira/browse/ARTEMIS-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617580#comment-17617580
]
Peter Machon edited comment on ARTEMIS-4034 at 10/14/22 8:56 AM:
-----------------------------------------------------------------
Broker Version 2.25 just today
{noformat}
2022-10-14 10:41:23.919 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214013: Failed to decode packet
java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8) exceeds
writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.buffer.AbstractByteBuf.readLong(AbstractByteBuf.java:835)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decodeHeadersAndProperties(CoreMessage.java:720)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:691)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:683)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.receiveBuffer(CoreMessage.java:205)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.receiveMessage(SessionReceiveMessage.java:76)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.decodeRest(SessionReceiveMessage.java:68)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:375)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:44)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
2022-10-14 10:41:23.919 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214031: Failed to decode buffer,
disconnect immediately.
java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException:
readerIndex(68) + length(8) exceeds writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:389)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8)
exceeds writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.buffer.AbstractByteBuf.readLong(AbstractByteBuf.java:835)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decodeHeadersAndProperties(CoreMessage.java:720)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:691)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:683)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.receiveBuffer(CoreMessage.java:205)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.receiveMessage(SessionReceiveMessage.java:76)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.decodeRest(SessionReceiveMessage.java:68)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:375)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:44)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
... 24 common frames omitted
2022-10-14 10:41:23.922 WARN 24348 --- [global-threads)]
org.apache.activemq.artemis.core.client : AMQ212037: Connection failure to
artemis1.sfs-intra.net/10.41.33.134:8884 has been detected:
java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8) exceeds
writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70) [code=GENERIC_EXCEPTION]
2022-10-14 10:41:23.922 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214013: Failed to decode packet
java.lang.IllegalArgumentException: AMQ219032: Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:504)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:67)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:42)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
2022-10-14 10:41:23.922 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214031: Failed to decode buffer,
disconnect immediately.
java.lang.IllegalStateException: java.lang.IllegalArgumentException: AMQ219032:
Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:389)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
Caused by: java.lang.IllegalArgumentException: AMQ219032: Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:504)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:67)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:42)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
... 24 common frames omitted
{noformat}
was (Author: JIRAUSER294752):
Version 2.25 just today
{noformat}
2022-10-14 10:41:23.919 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214013: Failed to decode packet
java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8) exceeds
writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.buffer.AbstractByteBuf.readLong(AbstractByteBuf.java:835)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decodeHeadersAndProperties(CoreMessage.java:720)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:691)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:683)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.receiveBuffer(CoreMessage.java:205)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.receiveMessage(SessionReceiveMessage.java:76)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.decodeRest(SessionReceiveMessage.java:68)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:375)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:44)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
2022-10-14 10:41:23.919 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214031: Failed to decode buffer,
disconnect immediately.
java.lang.IllegalStateException: java.lang.IndexOutOfBoundsException:
readerIndex(68) + length(8) exceeds writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:389)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8)
exceeds writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70)
at
io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.buffer.AbstractByteBuf.readLong(AbstractByteBuf.java:835)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decodeHeadersAndProperties(CoreMessage.java:720)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:691)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:683)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.message.impl.CoreMessage.receiveBuffer(CoreMessage.java:205)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.receiveMessage(SessionReceiveMessage.java:76)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.decodeRest(SessionReceiveMessage.java:68)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:375)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:44)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
... 24 common frames omitted
2022-10-14 10:41:23.922 WARN 24348 --- [global-threads)]
org.apache.activemq.artemis.core.client : AMQ212037: Connection failure to
artemis1.sfs-intra.net/10.41.33.134:8884 has been detected:
java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8) exceeds
writerIndex(70):
UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68, widx:
70, cap: 70) [code=GENERIC_EXCEPTION]
2022-10-14 10:41:23.922 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214013: Failed to decode packet
java.lang.IllegalArgumentException: AMQ219032: Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:504)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:67)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:42)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
2022-10-14 10:41:23.922 ERROR 24348 --- [-netty-threads)]
org.apache.activemq.artemis.core.client : AMQ214031: Failed to decode buffer,
disconnect immediately.
java.lang.IllegalStateException: java.lang.IllegalArgumentException: AMQ219032:
Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:389)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
Caused by: java.lang.IllegalArgumentException: AMQ219032: Invalid type: 0
at
org.apache.activemq.artemis.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:504)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:67)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:42)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
~[artemis-jms-client-all-2.25.0.jar:2.25.0]
... 24 common frames omitted
{noformat}
> Index out of bounds at receive message header properties
> --------------------------------------------------------
>
> Key: ARTEMIS-4034
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4034
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.25.0
> Environment: Broker version: apache-artemis-2.25.0 (three node
> cluster)
> OS: Ubuntu 22.04.1 LTS
> Reporter: Peter Machon
> Priority: Major
>
> Running load tests using the Core client we sometimes see the following error
> that causes fatal failure:
> {noformat}
> 2022-10-10 17:02:59.675 ERROR 35788 --- [-netty-threads)]
> org.apache.activemq.artemis.core.client : AMQ214013: Failed to decode packet
> java.lang.IndexOutOfBoundsException: readerIndex(68) + length(8) exceeds
> writerIndex(70):
> UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 68,
> widx: 70, cap: 70)
> at
> io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at io.netty.buffer.AbstractByteBuf.readLong(AbstractByteBuf.java:835)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.message.impl.CoreMessage.decodeHeadersAndProperties(CoreMessage.java:720)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:691)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.message.impl.CoreMessage.decode(CoreMessage.java:683)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.message.impl.CoreMessage.receiveBuffer(CoreMessage.java:205)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.receiveMessage(SessionReceiveMessage.java:76)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionReceiveMessage.decodeRest(SessionReceiveMessage.java:68)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:375)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.protocol.ClientPacketDecoder.decode(ClientPacketDecoder.java:44)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:378)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1247)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]
> at
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
> ~[artemis-jms-client-all-2.25.0.jar:2.25.0]{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)