karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Hauser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3814) Aries Blueprint throws ComponentDefinitionException when Cellar is starting on Karaf 4.0.0
Date Tue, 30 Jun 2015 09:16:04 GMT
Roland Hauser created KARAF-3814:
------------------------------------

             Summary: Aries Blueprint throws ComponentDefinitionException when Cellar is starting
on Karaf 4.0.0
                 Key: KARAF-3814
                 URL: https://issues.apache.org/jira/browse/KARAF-3814
             Project: Karaf
          Issue Type: Bug
          Components: cellar-core
    Affects Versions: 4.0.0, cellar-3.0.3
            Reporter: Roland Hauser


Following exception occurs when our custom Karaf distribution is started:

{panel}
2015-06-30 11:02:30,975 | ERROR | xtender-thread-3 | ServiceRecipe                    | 24
- org.apache.aries.blueprint.core - 1.4.3 | Error retrieving service from ServiceRecipe[name='shell-38']
org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property:
PropertyDescriptor <name: completers, getter: class org.apache.karaf.shell.console.commands.BlueprintCommand.getCompleters(),
setter: [class org.apache.karaf.shell.console.commands.BlueprintCommand.setCompleters(interface
java.util.List)]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:284)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:251)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:239)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.ServiceRecipe.getClasses(ServiceRecipe.java:382)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.ServiceRecipe.register(ServiceRecipe.java:185)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerServices(BlueprintContainerImpl.java:704)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:379)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[24:org.apache.aries.blueprint.core:1.4.3]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
	at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[24:org.apache.aries.blueprint.core:1.4.3]
	at com.bechtle.orbis.nucleus.hooks.impl.executor.MdcAwareRunnable.run(MdcAwareRunnable.java:28)[13:com.bechtle.orbis.nucleus.hooks.impl:1.0.0.SNAPSHOT]
	at com.bechtle.orbis.nucleus.hooks.impl.executor.InheritedThreadLocalTransferRunnable.run(InheritedThreadLocalTransferRunnable.java:26)[13:com.bechtle.orbis.nucleus.hooks.impl:1.0.0.SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_79]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_79]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
	at com.bechtle.orbis.nucleus.hooks.impl.executor.MdcAwareRunnable.run(MdcAwareRunnable.java:28)[13:com.bechtle.orbis.nucleus.hooks.impl:1.0.0.SNAPSHOT]
	at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
Caused by: java.lang.Exception: Unable to convert from [org.apache.karaf.cellar.core.shell.completer.AllGroupsCompleter@a0c5a08,
org.apache.karaf.features.command.completers.AllFeatureCompleter@2f5f0fe4] to java.util.List<org.apache.karaf.shell.console.Completer>(error
converting collection entry)
	at org.apache.aries.blueprint.container.AggregateConverter.convertToCollection(AggregateConverter.java:342)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:182)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRepository.java:402)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert(ReflectionUtils.java:394)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939)[24:org.apache.aries.blueprint.core:1.4.3]
	... 27 more
Caused by: java.lang.Exception: Unable to convert value org.apache.karaf.features.command.completers.AllFeatureCompleter@2f5f0fe4
to type org.apache.karaf.shell.console.Completer
	at org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:184)[24:org.apache.aries.blueprint.core:1.4.3]
	at org.apache.aries.blueprint.container.AggregateConverter.convertToCollection(AggregateConverter.java:340)[24:org.apache.aries.blueprint.core:1.4.3]
	... 33 more
{panel}

Following features are installed:

{code:xml}
				<configuration>
					<!-- no startupFeatures -->
					<bootFeatures>
						<feature>com.bechtle.karaf.hotdeploy.feature</feature>
						<feature>com.bechtle.orbis.nucleus.hooks.feature</feature>
						<feature>framework-security</feature>
						<feature>service-security</feature>
						<feature>aries-proxy</feature>
						<feature>aries-blueprint</feature>
						<feature>feature</feature>
						<feature>jaas-boot</feature>
						<feature>shell</feature>
						<feature>shell-compat</feature>
						<feature>deployer</feature>
						<feature>wrapper</feature>
						<feature>bundle</feature>
						<feature>config</feature>
						<feature>diagnostic</feature>
						<feature>jaas</feature>
						<feature>log</feature>
						<feature>package</feature>
						<feature>service</feature>
						<feature>system</feature>
						<feature>http</feature>
						<feature>http-whiteboard</feature>
						<feature>ssh</feature>
						<feature>management</feature>
						<feature>wrap</feature>
						<feature>management</feature>
						<feature>war</feature>
						<feature>webconsole</feature>
						<feature>cellar</feature>
						<feature>cellar-webconsole</feature>
					</bootFeatures>
					<installedFeatures>
						<feature>spring</feature>
					</installedFeatures>
					<!-- no installedFeatures -->
				</configuration>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message