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

Linkd throws NPE when trying to follow link to unknown node

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4
    • Fix Version/s: 1.8.5
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      4133

      Description

      2010-09-23 05:46:37,713 WARN [LinkdScheduler-5 Pool-fiber2] DbEventWriter: getNodeidIfindexFromIp: no nodeid found for ipaddress 217.128.92.62.static.cust.telenor.com/62.92.128.
      217.
      2010-09-23 05:46:37,714 WARN [LinkdScheduler-5 Pool-fiber2] DbEventWriter: store: No nodeid found for next hop ip/62.92.128.217 Skipping ip route interface add to Linkable Snmp
      Node
      2010-09-23 05:46:37,715 ERROR [LinkdScheduler-5 Pool-fiber2] RunnableConsumerThreadPool$FiberThreadImpl: No error listeners defined for unexpected error: java.lang.NullPointerExc
      eption
      java.lang.NullPointerException
      at org.opennms.netmgt.linkd.DbEventWriter.storeSnmpCollection(DbEventWriter.java:541)
      at org.opennms.netmgt.linkd.Linkd.updateNodeSnmpCollection(Linkd.java:467)
      at org.opennms.netmgt.linkd.SnmpCollection.run(SnmpCollection.java:530)
      at org.opennms.netmgt.linkd.scheduler.Scheduler$1.run(Scheduler.java:309)
      at org.opennms.core.concurrent.RunnableConsumerThreadPool$FiberThreadImpl.run(RunnableConsumerThreadPool.java:427)
      at java.lang.Thread.run(Thread.java:619)
      2010-09-23 06:00:01,728 ERROR [LinkdScheduler-5 Pool-fiber2] RunnableConsumerThreadPool$FiberThreadImpl: No error listeners defined for unexpected error: java.lang.NullPointerExc
      eption
      java.lang.NullPointerException
      at org.opennms.netmgt.linkd.DbEventWriter.storeSnmpCollection(DbEventWriter.java:541)
      at org.opennms.netmgt.linkd.Linkd.updateNodeSnmpCollection(Linkd.java:467)
      at org.opennms.netmgt.linkd.SnmpCollection.run(SnmpCollection.java:530)
      at org.opennms.netmgt.linkd.scheduler.Scheduler$1.run(Scheduler.java:309)
      at org.opennms.core.concurrent.RunnableConsumerThreadPool$FiberThreadImpl.run(RunnableConsumerThreadPool.java:427)
      at java.lang.Thread.run(Thread.java:619)
      2010-09-23 06:00:14,669 ERROR [LinkdScheduler-5 Pool-fiber2] RunnableConsumerThreadPool$FiberThreadImpl: No error listeners defined for unexpected error: java.lang.NullPointerExc
      eption

      It seems linkd gets issues when trying to follow a link to an unknown node.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              seth Seth Leger
              Reporter:
              alexh@boxed.no Alexander Hoogerhuis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: