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

NPE in intent store when submitting batches

    XMLWordPrintable

    Details

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

      commit 6b887c900c6d7610c7efabef7c3e4e124f4aae2a

      Description

      steps:

      start 7 node cluster
      assign switches to ONOS nodes
      manually reassign mastership
      install fwd app
      pingall
      uninstall fwd app
      add host-host intents

      2015-07-02 09:30:58,260 | INFO  | h for user karaf | command                          | 154 - org.apache.karaf.log.command - 3.0.3 | Sending CLI command: 'add-host-intent 00:00:00:00:00:0E/-1 00:00:00:00:00:18/-1'
      2015-07-02 09:30:58,711 | INFO  | h for user karaf | command                          | 154 - org.apache.karaf.log.command - 3.0.3 | Sending CLI command: 'hosts -j'
      2015-07-02 09:30:59,161 | INFO  | h for user karaf | command                          | 154 - org.apache.karaf.log.command - 3.0.3 | Sending CLI command: 'hosts -j'
      2015-07-02 09:30:59,779 | ERROR | nos-intent-batch | IntentManager                    | 77 - org.onosproject.onos-core-net - 1.3.0.SNAPSHOT | Error submitting batches:
      java.lang.NullPointerException
              at org.onosproject.store.intent.impl.GossipIntentStore.lambda$activate$301(GossipIntentStore.java:110)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.store.intent.impl.GossipIntentStore$$Lambda$307/2070576418.apply(Unknown Source)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.store.ecmap.EventuallyConsistentMapImpl.remove(EventuallyConsistentMapImpl.java:326)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.store.intent.impl.GossipIntentStore.write(GossipIntentStore.java:189)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.store.intent.impl.GossipIntentStore$$Lambda$476/2140206803.accept(Unknown Source)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at java.util.ArrayList.forEach(ArrayList.java:1249)[:1.8.0_45]
              at org.onosproject.store.intent.impl.GossipIntentStore.batchWrite(GossipIntentStore.java:230)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.submitUpdates(IntentManager.java:374)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
              at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.run(IntentManager.java:339)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
              at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]
      2015-07-02 09:30:59,780 | ERROR | nos-intent-batch | IntentManager                    | 77 - org.onosproject.onos-core-net - 1.3.0.SNAPSHOT | Walk the plank, matey...
      

        Attachments

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

          Activity

            People

            Assignee:
            jhall Jon Hall
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: