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

NPE in JmxRrdMigratorOffline

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 14.0.0, Meridian-2015.1.0
    • 18.0.0, Meridian-2016.1.0
    • Installation
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      If a JMX-based service is defined in collectd-configuration.xml, but is not part of any packages, the JmxRrdMigratorOffline task will fail with the following exception.

      Caused by: java.lang.NullPointerException
      at org.opennms.upgrade.implementations.JmxRrdMigratorOffline.getSvcPropertyValue(JmxRrdMigratorOffline.java:630)
      at org.opennms.upgrade.implementations.JmxRrdMigratorOffline.getJmxResourceDirectories(JmxRrdMigratorOffline.java:378)
      at org.opennms.upgrade.implementations.JmxRrdMigratorOffline.preExecute(JmxRrdMigratorOffline.java:136)

      Attachments

        Activity

          People

            mvr Markus von RĂ¼den
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: