You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2021/12/15 13:57:00 UTC

[jira] [Closed] (ARTEMIS-3552) NullPointerException on message expiration

     [ https://issues.apache.org/jira/browse/ARTEMIS-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clebert Suconic closed ARTEMIS-3552.
------------------------------------
    Resolution: Fixed

> NullPointerException on message expiration
> ------------------------------------------
>
>                 Key: ARTEMIS-3552
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3552
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.19.0
>            Reporter: Tobias Månsson
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.20.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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 are no consumer on this "in" address.
> Our setup is:
> *Two node ON_DEMAND cluster*
> *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.20.1#820001)