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

Exception in DefaultDrivers activate method when starting ONOS

    XMLWordPrintable

    Details

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

      commit 6a9d4e44473ff6b782c840d9012d9c11e0fc5c2a

      Description

      This happens in both single and multi-node instances with no devices connected to ONOS.

      2015-04-09 13:05:11,501 | INFO  | FelixStartLevel  | DriverManager                    | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Started
      2015-04-09 13:05:11,510 | ERROR | FelixStartLevel  | onos-drivers                     | 158 - org.onosproject.onos-drivers - 1.2.0.SNAPSHOT | [org.onosproject.driver.pipeline.DefaultDrivers(69)] The activate method has thrown an exception
      java.lang.IllegalArgumentException: Multiple entries with same key: interface org.onosproject.net.behaviour.Pipeliner=class org.onosproject.driver.pipeline.OVSCorsaPipeline and interface org.onosproject.net.behaviour.Pipeliner=class org.onosproject.driver.pipeline.OVSCorsaPipeline
              at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:150)
              at com.google.common.collect.RegularImmutableMap.checkNoConflictInBucket(RegularImmutableMap.java:104)
              at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:70)
              at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:254)
              at org.onosproject.net.driver.DefaultDriver.merge(DefaultDriver.java:85)
              at org.onosproject.net.driver.DefaultDriverProvider.addDriver(DefaultDriverProvider.java:59)
              at org.onosproject.net.driver.DefaultDriverProvider$$Lambda$212/1501901117.accept(Unknown Source)
              at java.lang.Iterable.forEach(Iterable.java:75)[:1.8.0_40]
              at org.onosproject.net.driver.DefaultDriverProvider.addDrivers(DefaultDriverProvider.java:44)
              at org.onosproject.net.driver.impl.DriverManager.lambda$registerProvider$16(DriverManager.java:87)
              at org.onosproject.net.driver.impl.DriverManager$$Lambda$211/190502234.accept(Unknown Source)
              at java.lang.Iterable.forEach(Iterable.java:75)[:1.8.0_40]
              at org.onosproject.net.driver.impl.DriverManager.registerProvider(DriverManager.java:86)
              at org.onosproject.driver.pipeline.DefaultDrivers.activate(DefaultDrivers.java:53)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_40]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_40]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_40]
              at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_40]
              at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:315)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:850)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:931)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:895)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1480)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1401)[39:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:1210)[39:org.apache.felix.scr:1.8.2]
      ...
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: