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

LinkManager can throw NPE when BasicLinkConfig is getting updated

    Details

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

      1.10.0

    • Story Points:
      1
    • Epic Link:
    • Sprint:
      K Sprint #3 - Pkt-Optical

      Description

      2017-05-05 02:36:14,890 | WARN  | ispatch-default0 | ListenerRegistry                 | 125 - org.onosproject.onos-api - 1.10.0.SNAPSHOT | Exception encountered while processing event NetworkConfigEvent{time=2017-05-05T02:36:14.866, type=CONFIG_UPDATED, config=Optional[{"allowed":false,"durable":true,"type":"INDIRECT","bidirectional":false}], prevConfig=Optional[{"allowed":true,"durable":true,"type":"INDIRECT","bidirectional":false}], configClass=class org.onosproject.net.config.basics.BasicLinkConfig}
      java.lang.NullPointerException
      	at org.onosproject.net.link.impl.LinkManager$InternalNetworkConfigListener.event(LinkManager.java:351)[127:org.onosproject.onos-core-net:1.10.0.SNAPSHOT]
      	at org.onosproject.net.link.impl.LinkManager$InternalNetworkConfigListener.event(LinkManager.java:327)[127:org.onosproject.onos-core-net:1.10.0.SNAPSHOT]
      	at org.onosproject.event.ListenerRegistry.process(ListenerRegistry.java:66)[125:org.onosproject.onos-api:1.10.0.SNAPSHOT]
      	at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.process(CoreEventDispatcher.java:204)[127:org.onosproject.onos-core-net:1.10.0.SNAPSHOT]
      	at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.run(CoreEventDispatcher.java:187)[127:org.onosproject.onos-core-net:1.10.0.SNAPSHOT]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[: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:
              y-higuchi Yuta Higuchi
              Reporter:
              y-higuchi Yuta Higuchi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: