activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Kåveland Hansen (JIRA) <j...@apache.org>
Subject [jira] [Created] (AMQ-3934) QueueViewMBean.getMessage throws NullPointerException when message not found
Date Tue, 17 Jul 2012 09:41:34 GMT
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

       

Mime
View raw message