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

ConcurrentModificationException while processing device disconnect

    XMLWordPrintable

    Details

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

      commit 9eb55d114a3a3a323cd04867ce1aadfedaf8a394

    • Epic Link:
    • Sprint:
      Drake Sprint 2 (7/27-8/14) 2, Drake Sprint 3 (8/17-8/28), Emu Sprint 1 (9/21-10/9)

      Description

      2015-08-14 09:54:35,034 | WARN  | event-dispatch-0 | ListenerRegistry                 | 75 - org.onosproject.onos-api - 1.3.0.SNAPSHOT | Exception encountered while processing event DeviceEvent{time=2015-08-14T09:54:34.991, type=DEVICE_AVAILABILITY_CHANGED, subject=DefaultDevice{id=of:0000000000005000, type=SWITCH, manufacturer=Nicira, Inc., hwVersion=Open vSwitch, swVersion=2.3.0, serialNumber=None}}
      java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)[:1.8.0_25]
              at java.util.HashMap$EntryIterator.next(HashMap.java:1463)[:1.8.0_25]
              at java.util.HashMap$EntryIterator.next(HashMap.java:1461)[:1.8.0_25]
              at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1145)[44:com.google.guava:18.0.0]
              at java.util.Iterator.forEachRemaining(Iterator.java:116)[:1.8.0_25]
              at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)[:1.8.0_25]
              at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[:1.8.0_25]
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_25]
              at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[:1.8.0_25]
              at org.onosproject.store.host.impl.ECHostStore.getConnectedHosts(ECHostStore.java:181)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
              at org.onosproject.net.host.impl.HostManager.getConnectedHosts(HostManager.java:165)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
              at org.onosproject.provider.host.impl.HostLocationProvider$InternalDeviceListener.event(HostLocationProvider.java:402)[169:org.onosproject.onos-host-provider:1.3.0.SNAPSHOT]
              at org.onosproject.provider.host.impl.HostLocationProvider$InternalDeviceListener.event(HostLocationProvider.java:392)[169:org.onosproject.onos-host-provider:1.3.0.SNAPSHOT]
              at org.onosproject.event.ListenerRegistry.process(ListenerRegistry.java:66)[75:org.onosproject.onos-api:1.3.0.SNAPSHOT]
              at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.process(CoreEventDispatcher.java:141)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
              at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.run(CoreEventDispatcher.java:124)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_25]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_25]
              at java.lang.Thread.run(Thread.java:745)[:1.8.0_25]
      

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: