Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7474

[Java Broker] Guard against NPE in StatisticsReportingTask

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-6.0, qpid-java-6.0.4, qpid-java-6.1
    • qpid-java-6.1, qpid-java-6.0.6
    • Broker-J
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: