[ https://issues.apache.org/jira/browse/ARTEMIS-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013504#comment-18013504 ]
Jakob van Kruijssen commented on ARTEMIS-5615: ---------------------------------------------- OK, I'll look into separating out the code and then turning that in to a reproducer, though it might be a while before I can make time > 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: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact