I was purging ExpiryQueues and I noticed the following warning in our Artemis 
logs.

We have a dual mirror setup. It's marked as a WARN, I'm just wondering what the 
implications are, or if it should be filed as a bug (if so I'm not sure how to 
reproduce).

2022-04-20 11:47:16,131 WARN  
[org.apache.activemq.artemis.protocol.amqp.connect.mirror.AMQPMirrorControllerTarget]
 null: java.lang.NullPointerException
        at 
org.apache.activemq.artemis.utils.collections.LinkedListImpl.removeAfter(LinkedListImpl.java:270)
 [artemis-commons-2.20.0.jar:]
        at 
org.apache.activemq.artemis.utils.collections.LinkedListImpl.removeWithID(LinkedListImpl.java:116)
 [artemis-commons-2.20.0.jar:]
        at 
org.apache.activemq.artemis.utils.collections.PriorityLinkedListImpl.removeWithID(PriorityLinkedListImpl.java:110)
 [artemis-commons-2.20.0.jar:]
        at 
org.apache.activemq.artemis.core.server.impl.QueueImpl.removeWithSuppliedID(QueueImpl.java:3301)
 [artemis-server-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.connect.mirror.AMQPMirrorControllerTarget.performAck(AMQPMirrorControllerTarget.java:369)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.connect.mirror.AMQPMirrorControllerTarget.postAcknowledge(AMQPMirrorControllerTarget.java:354)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.connect.mirror.AMQPMirrorControllerTarget.actualDelivery(AMQPMirrorControllerTarget.java:237)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.ProtonAbstractReceiver.onMessage(ProtonAbstractReceiver.java:269)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext.onDelivery(AMQPConnectionContext.java:775)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.handler.Events.dispatch(Events.java:92)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.dispatch(ProtonHandler.java:564)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.flush(ProtonHandler.java:359)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.inputBuffer(ProtonHandler.java:316)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext.inputBuffer(AMQPConnectionContext.java:240)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.protocol.amqp.broker.ActiveMQProtonRemotingConnection.bufferReceived(ActiveMQProtonRemotingConnection.java:149)
 [artemis-amqp-protocol-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:682)
 [artemis-server-2.20.0.jar:2.20.0]
        at 
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
 [artemis-core-client-2.20.0.jar:2.20.0]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
 [netty-transport-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795)
 [netty-transport-classes-epoll-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480) 
[netty-transport-classes-epoll-4.1.72.Final.jar:4.1.72.Final]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) 
[netty-transport-classes-epoll-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
 [netty-common-4.1.72.Final.jar:4.1.72.Final]
        at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) 
[netty-common-4.1.72.Final.jar:4.1.72.Final]
        at 
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
 [artemis-commons-2.20.0.jar:]

Stephen E. Baker


Reply via email to