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

IpAddressTableEntry: Unable to determine IP address type (4)

    XMLWordPrintable

    Details

      Description

      Provisioning new node stop while scanning ip interface table with:

      Agent failed while scanning the IP address tables : Unexpected error occurred processing IP address tables for /10.11.1.170: java.lang.NullPointerException

      in provisiond.log found:
      IpAddressTableEntry: Unable to determine IP address type (4)

      and:

      2012-06-27 13:23:32,024 INFO [importExecutor-5] Phase$PhaseMethod$1: failed to invoke lifecycle instance
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod.doInvoke(Phase.java:191)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod.access$100(Phase.java:157)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod$1.run(Phase.java:174)
      at org.opennms.core.tasks.SyncTask.run(SyncTask.java:89)
      at org.opennms.core.tasks.SyncTask$1.run(SyncTask.java:100)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
      at org.opennms.netmgt.provision.service.snmp.IpAddressTableEntry.getIpAddressNetMask(IpAddressTableEntry.java:132)
      at org.opennms.netmgt.provision.service.snmp.IpAddressTable.getNetMask(IpAddressTable.java:146)
      at org.opennms.netmgt.provision.service.snmp.IpAddressTable.updateIpInterfaceData(IpAddressTable.java:227)
      at org.opennms.netmgt.provision.service.operations.ScanManager.updateSnmpData(ScanManager.java:181)
      at org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation.updateSnmpData(SaveOrUpdateOperation.java:147)
      at org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation.scan(SaveOrUpdateOperation.java:139)
      at org.opennms.netmgt.provision.service.CoreImportActivities.scanNode(CoreImportActivities.java:143)
      ... 23 more
      2012-06-27 13:23:32,025 INFO [importExecutor-8] Phase$PhaseMethod$1: failed to invoke lifecycle instance
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod.doInvoke(Phase.java:191)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod.access$100(Phase.java:157)
      at org.opennms.netmgt.provision.service.lifecycle.Phase$PhaseMethod$1.run(Phase.java:174)
      at org.opennms.core.tasks.SyncTask.run(SyncTask.java:89)
      at org.opennms.core.tasks.SyncTask$1.run(SyncTask.java:100)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
      at org.opennms.netmgt.provision.service.snmp.IpAddressTableEntry.getIpAddressNetMask(IpAddressTableEntry.java:132)
      at org.opennms.netmgt.provision.service.snmp.IpAddressTable.getNetMask(IpAddressTable.java:146)
      at org.opennms.netmgt.provision.service.snmp.IpAddressTable.updateIpInterfaceData(IpAddressTable.java:227)
      at org.opennms.netmgt.provision.service.operations.ScanManager.updateSnmpData(ScanManager.java:181)
      at org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation.updateSnmpData(SaveOrUpdateOperation.java:147)
      at org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation.scan(SaveOrUpdateOperation.java:139)
      at org.opennms.netmgt.provision.service.CoreImportActivities.scanNode(CoreImportActivities.java:143)
      ... 23 more
      2012-06-27 13:23:32,025 TRACE [Provisiond-TaskScheduler] DefaultTaskMonitor: completed(Runner for Phase scan of lifecycle nodeImport)

      attached anonymized snmpwalk of device.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              mlaercher Martin Laercher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: