Could you raise a JIRA issue in the ARIES project ? I'll have a look. 2016-06-06 13:35 GMT+02:00 Setya <jse...@gmail.com>:
> Hi Guillaume, > > I also experienced the following exception: > > /2016-06-06 14:45:15,112 | ERROR | nsole user karaf | > BlueprintContainerImpl > | 13 - org.apache.aries.blueprint.core - 1.6.1 | Unable to start blueprint > container for bundle com.modulariti.eventstore/0.0.1 > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name '__axon-annotation-command-handler-bean-post-processor': Cannot > resolve reference to bean '__axon-parameter-resolver-factory' while setting > bean property 'parameterResolverFactory'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean > with name '__axon-parameter-resolver-factory': Invocation of init method > failed; nested exception is java.lang.IllegalStateException: > org.apache.aries.blueprint.spring.SpringApplicationContext@33268309 has > not > been refreshed yet > at > > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:240)[103:org.apache.servicemix.bundles.spring-context:4.2.5.RELEASE_1] > at > > org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)[103:org.apache.servicemix.bundles.spring-context:4.2.5.RELEASE_1] > at > > org.apache.aries.blueprint.spring.SpringApplicationContext.process(SpringApplicationContext.java:59)[153:org.apache.aries.blueprint.spring:0.2.0] > at > > org.apache.aries.blueprint.spring.SpringBeanProcessor.process(SpringBeanProcessor.java:56)[153:org.apache.aries.blueprint.spring:0.2.0] > at > > org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:569)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:395)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[13:org.apache.aries.blueprint.core:1.6.1] > at > > org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[22:org.apache.aries.util:1.1.1] > at > > org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[22:org.apache.aries.util:1.1.1] > at > > org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[22:org.apache.aries.util:1.1.1] > at > > org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[22:org.apache.aries.util:1.1.1] > at > > org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[22:org.apache.aries.util:1.1.1] > at > > org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1179)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:731)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:486)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.Felix.activateBundle(Felix.java:2216)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.Felix.startBundle(Felix.java:2144)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:] > at > > org.apache.karaf.bundle.command.Install.execute(Install.java:96)[24:org.apache.karaf.bundle.core:4.0.5] > at > > org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.5] > at > > org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.5] > at java.lang.Thread.run(Thread.java:745)[:1.7.0_71] > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name '__axon-parameter-resolver-factory': Invocation of > init method failed; nested exception is java.lang.IllegalStateException: > org.apache.aries.blueprint.spring.SpringApplicationContext@33268309 has > not > been refreshed yet > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > ... 45 more > Caused by: java.lang.IllegalStateException: > org.apache.aries.blueprint.spring.SpringApplicationContext@33268309 has > not > been refreshed yet > at > > org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1041)[103:org.apache.servicemix.bundles.spring-context:4.2.5.RELEASE_1] > at > > org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1161)[103:org.apache.servicemix.bundles.spring-context:4.2.5.RELEASE_1] > at > > org.axonframework.contextsupport.spring.ApplicationContextLookupParameterResolverFactory.afterPropertiesSet(ApplicationContextLookupParameterResolverFactory.java:76)[115:org.axonframework.axon-core:2.4.3] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)[102:org.apache.servicemix.bundles.spring-beans:4.2.5.RELEASE_1] > ... 52 more/ > > While my Blueprint config is as simple as: > > /<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" > xmlns:axon=" > http://www.axonframework.org/schema/core" > xsi:schemaLocation=" > http://www.osgi.org/xmlns/blueprint/v1.0.0 > http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd > > > http://www.axonframework.org/schema/core > http://www.axonframework.org/schema/axon-core.xsd"> > > <axon:annotation-config/> > </blueprint>/ > > Any help would greatly appreciated. > > Thanks & Regards, > Setya > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Blueprint-and-Custom-Namespace-tp4046737p4046791.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/