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

output.log flooded with "java.lang.NumberFormatException: For input string: "...�.""

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 16.0.0
    • Fix Version/s: 16.0.1
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      RHEL7

      Description

      After Update from 15 to 16.0.0 the output log is flooded with following:

      [root@opennms ~]# cat /var/log/opennms/output.log  | grep "java.lang.NumberFormatException: For input string:" | wc -l
      17160
      
      java.lang.NumberFormatException: For input string: "...�."
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:569)
              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: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: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)
      

        Attachments

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            robertpenz Robert Penz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: