[ 
https://issues.apache.org/jira/browse/ARTEMIS-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438111#comment-17438111
 ] 

Tobias Månsson commented on ARTEMIS-3159:
-----------------------------------------

After updating to 2.19.0, we started seeing this error on a queue 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.
{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}
 

 

> AMQ222145: Error expiring reference Reference
> ---------------------------------------------
>
>                 Key: ARTEMIS-3159
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3159
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Assignee: Justin Bertram
>            Priority: Critical
>             Fix For: 2.18.0
>
>         Attachments: broker.xml
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> setup: one multicast address with 3 predefined queues, no consumers
> action: send 3 messages to the address
> see: all queues have 3 messages (ok so far)
> then the message expiry kicks in and produces: AMQ222145: Error expiring 
> reference Reference
> the message count administration is now also corrupt. 2 of the queues say 
> they have 2 messages; the 3rd queue says 0 messages. but browsing the 
> messages shows no message in any of the 3 queues. The expiryqueue shows 7 
> messages.
> the message is (sensitive info removed):
> {code:java}
> WARN  [org.apache.activemq.artemis.core.server] AMQ222145: Error expiring 
> reference Reference[20]:RELIABLE:AMQPStandardMessage( [durable=true, 
> messageID=20, address=xyzaddress, size=131, applicationProperties={}, 
> properties=Properties{messageId=4de4cff7-1ef1-45fd-8edd-3dc241397986, 
> userId=null, to='xyzaddress', subject='null', replyTo='null', 
> correlationId=null, contentType=null, contentEncoding=null, 
> absoluteExpiryTime=Thu Mar 04 11:00:41 UTC 2021, creationTime=Thu Mar 04 
> 10:59:41 UTC 2021, groupId='null', groupSequence=null, 
> replyToGroupId='null'}, extraProperties = null] 0n queue: 
> ActiveMQQueueExistsException[errorType=QUEUE_EXISTS message=AMQ229018:
> Binding already exists LocalQueueBinding [address=ExpiryQueue, 
> queue=QueueImpl[name=EXP.xyzaddress, postOffice=PostOfficeImpl 
> [server=ActiveMQServerImpl::serverUUID=a197eb68-7cd8-11eb-ad61-0242c0a83002], 
> temp=false]@41478b82, filter=FilterImpl [sfilterString=_AMQ_ORIG_ADDRESS = 
> 'xyzaddress'], name=EXP.xyzaddress, 
> clusterName=EXP.xyzaddressa197eb68-7cd8-11eb-ad61-0242c0a83002]]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to