[
https://issues.apache.org/jira/browse/ARTEMIS-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037248#comment-18037248
]
Justin Bertram edited comment on ARTEMIS-5615 at 11/10/25 8:23 PM:
-------------------------------------------------------------------
Yes, the issue is no longer reproducible.
What very likely happened was, we upgraded Netty to some version (newer than
specified by Artemis), which may have contained some bug or incompatibility.
Then after updating the version several more times, the issue no longer exists.
So that also means that the issue won't happen in non-embedded setups, which of
course always have the correct Netty version. So the issue could be closed I
think.
was (Author: JIRAUSER308563):
Yes, the issue is no longer reproducible.
What very likely happened was, we upgraded Netty to some version (newer
than specified by Artemis), which may have contained some bug or
incompatibility.
Then after updating the version several more times, the issue no
longer exists.
So that also means that the issue won't happen in non-embedded setups,
which of course always have the correct Netty version.
So the issue could be closed I think.
> IllegalReferenceCountException / AMQ224045: Failed to run large message
> deliverer
> ---------------------------------------------------------------------------------
>
> Key: ARTEMIS-5615
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5615
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Jakob van Kruijssen
> Priority: Major
>
> We're occasionally seeing the following error occur in our logs of a web
> service that is using an embedded instance of Artemis, requiring a restart of
> that web service (in order to restart the EmbeddedActiveMQ instance) because
> it appears to stop delivering messages after this error occurs.
> {noformat}
> AMQ224045: Failed to run large message deliverer
> io.netty.util.IllegalReferenceCountException: null
> at
> io.netty.buffer.AdaptivePoolingAllocator$AdaptiveByteBuf.rootParent(AdaptivePoolingAllocator.java:1008)
> at
> io.netty.buffer.AdaptivePoolingAllocator$AdaptiveByteBuf._setInt(AdaptivePoolingAllocator.java:1219)
> at io.netty.buffer.AbstractByteBuf.writeInt(AbstractByteBuf.java:1024)
> at
> org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.writeInt(ChannelBufferWrapper.java:600)
> at
> org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.encodeHeader(PacketImpl.java:359)
> at
> org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.encode(PacketImpl.java:348)
> at
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:392)
> at
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:336)
> at
> org.apache.activemq.artemis.core.protocol.core.impl.CoreSessionCallback.sendLargeMessageContinuation(CoreSessionCallback.java:109)
> at
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$CoreLargeMessageDeliverer.deliver(ServerConsumerImpl.java:1387)
> at
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.lambda$new$9(ServerConsumerImpl.java:1248)
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:59)
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32)
> at
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
> at
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:120)
> {noformat}
> Unfortunately I don't have much additional information, because it appears
> the error occurs in code that is executed asynchronously to any calls to the
> server we've made.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact