Exception when starting Blueprint component
-------------------------------------------
Key: JBOSGI-438
URL:
https://issues.jboss.org/browse/JBOSGI-438
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jboss-osgi-blueprint
Affects Versions: JBossOSGi 1.0.0 Beta10
Environment: Fedora 14, JBoss OSGi inside AS7
Reporter: David Bosschaert
Attachments: ascii-pics-api-bundle-1.0.0-SNAPSHOT.jar,
ascii-pics-consumer-bundle-1.0.0-SNAPSHOT.jar
When starting my Blueprint component an exception appears on the console.
The attached bundles can be installed to reproduce.
This is the exception:
(pool-11-thread-1) Unable to start blueprint container for bundle
ascii-pics-consumer-bundle: java.lang.IllegalArgumentException: Invalid object class in:
[org.osgi.service.blueprint.container.BlueprintContainer]
at org.jboss.osgi.framework.bundle.ServiceState.<init>(ServiceState.java:109)
at
org.jboss.osgi.framework.plugin.internal.ServiceManagerPluginImpl.registerService(ServiceManagerPluginImpl.java:175)
at
org.jboss.osgi.framework.bundle.AbstractBundleContext.registerService(AbstractBundleContext.java:300)
at
org.jboss.osgi.framework.bundle.BundleContextWrapper.registerService(BundleContextWrapper.java:119)
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:388)
[BlueprintContainerImpl.class:]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:324)
[BlueprintContainerImpl.class:]
at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:213)
[BlueprintContainerImpl.class:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_20]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_20]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
[:1.6.0_20]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira