karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-1162) A command that can not be loaded breaks the whole completion
Date Sat, 18 Aug 2012 14:30:38 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jamie goodyear closed KARAF-1162.
---------------------------------

    
> A command that can not be loaded breaks the whole completion
> ------------------------------------------------------------
>
>                 Key: KARAF-1162
>                 URL: https://issues.apache.org/jira/browse/KARAF-1162
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.8, 2.3.0, 3.0.0
>
>
> {code}
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class
org.apache.felix.framework.monitor.MonitoringService from recipe ReferenceRecipe[name='monitoringService']
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.loadType(AbstractServiceReferenceRecipe.java:227)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.loadClass(AbstractRecipe.java:97)
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.getInterfaceClass(AbstractServiceReferenceRecipe.java:289)
> 	at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:79)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
> 	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:60)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:813)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:787)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:768)
> 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:722)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:198)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:137)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:721)
> 	at org.apache.karaf.shell.console.commands.BlueprintCommand.createNewAction(BlueprintCommand.java:83)
> 	at org.apache.felix.gogo.commands.basic.AbstractCommand.getActionClass(AbstractCommand.java:45)
> 	at org.apache.karaf.shell.console.completer.ArgumentCompleter.<init>(ArgumentCompleter.java:70)
> 	at org.apache.karaf.shell.console.completer.CommandsCompleter.checkData(CommandsCompleter.java:78)
> 	at org.apache.karaf.shell.console.completer.CommandsCompleter.complete(CommandsCompleter.java:55)
> 	at org.apache.karaf.shell.console.jline.CompleterAsCompletor.complete(CompleterAsCompletor.java:32)
> 	at jline.console.ConsoleReader.complete(ConsoleReader.java:1462)
> 	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1220)
> 	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1078)
> 	at org.apache.karaf.shell.console.jline.Console.run(Console.java:191)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.ClassNotFoundException: org.apache.felix.framework.monitor.MonitoringService
not found by org.apache.karaf.shell.dev2 [12]
> 	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:845)
> 	at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)
> 	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1840)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:703)
> 	at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1630)
> 	at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:387)
> 	at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:115)
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.loadType(AbstractServiceReferenceRecipe.java:225)
> 	... 26 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message