You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2016/10/26 14:27:58 UTC

[jira] [Created] (QPID-7474) [Java Broker] Guard against NPE in StatisticsReportingTask

Lorenz Quack created QPID-7474:
----------------------------------

             Summary: [Java Broker] Guard against NPE in StatisticsReportingTask
                 Key: QPID-7474
                 URL: https://issues.apache.org/jira/browse/QPID-7474
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.0.4, qpid-java-6.0, qpid-java-6.1
            Reporter: Lorenz Quack


Currently when statistics gathering is enabled on the broker it iterates over all virtual hosts and accesses their EventLogger. Some VirtualHosts (e.g., RedirectingVirtualHost) do not have an EventLogger and will return null causing a NullPointerException in the StatisticsReportingTask that will be logged with a stacktrace and prevents other VHs from reporting their statistics.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org