[
https://issues.apache.org/jira/browse/ARTEMIS-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402406#comment-17402406
]
ASF subversion and git services commented on ARTEMIS-3422:
----------------------------------------------------------
Commit c8d71cbebc2a109bd3256c1d8f405b8ea31a1c50 in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c8d71cb ]
ARTEMIS-3422 mitigate NPE for audit logging
> Message deletion via web console causes NullPointerException if log level >=
> INFO
> ---------------------------------------------------------------------------------
>
> Key: ARTEMIS-3422
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3422
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: JMX, Web Console
> Affects Versions: 2.18.0
> Environment: Embedded Apache Artemis 2.18.0
> Windows Server 2016 Standard (10.0.14393)
> Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
> Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
> Reporter: Christian Danner
> Assignee: Justin Bertram
> Priority: Minor
> Attachments: full_stack.txt
>
>
> When deleting a message from a queue using the web console a
> NullPointerException is thrown on the server side when committing the
> transaction.
> This only happens in case logger.level=INFO or higher is used because the
> Exception occurs when trying to log the acknowledge for the deleted message.
> The reason is that the ServerConsumer used to determine the session is null
> at this point as it is not provided by the caller.
> The attached stack trace shows the exact location.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)