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

EnhancedLinkd-Thread-x-of-x - Null Pointer Exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 25.0.0
    • Fix Version/s: 25.0.0
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - September 11th

      Description

      Exception in thread "EnhancedLinkd-Thread-6-of-5" java.lang.NullPointerException
              at org.opennms.core.ipc.rpc.kafka.model.RpcMessageProtos$TracingInfo$Builder.setValue(RpcMessageProtos.java:646)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.lambda$execute$0(KafkaRpcClientFactory.java:207)
              at java.base/java.util.HashMap.forEach(HashMap.java:1336)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.execute(KafkaRpcClientFactory.java:204)
              at org.opennms.netmgt.snmp.proxy.common.LocationAwareSnmpClientRpcImpl.execute(LocationAwareSnmpClientRpcImpl.java:126)
              at org.opennms.netmgt.snmp.proxy.common.AbstractSNMPRequestBuilder.execute(AbstractSNMPRequestBuilder.java:106)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:87)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:69)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.getInterfaceNameFromCiscoCdpMib(CdpInterfacePortNameGetter.java:60)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.get(CdpInterfacePortNameGetter.java:50)
              at org.opennms.netmgt.enlinkd.NodeDiscoveryCdp.collect(NodeDiscoveryCdp.java:138)
              at org.opennms.netmgt.enlinkd.common.NodeCollector.runDiscovery(NodeCollector.java:84)
              at org.opennms.netmgt.enlinkd.common.Discovery.run(Discovery.java:105)
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Exception in thread "EnhancedLinkd-Thread-5-of-5" java.lang.NullPointerException
              at org.opennms.core.ipc.rpc.kafka.model.RpcMessageProtos$TracingInfo$Builder.setValue(RpcMessageProtos.java:646)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.lambda$execute$0(KafkaRpcClientFactory.java:207)
              at java.base/java.util.HashMap.forEach(HashMap.java:1336)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.execute(KafkaRpcClientFactory.java:204)
              at org.opennms.netmgt.snmp.proxy.common.LocationAwareSnmpClientRpcImpl.execute(LocationAwareSnmpClientRpcImpl.java:126)
              at org.opennms.netmgt.snmp.proxy.common.AbstractSNMPRequestBuilder.execute(AbstractSNMPRequestBuilder.java:106)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:87)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:69)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.getInterfaceNameFromCiscoCdpMib(CdpInterfacePortNameGetter.java:60)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.get(CdpInterfacePortNameGetter.java:50)
              at org.opennms.netmgt.enlinkd.NodeDiscoveryCdp.collect(NodeDiscoveryCdp.java:138)
              at org.opennms.netmgt.enlinkd.common.NodeCollector.runDiscovery(NodeCollector.java:84)
              at org.opennms.netmgt.enlinkd.common.Discovery.run(Discovery.java:105)
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Exception in thread "EnhancedLinkd-Thread-6-of-5" java.lang.NullPointerException
              at org.opennms.core.ipc.rpc.kafka.model.RpcMessageProtos$TracingInfo$Builder.setValue(RpcMessageProtos.java:646)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.lambda$execute$0(KafkaRpcClientFactory.java:207)
              at java.base/java.util.HashMap.forEach(HashMap.java:1336)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.execute(KafkaRpcClientFactory.java:204)
              at org.opennms.netmgt.snmp.proxy.common.LocationAwareSnmpClientRpcImpl.execute(LocationAwareSnmpClientRpcImpl.java:126)
              at org.opennms.netmgt.snmp.proxy.common.AbstractSNMPRequestBuilder.execute(AbstractSNMPRequestBuilder.java:106)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:87)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:80)
              at org.opennms.netmgt.enlinkd.snmp.LldpLocPortGetter.get(LldpLocPortGetter.java:61)
              at org.opennms.netmgt.enlinkd.snmp.LldpLocPortGetter.getLldpLink(LldpLocPortGetter.java:66)
              at org.opennms.netmgt.enlinkd.NodeDiscoveryLldp.collect(NodeDiscoveryLldp.java:168)
              at org.opennms.netmgt.enlinkd.common.NodeCollector.runDiscovery(NodeCollector.java:84)
              at org.opennms.netmgt.enlinkd.common.Discovery.run(Discovery.java:105)
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Exception in thread "EnhancedLinkd-Thread-5-of-5" java.lang.NullPointerException
              at org.opennms.core.ipc.rpc.kafka.model.RpcMessageProtos$TracingInfo$Builder.setValue(RpcMessageProtos.java:646)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.lambda$execute$0(KafkaRpcClientFactory.java:207)
              at java.base/java.util.HashMap.forEach(HashMap.java:1336)
              at org.opennms.core.ipc.rpc.kafka.KafkaRpcClientFactory$1.execute(KafkaRpcClientFactory.java:204)
              at org.opennms.netmgt.snmp.proxy.common.LocationAwareSnmpClientRpcImpl.execute(LocationAwareSnmpClientRpcImpl.java:126)
              at org.opennms.netmgt.snmp.proxy.common.AbstractSNMPRequestBuilder.execute(AbstractSNMPRequestBuilder.java:106)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:87)
              at org.opennms.netmgt.enlinkd.snmp.SnmpGetter.get(SnmpGetter.java:69)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.getInterfaceNameFromCiscoCdpMib(CdpInterfacePortNameGetter.java:60)
              at org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter.get(CdpInterfacePortNameGetter.java:50)
              at org.opennms.netmgt.enlinkd.NodeDiscoveryCdp.collect(NodeDiscoveryCdp.java:138)
              at org.opennms.netmgt.enlinkd.common.NodeCollector.runDiscovery(NodeCollector.java:84)
              at org.opennms.netmgt.enlinkd.common.Discovery.run(Discovery.java:105)
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124)
              at java.base/java.lang.Thread.run(Thread.java:834)
      

       

       

        Attachments

          Activity

            People

            • Assignee:
              cgorantla Chandra Gorantla
              Reporter:
              sean Sean Torres
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: