Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6305

[ONOS-YANG-DEMO1]Null pointer exception when query for netconf session in multi-instance scenario.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      onos>
      onos> exception-display
      java.lang.NullPointerException
      at org.onosproject.drivers.huawei.HuaweiDeviceDescription.getNetconfSession(HuaweiDeviceDescription.java:122)
      at org.onosproject.drivers.huawei.HuaweiDeviceDescription.getInterfaces(HuaweiDeviceDescription.java:196)
      at org.onosproject.drivers.huawei.HuaweiDeviceDescription.discoverPortStatistics(HuaweiDeviceDescription.java:187)
      at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.updatePortStatistics(NetconfDeviceProvider.java:431)[166:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT]
      at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.checkAndUpdateDevice(NetconfDeviceProvider.java:423)[166:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT]
      at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.lambda$checkAndUpdateDevices$4(NetconfDeviceProvider.java:476)[166:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT]
      at java.lang.Iterable.forEach(Iterable.java:75)[:1.8.0_121]
      at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.checkAndUpdateDevices(NetconfDeviceProvider.java:457)[166:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT]
      at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider$2.run(NetconfDeviceProvider.java:233)[166:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Vidyashree-Huawei Vidyashree Rama
              Reporter:
              huawei-adarsh Adarsh m
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: