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

ONOS tries to push flows before the flow provider is there

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.0, 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Starting ONOS I get the following exception (sometime), probably because ONOS tries to push flows before that flow provider is there. This is not blocking, but it would be nice to catch it.

      java.lang.NullPointerException
      at org.onosproject.net.flow.impl.FlowRuleManager$InternalStoreDelegate.notify(FlowRuleManager.java:504)[118:org.onosproject.onos-core-net:1.2.2.SNAPSHOT]
      at org.onosproject.net.flow.impl.FlowRuleManager$InternalStoreDelegate.notify(FlowRuleManager.java:460)[118:org.onosproject.onos-core-net:1.2.2.SNAPSHOT]
      at org.onosproject.store.AbstractStore.notifyDelegate(AbstractStore.java:58)[75:org.onosproject.onos-api:1.2.2.SNAPSHOT]
      at org.onosproject.store.flow.impl.NewDistributedFlowRuleStore.storeBatchInternal(NewDistributedFlowRuleStore.java:444)[120:org.onosproject.onos-core-dist:1.2.2.SNAPSHOT]
      at org.onosproject.store.flow.impl.NewDistributedFlowRuleStore.access$500(NewDistributedFlowRuleStore.java:104)[120:org.onosproject.onos-core-dist:1.2.2.SNAPSHOT]
      at org.onosproject.store.flow.impl.NewDistributedFlowRuleStore$OnStoreBatch.handle(NewDistributedFlowRuleStore.java:596)[120:org.onosproject.onos-core-dist:1.2.2.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.apply(ClusterCommunicationManager.java:223)[120:org.onosproject.onos-core-dist:1.2.2.SNAPSHOT]
      at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalClusterMessageHandler.apply(ClusterCommunicationManager.java:213)[120:org.onosproject.onos-core-dist:1.2.2.SNAPSHOT]
      at org.onlab.netty.NettyMessaging.lambda$null$4(NettyMessaging.java:198)[122:org.onosproject.onlab-netty:1.2.2.SNAPSHOT]
      at org.onlab.netty.NettyMessaging$$Lambda$211/1682879490.run(Unknown Source)[122:org.onosproject.onlab-netty:1.2.2.SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_40]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_40]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_40]

        Attachments

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

          Activity

            People

            Assignee:
            jono Jonathan Hart
            Reporter:
            luca Luca Prete
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: