Robin Kåveland Hansen created AMQ-3934:
------------------------------------------

             Summary: QueueViewMBean.getMessage throws NullPointerException 
when message not found
                 Key: AMQ-3934
                 URL: https://issues.apache.org/jira/browse/AMQ-3934
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMX
    Affects Versions: 5.6.0
         Environment: Linux 64-bit.
            Reporter: Robin Kåveland Hansen
            Priority: Minor


When calling QueueViewMBean.getMessage(String messageID), a 
NullpointerException is thrown from QueueView.java:40 when the message is not 
found on the queue. Adding a nullcheck in QueueView.getMessage(String 
messageID) fixes the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to