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

Exception Decoding LLDP ChassisId When type is NetworkAddress

    Details

      Description

      java.lang.IllegalArgumentException: Cannot decode invalid IANA Family address: 010a64a140
      at org.opennms.core.utils.LldpUtils.IanaFamilyAddressStringToType(LldpUtils.java:500)
      at org.opennms.core.utils.LldpUtils.decodeNetworkAddress(LldpUtils.java:481)
      at org.opennms.netmgt.enlinkd.snmp.LldpLocalGroupTracker.decodeLldpChassisId(LldpLocalGroupTracker.java:229)
      at org.opennms.netmgt.enlinkd.snmp.LldpRemTableTracker$LldpRemRow.getLldpLink(LldpRemTableTracker.java:219)
      at org.opennms.netmgt.enlinkd.NodeDiscoveryLldp$1.processLldpRemRow(NodeDiscoveryLldp.java:126)
      at org.opennms.netmgt.enlinkd.snmp.LldpRemTableTracker.rowCompleted(LldpRemTableTracker.java:262)
      at org.opennms.netmgt.snmp.SnmpTableResult.handleCompleteRows(SnmpTableResult.java:99)
      at org.opennms.netmgt.snmp.SnmpTableResult.storeResult(SnmpTableResult.java:75)
      at org.opennms.netmgt.snmp.TableTracker.storeResult(TableTracker.java:106)
      at org.opennms.netmgt.snmp.CollectionTracker.storeResult(CollectionTracker.java:77)
      at org.opennms.netmgt.snmp.ColumnTracker$1.processResponse(ColumnTracker.java:100)
      at org.opennms.netmgt.snmp.TableTracker$CombinedColumnResponseProcessor.processResponse(TableTracker.java:170)
      at org.opennms.netmgt.snmp.AggregateTracker$ChildTrackerResponseProcessor.processResponse(AggregateTracker.java:165)
      at org.opennms.netmgt.snmp.SnmpWalker.processResponse(SnmpWalker.java:202)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker.access$700(Snmp4JWalker.java:48)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.processResponse(Snmp4JWalker.java:151)
      at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.onResponse(Snmp4JWalker.java:180)
      at org.snmp4j.Snmp.processPdu(Snmp.java:1203)
      at org.snmp4j.MessageDispatcherImpl.fireProcessPdu(MessageDispatcherImpl.java:675)
      at org.snmp4j.MessageDispatcherImpl.dispatchMessage(MessageDispatcherImpl.java:302)
      at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:373)
      at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:333)
      at org.snmp4j.transport.AbstractTransportMapping.fireProcessMessage(AbstractTransportMapping.java:76)
      at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(DefaultUdpTransportMapping.java:414)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NumberFormatException: For input string: "010a64a140"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:583)
      at java.lang.Integer.valueOf(Integer.java:740)
      at java.lang.Integer.decode(Integer.java:1197)
      at org.opennms.core.utils.LldpUtils.IanaFamilyAddressStringToType(LldpUtils.java:496)

        Attachments

          Activity

            People

            • Assignee:
              rssntn67 Antonio Russo
              Reporter:
              rssntn67 Antonio Russo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: