qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7474) [Java Broker] Guard against NPE in StatisticsReportingTask
Date Tue, 01 Nov 2016 12:14:58 GMT

    [ https://issues.apache.org/jira/browse/QPID-7474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15625273#comment-15625273
] 

ASF subversion and git services commented on QPID-7474:
-------------------------------------------------------

Commit 1767486 from orudyy@apache.org in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1767486 ]

QPID-7474 : Only virtual hosts capable of processing messages should implement StatisticsGatherer

merged from trunk with:
svn merge -c 1766796  ^/qpid/java/trunk

> [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, qpid-java-6.0.4, qpid-java-6.1
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-6.1
>
>
> Currently when statistics gathering is enabled on the broker it iterates over all virtual
hosts and accesses their EventLogger. Some VirtualHosts (e.g., BDBHAReplicaVirtualHost or
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


Mime
View raw message