You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2024/06/19 17:27:00 UTC

[jira] [Commented] (ARTEMIS-4748) FB.DLS_DEAD_LOCAL_STORE Dead store

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

Justin Bertram commented on ARTEMIS-4748:
-----------------------------------------

The instance is not _created_ here. It is simply retrieved from the {{groupMap}}. Furthermore, if it is {{null}} then the NPE will be caught and logged appropriately.

> FB.DLS_DEAD_LOCAL_STORE Dead store
> ----------------------------------
>
>                 Key: ARTEMIS-4748
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4748
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.25.0
>            Reporter: Andrey Slepykh
>            Priority: Major
>         Attachments: image-2024-04-29-01-38-00-000.png
>
>
> in [class LocalGroupingHandler|https://github.com/apache/activemq-artemis/blob/b50f01b02b4c829e7330980837629951eeafb304/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/group/impl/LocalGroupingHandler.java#L51C20-L51C40]
>  
> !image-2024-04-29-01-38-00-000.png|width=785,height=63!
> You create an instance of a class and immediately use the remove method, although you should first check that this instance is full.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact