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

NPE on output.log due to null ifSpeed when calling PhysicalInterfaceRow.getSpeed

    XMLWordPrintable

    Details

      Description

      java.lang.NullPointerException
      at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker$PhysicalInterfaceRow.getSpeed(PhysInterfaceTableTracker.java:148)
      at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker$PhysicalInterfaceRow.createInterfaceFromRow(PhysInterfaceTableTracker.java:206)
      at org.opennms.netmgt.provision.service.NodeScan$AgentScan$3.processPhysicalInterfaceRow(NodeScan.java:581)
      at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker.rowCompleted(PhysInterfaceTableTracker.java:239)
      at org.opennms.netmgt.snmp.SnmpTableResult.handleCompleteRows(SnmpTableResult.java:103)
      at org.opennms.netmgt.snmp.SnmpTableResult.storeResult(SnmpTableResult.java:79)
      at org.opennms.netmgt.snmp.TableTracker.storeResult(TableTracker.java:103)
      at org.opennms.netmgt.snmp.CollectionTracker.storeResult(CollectionTracker.java:77)
      at org.opennms.netmgt.snmp.ColumnTracker$1.processResponse(ColumnTracker.java:95)
      at org.opennms.netmgt.snmp.TableTracker$CombinedColumnResponseProcessor.processResponse(TableTracker.java:160)
      at org.opennms.netmgt.snmp.AggregateTracker$ChildTrackerResponseProcessor.processResponse(AggregateTracker.java:161)
      at org.opennms.netmgt.snmp.SnmpWalker.processResponse(SnmpWalker.java:197)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker.access$600(Snmp4JWalker.java:46)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.processResponse(Snmp4JWalker.java:136)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.onResponse(Snmp4JWalker.java:163)
      at org.snmp4j.Snmp.processPdu(Snmp.java:1272)
      at org.snmp4j.MessageDispatcherImpl.fireProcessPdu(MessageDispatcherImpl.java:616)
      at org.snmp4j.MessageDispatcherImpl.dispatchMessage(MessageDispatcherImpl.java:287)
      at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:347)
      at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:309)
      at org.snmp4j.transport.AbstractTransportMapping.fireProcessMessage(AbstractTransportMapping.java:83)
      at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(DefaultUdpTransportMapping.java:365)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: