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

Apache's JIRA Issue Tracker | Manohar Gandra | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    We have create 3 child nodes for apache-servicemix-5.3.2. Installed cellar-2.3.6 on root node and all the child nodes. We also created a new cluster group (other than default) and joined all the 3 child nodes in this group. Root node is excluded from this group. cluster:group-create <group name> (this command on root node) cluster:group-join <group name> (this command run on 3 child nodes). All the 3 nodes successfully joined in cluster group. After joining the group, we have restarted the all the cluster members(root and child nodes). We see Cellar:feature, cellar:config and cellar:bundle bundles in failed state in child nodes. 206] [Active ] [Failure ] [ ] [ 40] Apache Karaf :: Cellar :: Config (2.3.6) [ 207] [Active ] [Failure ] [ ] [ 40] Apache Karaf :: Cellar :: Bundle (2.3.6) [ 208] [Active ] [Failure ] [ ] [ 40] Apache Karaf :: Cellar :: Features (2.3.6) We are seeing following error in logs. 2015-05-29 10:31:21,507 | ERROR | rint Extender: 1 | BlueprintContainerImpl | ? ? | 14 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle org.apache.karaf.cellar.features 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.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: java.lang.NullPointerException at org.apache.karaf.cellar.features.FeaturesSynchronizer.getSyncPolicy(FeaturesSynchronizer.java:222) at org.apache.karaf.cellar.features.FeaturesSynchronizer.sync(FeaturesSynchronizer.java:65) at org.apache.karaf.cellar.features.FeaturesSynchronizer.init(FeaturesSynchronizer.java:48) 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] ... 24 more 2015-05-29 10:31:21,508 | WARN | rint Extender: 3 | BeanRecipe | ? ? | 14 - org.apache.aries.blueprint.core - 1.4.2 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null 2015-05-29 10:31:21,511 | ERROR | rint Extender: 3 | BlueprintContainerImpl | ? ? | 14 - org.apache.aries.blueprint.core - 1.4.2 | Unable to start blueprint container for bundle org.apache.karaf.cellar.bundle 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.bundle.BundleSynchronizer.getSyncPolicy(BundleSynchronizer.java:221) at org.apache.karaf.cellar.bundle.BundleSynchronizer.sync(BundleSynchronizer.java:64) at org.apache.karaf.cellar.bundle.BundleSynchronizer.init(BundleSynchronizer.java:48) 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 2015-05-29 10:52:44,100 | ERROR | rint Extender: 2 | ServiceRecipe | ? ? | 14 - org.apache.aries.blueprint.core - 1.4.2 | Error retrieving service from ServiceRecipe[name='.component-2'] 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] 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: 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 2015-05-29 10:52:44,110 | ERROR | rint Extender: 2 | ServiceRecipe | ? ? | 14 - org.apache.aries.blueprint.core - 1.4.2 | Error retrieving service from ServiceRecipe[name='.component-2'] 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

    Apache's JIRA Issue Tracker | 2 years ago | Manohar Gandra
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean synchronizer
  2. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.karaf.cellar.features.FeaturesSynchronizer.getSyncPolicy()
    2. org.apache.karaf
      FeaturesSynchronizer.init
      1. org.apache.karaf.cellar.features.FeaturesSynchronizer.getSyncPolicy(FeaturesSynchronizer.java:222)
      2. org.apache.karaf.cellar.features.FeaturesSynchronizer.sync(FeaturesSynchronizer.java:65)
      3. org.apache.karaf.cellar.features.FeaturesSynchronizer.init(FeaturesSynchronizer.java:48)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_34]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.6.0_34]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.6.0_34]
      4. java.lang.reflect.Method.invoke(Method.java:622)[:1.6.0_34]
      4 frames
    4. Apache Aries Blueprint Core
      AbstractRecipe$1.call
      1. org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[14:org.apache.aries.blueprint.core:1.4.2]
      2. org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[14:org.apache.aries.blueprint.core:1.4.2]
      3. org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[14:org.apache.aries.blueprint.core:1.4.2]
      4. org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[14:org.apache.aries.blueprint.core:1.4.2]
      5. org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[14:org.apache.aries.blueprint.core:1.4.2]
      6. org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.4.2]
      6 frames
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34]
      2 frames
    6. Apache Aries Blueprint Core
      BlueprintContainerImpl.run
      1. org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.4.2]
      2. org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[14:org.apache.aries.blueprint.core:1.4.2]
      3. org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[14:org.apache.aries.blueprint.core:1.4.2]
      4. org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[14:org.apache.aries.blueprint.core:1.4.2]
      5. org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[14:org.apache.aries.blueprint.core:1.4.2]
      6. org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[14:org.apache.aries.blueprint.core:1.4.2]
      6 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.6.0_34]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34]
      3 frames
    8. Apache Aries Blueprint Core
      DiscardableRunnable.run
      1. org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[14:org.apache.aries.blueprint.core:1.4.2]
      2. org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[14:org.apache.aries.blueprint.core:1.4.2]
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.6.0_34]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.6.0_34]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.6.0_34]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)[:1.6.0_34]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)[:1.6.0_34]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)[:1.6.0_34]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.6.0_34]
      8. java.lang.Thread.run(Thread.java:701)[:1.6.0_34]
      8 frames