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

NumberFormatException in LldpUtils

    XMLWordPrintable

    Details

      Description

      I'm seeing an exception in Enlinkd that looks like an unexpected value when walking the LLDP tables:

      java.lang.NumberFormatException: For input string: ".�..�"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:481)
              at java.lang.Integer.valueOf(Integer.java:556)
              at java.lang.Integer.decode(Integer.java:984)
              at org.opennms.core.utils.LldpUtils.IanaFamilyAddressStringToType(LldpUtils.java:491)
              at org.opennms.core.utils.LldpUtils.decodeNetworkAddress(LldpUtils.java:477)
              at org.opennms.netmgt.enlinkd.snmp.LldpLocalGroupTracker.decodeLldpChassisId(LldpLocalGroupTracker.java:220)
              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:201)
              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)
      ...
      

        Attachments

          Activity

            People

            Assignee:
            rssntn67 Antonio Russo
            Reporter:
            seth Seth Leger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: