org.mule.api.config.ConfigurationException

Error creating bean with name 'test': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice (org.mule.api.lifecycle.InitialisationException)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web18

  • via Unknown by David Dossot,
  • via Unknown by David Dossot,
  • via Unknown by Ross Mason,
  • Stack trace

    • org.mule.api.config.ConfigurationException: Error creating bean with name 'test': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:54) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:79) at org.mule.MuleServer.initialize(MuleServer.java:377) at org.mule.MuleServer.run(MuleServer.java:267) at org.mule.MuleServer.start(MuleServer.java:254) at org.mule.MuleServer.main(MuleServer.java:127) Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'test': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) ... 10 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:100) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 13 more Caused by: org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) ... 24 more Caused by: org.mule.api.lifecycle.LifecycleException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:148) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 31 more Caused by: java.lang.IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:104) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:75) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) at org.mule.routing.MessageFilter.initialise(MessageFilter.java:132) at org.mule.processor.chain.AbstractMessageProcessorChain.initialise(AbstractMessageProcessorChain.java:104) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:353) at org.mule.construct.AbstractFlowConstruct$1.onTransition(AbstractFlowConstruct.java:116) at org.mule.construct.AbstractFlowConstruct$1.onTransition(AbstractFlowConstruct.java:95) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:139) ... 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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,