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

NPE in JMX Collector when collecting composite attributes

    XMLWordPrintable

    Details

      Description

      The following NPE occurred while attempting to collect composite attributes:

      2016-06-13 12:26:20,762 DEBUG [Collectd-Thread-4-of-50] o.o.n.c.JMXCollector: jsr160 Collector.collect: IOException while collecting address: /127.0.0.1
      java.lang.NullPointerException
              at org.opennms.netmgt.collectd.JMXCollector$JMXCollectionAttributeType.<init>(JMXCollector.java:461) ~[opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.JMXCollector$1.process(JMXCollector.java:315) ~[opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.jmx.impl.DefaultJmxCollector.collect(DefaultJmxCollector.java:141) ~[org.opennms.core.jmx.impl-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.jmx.impl.DefaultJmxCollector.collect(DefaultJmxCollector.java:107) ~[org.opennms.core.jmx.impl-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.JMXCollector.collect(JMXCollector.java:304) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectionSpecification.collect(CollectionSpecification.java:274) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:395) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:337) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.access$200(CollectableService.java:69) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectableService$1.run(CollectableService.java:315) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.core.logging.Logging.withPrefix(Logging.java:70) [org.opennms.core.logging-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:304) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:209) [opennms-services-17.0.1-SNAPSHOT.jar:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45]
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124) [opennms-util-17.0.1-SNAPSHOT.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: