You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2023/06/24 04:24:00 UTC
[jira] [Resolved] (AMQ-9233) NPE in SubQueueSelectorCacheBroker.removeConsumer
[ https://issues.apache.org/jira/browse/AMQ-9233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved AMQ-9233.
---------------------------------------
Resolution: Fixed
> NPE in SubQueueSelectorCacheBroker.removeConsumer
> -------------------------------------------------
>
> Key: AMQ-9233
> URL: https://issues.apache.org/jira/browse/AMQ-9233
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.16.4
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.19.0, 5.18.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This NPE occurs after a number of cascading errors. Probably, the _selectors.size()_ needs a null check.
> {noformat}
> java.lang.NullPointerException
> at org.apache.activemq.plugin.SubQueueSelectorCacheBroker.removeConsumer(SubQueueSelectorCacheBroker.java:183)[activemq-broker-5.16.4.jar:5.16.4]
> at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:139)[activemq-broker-5.16.4.jar:5.16.4]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)