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 2021/08/20 19:17:00 UTC
[jira] [Commented] (ARTEMIS-3422) Message deletion via web console
causes NullPointerException if log level >= INFO
[ https://issues.apache.org/jira/browse/ARTEMIS-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402389#comment-17402389 ]
Justin Bertram commented on ARTEMIS-3422:
-----------------------------------------
Thanks for the report, [~perdurabo]!
> 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)