Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7710

NullPointerException in RrdtoolXportFetchStrategy

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 16.0.0
    • 16.0.1
    • REST
    • Security Level: Default (Default Security Scheme)
    • None
    • CentOS 6, rrdtool v1.3.8
    • Finalize 16.0.1

    Description

      The service throws an NPE when using older versions of rrdtool.

      This case should be handled properly and an error of the form "Use rrdtool v1.4.0 or greater" should be logged instead.

      Stack trace:

      java.lang.NullPointerException
      at org.opennms.web.rest.measurements.fetch.RrdtoolXportFetchStrategy.fetchMeasurements(RrdtoolXportFetchStrategy.java:177) ~[org.opennms.features.rest-measurements-api-16.0.0.jar:?]
      at org.opennms.web.rest.measurements.fetch.AbstractRrdBasedFetchStrategy.fetch(AbstractRrdBasedFetchStrategy.java:113) ~[org.opennms.features.rest-measurements-api-16.0.0.jar:?]
      at org.opennms.web.rest.MeasurementsRestService.query(MeasurementsRestService.java:155) [org.opennms.features.rest-measurements-api-16.0.0.jar:?]

      Attachments

        Activity

          People

            j-white Jesse White
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: