org.osgi.service.blueprint.container.ComponentDefinitionException

org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean synchronizer

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web199

  • via Apache's JIRA Issue Tracker by Manohar Gandra, 11 months ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean synchronizer
  • Unable to intialize bean jvmList: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean jvmList
  • via nabble.com by Unknown author, 1 year ago
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments [my.sample.command.ListCommand] when instanciating bean #recipe-11
  • Stack trace

    • org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean synchronizer at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:309)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:251)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:148)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.6.0_34] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34] at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.6.0_34] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)[:1.6.0_34] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)[:1.6.0_34] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)[:1.6.0_34] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.6.0_34] at java.lang.Thread.run(Thread.java:701)[:1.6.0_34] Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean synchronizer at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34] at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:284)[14:org.apache.aries.blueprint.core:1.4.2] ... 24 more Caused by: java.lang.NullPointerException at org.apache.karaf.cellar.config.ConfigurationSynchronizer.getSyncPolicy(ConfigurationSynchronizer.java:181) at org.apache.karaf.cellar.config.ConfigurationSynchronizer.sync(ConfigurationSynchronizer.java:65) at org.apache.karaf.cellar.config.ConfigurationSynchronizer.init(ConfigurationSynchronizer.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_34] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.6.0_34] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.6.0_34] at java.lang.reflect.Method.invoke(Method.java:622)[:1.6.0_34] at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[14:org.apache.aries.blueprint.core:1.4.2] ... 33 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.