1 Reply Latest reply on Apr 11, 2010 12:28 PM by Peter Thygesen

    Exception when publishing an OSGi Service using Blueprint

    Peter Thygesen Novice

      I have tried out the example described in chap. 8 Fuse ESB documentation  http://fusesource.com/docs/esb/4.2/deploy_osgi/DeploySimple-Publish.html

      It does not work! Can someone please tell me how to get the sample to work.

       

      I get this exception:

       

      20:19:51,129 | ERROR | pool-2-thread-2 | BlueprintContainerImpl | container.BlueprintContainerImpl 337 | Unable to start blueprint container for bundle null

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

      at java.util.ArrayList.RangeCheck(ArrayList.java:547)

      at java.util.ArrayList.get(ArrayList.java:322)

      at org.apache.geronimo.blueprint.container.BlueprintContainerImpl.checkDirectives(BlueprintContainerImpl.java:180)

      at org.apache.geronimo.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:232)

      at org.apache.geronimo.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:211)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

      at java.util.concurrent.FutureTask.run(FutureTask.java:138)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(Thread.java:619)

       

      Please. I only want answer regarding this example or how to use blueprints. NOT any other solutions e.g. Bnd or iPojo, scr ect.

       

      /Peter