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

NPE on SnmpAssetProvisioningAdapter.fetchSnmpAssetString()

    XMLWordPrintable

    Details

      Description

      I've found the following exception on provisiond.log using the SNMP Asset Adapter:

      java.lang.NullPointerException
              at org.opennms.netmgt.provision.SnmpAssetProvisioningAdapter.fetchSnmpAssetString(SnmpAssetProvisioningAdapter.java:188)
              at org.opennms.netmgt.provision.SnmpAssetProvisioningAdapter.doUpdateNode(SnmpAssetProvisioningAdapter.java:261)
              at org.opennms.netmgt.provision.SimplerQueuedProvisioningAdapter$2.doInTransaction(SimplerQueuedProvisioningAdapter.java:135)
              at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
              at org.opennms.netmgt.provision.SimplerQueuedProvisioningAdapter.processPendingOperationForNode(SimplerQueuedProvisioningAdapter.java:132)
              at org.opennms.netmgt.provision.SimpleQueuedProvisioningAdapter$AdapterOperation.run(SimpleQueuedProvisioningAdapter.java:408)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      

        Attachments

          Activity

            People

            Assignee:
            agalue Alejandro Galue
            Reporter:
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: