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

NPE on openstackswitching when restart ONOS with existing VMs

    XMLWordPrintable

    Details

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

      Description

      Reproduce steps,

      1. start ONOS and openstackswitching
      2. start VM
      3. restart ONOS

      I get the following exceptions

      2016-02-02 11:32:37,620 | ERROR | ing-device-event | Tools                            | 71 - org.onosproject.onlab-misc - 1.5.0.SNAPSHOT | Uncaught exception on onos-openstackswitching-device-event
      java.lang.NullPointerException
      	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:212)[44:com.google.guava:19.0.0]
      	at org.onosproject.openstackswitching.impl.OpenstackSwitchingRulePopulator.<init>(OpenstackSwitchingRulePopulator.java:90)[188:org.onosproject.onos-app-openstackswitching:1.5.0.SNAPSHOT]
      	at org.onosproject.openstackswitching.impl.OpenstackSwitchingManager.processPortUpdated(OpenstackSwitchingManager.java:294)[188:org.onosproject.onos-app-openstackswitching:1.5.0.SNAPSHOT]
      	at org.onosproject.openstackswitching.impl.OpenstackSwitchingManager.access$700(OpenstackSwitchingManager.java:77)[188:org.onosproject.onos-app-openstackswitching:1.5.0.SNAPSHOT]
      	at org.onosproject.openstackswitching.impl.OpenstackSwitchingManager$InternalEventHandler.run(OpenstackSwitchingManager.java:480)[188:org.onosproject.onos-app-openstackswitching:1.5.0.SNAPSHOT]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_72]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_72]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]
      

        Attachments

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

          Activity

            People

            Assignee:
            hyunsun Hyunsun Moon
            Reporter:
            hyunsun Hyunsun Moon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: