You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/16 21:00:00 UTC

[jira] [Commented] (ARTEMIS-1592) Clustered broker throws "java.lang.IllegalStateException: Cannot find binding for [Queue]" for auto-deleted queues

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

ASF subversion and git services commented on ARTEMIS-1592:
----------------------------------------------------------

Commit 7158d8a8a4610bdee45f4da5a16dd1f22e7fb7f6 in activemq-artemis's branch refs/heads/master from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=7158d8a ]

ARTEMIS-1592 AutoDeleted queues removed before sendNotifcation on consumer.close()

This could cause errors on Notification udpates and clustering.


> Clustered broker throws "java.lang.IllegalStateException: Cannot find binding for [Queue]" for auto-deleted queues
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1592
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1592
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.4.0, 2.5.0, 2.6.0, 2.6.3
>         Environment: Artemis 2.6.0, JDK8 64bit, Windows 7
>            Reporter: Johan Stenberg
>            Priority: Minor
>         Attachments: ArtemisTest.java
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When a clustered, auto-created queue is auto-deleted (i.e. when the consumer-count and message-count reach 0) this stack-trace can be logged:
> {noformat}
> ERROR: AMQ224037: cluster connection Failed to handle message
> java.lang.IllegalStateException: Cannot find binding for queues.myQueueb4b3a157-f51c-11e7-b013-54524514640f
> 	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doConsumerClosed(ClusterConnectionImpl.java:1360)
> 	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.handleNotificationMessage(ClusterConnectionImpl.java:1046)
> 	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:1016)
> 	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1003)
> 	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:50)
> 	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1126)
> 	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
> 	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
> 	at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {noformat}
> There is no functional impact associated with this message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)