You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christian Danner (Jira)" <ji...@apache.org> on 2021/08/18 10:57:00 UTC

[jira] [Created] (ARTEMIS-3422) Message deletion via web console causes NullPointerException if log level >= INFO

Christian Danner created ARTEMIS-3422:
-----------------------------------------

             Summary: 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
            Reporter: Christian Danner
         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)