[
https://issues.apache.org/jira/browse/ARTEMIS-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Månsson updated ARTEMIS-3552:
------------------------------------
Description:
After updating to 2.19.0, we started seeing this error on a address without
consumers.
The address sits after a divert, if that could have any affect. The only
difference to other addresses and diverts, is that there is no consumer on this
address.
Our setup is:
*multicast "out"-address > non-exclusive divert -> anycast "in"-address*
We have incoming and outgoing interceptors on all addresses. for modifying
properties and annotations.
{code:java}
WARN [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring
reference Reference[5511]:NON-RELIABLE:AMQPStandardMessage( [durable=false,
messageID=5511, address=in, size=1097, applicationProperties={...},
messageAnnotations={...}, extraProperties =
TypedProperties[_AMQ_ORIG_QUEUE=3,_AMQ_AD=in,_AMQ_ORIG_ROUTING_TYPE=1,_AMQ_ORIG_ADDRESS=out,_AMQ_ORIG_MESSAGE_ID=5510]]
0n queue: java.lang.NullPointerException
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.move(QueueImpl.java:3395)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.expire(QueueImpl.java:3579)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1000(QueueImpl.java:129)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl$ExpiryScanner.run(QueueImpl.java:2508)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.19.0.jar:2.19.0]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[java.base:]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source) [java.base:]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.19.0.jar:2.19.0]{code}
was:
WARN [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring
reference Reference[5511]:NON-RELIABLE:AMQPStandardMessage( [durable=false,
messageID=5511, address=in, size=1097, applicationProperties=\{...},
messageAnnotations=\{...}, extraProperties =
TypedProperties[_AMQ_ORIG_QUEUE=3,_AMQ_AD=in,_AMQ_ORIG_ROUTING_TYPE=1,_AMQ_ORIG_ADDRESS=out,_AMQ_ORIG_MESSAGE_ID=5510]]
0n queue: java.lang.NullPointerException
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.move(QueueImpl.java:3395)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.expire(QueueImpl.java:3579)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1000(QueueImpl.java:129)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl$ExpiryScanner.run(QueueImpl.java:2508)
[artemis-server-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.19.0.jar:2.19.0]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.19.0.jar:2.19.0]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source) [java.base:]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source) [java.base:]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.19.0.jar:2.19.0]
> Messaeg expiry NullPointerException after 2.19.0 upgrade
> --------------------------------------------------------
>
> Key: ARTEMIS-3552
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3552
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Tobias Månsson
> Priority: Major
>
> After updating to 2.19.0, we started seeing this error on a address without
> consumers.
> The address sits after a divert, if that could have any affect. The only
> difference to other addresses and diverts, is that there is no consumer on
> this address.
> Our setup is:
> *multicast "out"-address > non-exclusive divert -> anycast "in"-address*
> We have incoming and outgoing interceptors on all addresses. for modifying
> properties and annotations.
> {code:java}
> WARN [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring
> reference Reference[5511]:NON-RELIABLE:AMQPStandardMessage( [durable=false,
> messageID=5511, address=in, size=1097, applicationProperties={...},
> messageAnnotations={...}, extraProperties =
> TypedProperties[_AMQ_ORIG_QUEUE=3,_AMQ_AD=in,_AMQ_ORIG_ROUTING_TYPE=1,_AMQ_ORIG_ADDRESS=out,_AMQ_ORIG_MESSAGE_ID=5510]]
> 0n queue: java.lang.NullPointerException
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.move(QueueImpl.java:3395)
> [artemis-server-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.expire(QueueImpl.java:3579)
> [artemis-server-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl.access$1000(QueueImpl.java:129)
> [artemis-server-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.core.server.impl.QueueImpl$ExpiryScanner.run(QueueImpl.java:2508)
> [artemis-server-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
> [artemis-commons-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
> [artemis-commons-2.19.0.jar:2.19.0]
> at
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
> [artemis-commons-2.19.0.jar:2.19.0]
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source) [java.base:]
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source) [java.base:]
> at
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
> [artemis-commons-2.19.0.jar:2.19.0]{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)