Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-27

Unable to find a matching factory method getScope for genius.itm.cli.RemoveExternalEndpoint

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • (unspecified)
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 6905

    Description

      Looks like there is a wiring problem for the RemoveExternalEndpoint cli.

      [shague@shague-linux$]/git/genius (master=)$ ./karaf/target/assembly/bin/karaf
      Apache Karaf starting up. Press Enter to open the shell now...
      100% [========================================================================]

      Karaf started in 32s. Bundle stats: 335 active, 335 total

      ________ ________ .__ .__ .__ __
      _____ \ ______ ____ ____ ______ \ _____ __..| | || ____ | |_/ |
      / |
      ____ _/ __ \ / \ | |
      __ \< | || | | |/ ___| | \ __\
      / | \ |> > ___/| | | ` \/ __
      ___ || |
      | / /_/ > Y \ |
      _______ / _/ __ >__| /______ (____ / ___||__/__ /|__| /_|
      \/|_| \/ \/ \/ \/\/ /____/ \/

      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

      opendaylight-user@root>feautre:list | grep genius
      pipe: org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: feautre:list
      opendaylight-user@root>feature:list | grep genius
      odl-genius-api | 0.2.0-SNAPSHOT | x | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius :: api
      odl-genius | 0.2.0-SNAPSHOT | x | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius
      odl-genius-rest | 0.2.0-SNAPSHOT | x | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius :: REST
      odl-genius-ui | 0.2.0-SNAPSHOT | x | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius :: UI
      odl-genius-fcaps-framework | 0.2.0-SNAPSHOT | | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius :: fcapsframework
      odl-genius-fcaps-application | 0.2.0-SNAPSHOT | | odl-genius-0.2.0-SNAPSHOT | OpenDaylight :: genius :: fcapsapp
      opendaylight-user@root>bundle:diag
      itm-impl (249)
      --------------
      Status: Failure
      Blueprint
      10/7/16 8:48 AM
      Exception:
      org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments [org.opendaylight.genius.itm.cli.RemoveExternalEndpoint] when instanciating bean #recipe-419
      org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments [org.opendaylight.genius.itm.cli.RemoveExternalEndpoint] when instanciating bean #recipe-419
      at org.apache.aries.blueprint.di.MapRecipe.internalCreate(MapRecipe.java:115)
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)
      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)
      at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:233)
      at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:148)
      at org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(ServiceRecipe.java:451)
      at org.apache.aries.blueprint.container.ServiceRecipe.register(ServiceRecipe.java:166)
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerServices(BlueprintContainerImpl.java:746)
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:413)
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
      at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
      at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
      at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
      at org.eclipse.osgi.framework.internal.core.Framework$10.call(Framework.java:1605)
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1239)
      at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1222)
      at org.eclipse.osgi.framework.internal.core.Framework.notifyEventHooksPrivileged(Framework.java:1602)
      at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1557)
      at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
      at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
      at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments [org.opendaylight.genius.itm.cli.RemoveExternalEndpoint] when instanciating bean #recipe-419
      at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromStaticFactory(BeanRecipe.java:334)
      at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:280)
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:830)
      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)
      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)
      at org.apache.aries.blueprint.di.MapRecipe.internalCreate(MapRecipe.java:111)
      ... 36 more

      opendaylight-user@root>

      Attachments

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

        Activity

          People

            chintan.apte@ericsson.com Chintan Apte
            shague Sam Hague
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: