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

ASF subversion and git services commented on AMQ-9233:
------------------------------------------------------

Commit 95e3c2a1aa0d4962ad6a22a4422a9314875f824b in activemq's branch 
refs/heads/main from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=95e3c2a1aa ]

[AMQ-9233] Prevent NPE in SubQueueSelectorCacheBroker


> 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)

Reply via email to