Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-438

Exception when starting Blueprint component

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossOSGi 1.0.0 Beta10
    • Fix Version/s: JBossOSGi 1.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Fedora 14, JBoss OSGi inside AS7

      Description

      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]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bosschaert David Bosschaert
                Reporter:
                bosschaert David Bosschaert
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: