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

UnsupportedOperationException when using the JMXSecureCollector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.0.2
    • Fix Version/s: 17.0.0
    • Component/s: Data Collection - JMX
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      An attempt to collect using the org.opennms.netmgt.collectd.JMXSecureCollector fails with the following exception:

      2015-08-25 12:24:09,449 DEBUG [Collectd-Thread-2-of-50] o.o.n.c.JMXCollector: ssl-jmxmp Collector.collect: IOException while collecting address: /127.0.0.1
      java.lang.UnsupportedOperationException
      at java.util.Collections$UnmodifiableMap.put(Collections.java:1457) ~[?:1.8.0_45]
      at org.opennms.core.utils.ParameterMap.getKeyedLong(ParameterMap.java:75) ~[opennms-util-16.0.2.jar:?]
      at org.opennms.core.utils.ParameterMap.getKeyedInteger(ParameterMap.java:96) ~[opennms-util-16.0.2.jar:?]
      at org.opennms.netmgt.jmx.impl.connection.connectors.JMXSecureMBeanServerConnector.createConnection(JMXSecureMBeanServerConnector.java:67) ~[org.opennms.core.jmx.impl-16.0.2.jar:?]
      at org.opennms.netmgt.jmx.impl.connection.connectors.DefaultConnectionManager.connect(DefaultConnectionManager.java:105) ~[org.opennms.core.jmx.impl-16.0.2.jar:?]
      at org.opennms.netmgt.jmx.impl.DefaultJmxCollector.collect(DefaultJmxCollector.java:81) ~[org.opennms.core.jmx.impl-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.JMXCollector.collect(JMXCollector.java:296) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectionSpecification.collect(CollectionSpecification.java:274) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:388) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:322) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectableService.access$000(CollectableService.java:70) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectableService$1.run(CollectableService.java:300) [opennms-services-16.0.2.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) [org.opennms.core.logging-16.0.2.jar:?]
      at org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:296) [opennms-services-16.0.2.jar:?]
      at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:209) [opennms-services-16.0.2.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-16.0.2.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:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: