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)

MuleSoft JIRA | David Dossot | 6 years ago
  1. 0

    Using a sub-flow as a target for unaccepted messages throws the following: {noformat} INFO 2011-01-24 13:07:24,716 [main] org.mule.MuleServer: Mule Server initializing... INFO 2011-01-24 13:07:25,039 [main] org.mule.config.spring.MuleApplicationContext: Refreshing org.mule.config.spring.MuleApplicationContext@1cd0888: startup date [Mon Jan 24 13:07:25 PST 2011]; root of context hierarchy INFO 2011-01-24 13:07:27,395 [main] org.mule.module.ibeans.config.IBeanHolderConfigurationBuilder: Scanning for annotations using the following paths: {org/mule, } INFO 2011-01-24 13:07:30,674 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising model: _muleSystemModel INFO 2011-01-24 13:07:30,743 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: shared INFO 2011-01-24 13:07:30,749 [main] org.mule.component.DefaultJavaComponent: Initialising: org.mule.component.DefaultJavaComponent component for: SimpleFlowConstruct{shared} INFO 2011-01-24 13:07:30,750 [main] org.mule.exception.DefaultServiceExceptionStrategy: Initialising exception listener: org.mule.exception.DefaultServiceExceptionStrategy@dc4c81 INFO 2011-01-24 13:07:30,760 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: test INFO 2011-01-24 13:07:30,774 [main] org.mule.construct.FlowConstructLifecycleManager: Disposing flow: shared INFO 2011-01-24 13:07:30,774 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing model: _muleSystemModel ERROR 2011-01-24 13:07:30,776 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. 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) 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.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 ERROR 2011-01-24 13:07:30,777 [main] org.mule.config.builders.AutoConfigurationBuilder: Configuration with "org.mule.config.builders.AutoConfigurationBuilder" failed. 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 ERROR 2011-01-24 13:07:30,780 [main] org.mule.MuleServer: ******************************************************************************** Message : Already in lifecycle phase 'initialise', cannot fire the same phase twice Type : org.mule.api.lifecycle.LifecycleException Code : MULE_ERROR-69999 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html Object : SimpleFlowConstruct{test} ******************************************************************************** Exception stack is: 1. Already in lifecycle phase 'initialise', cannot fire the same phase twice (java.lang.IllegalStateException) org.mule.lifecycle.AbstractLifecycleManager:104 (null) 2. Already in lifecycle phase 'initialise', cannot fire the same phase twice (org.mule.api.lifecycle.LifecycleException) org.mule.lifecycle.AbstractLifecycleManager:148 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html) ******************************************************************************** Root Exception stack trace: 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.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) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) 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) 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) 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) 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) ******************************************************************************** ERROR 2011-01-24 13:07:30,782 [main] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * Already in lifecycle phase 'initialise', cannot fire the same phase twice * * (java.lang.IllegalStateException) * * * * The error is fatal, the system will shutdown * ******************************************************************************** {noformat}

    MuleSoft JIRA | 6 years ago | David Dossot
    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)
  2. 0

    Using a sub-flow as a target for unaccepted messages throws the following: {noformat} INFO 2011-01-24 13:07:24,716 [main] org.mule.MuleServer: Mule Server initializing... INFO 2011-01-24 13:07:25,039 [main] org.mule.config.spring.MuleApplicationContext: Refreshing org.mule.config.spring.MuleApplicationContext@1cd0888: startup date [Mon Jan 24 13:07:25 PST 2011]; root of context hierarchy INFO 2011-01-24 13:07:27,395 [main] org.mule.module.ibeans.config.IBeanHolderConfigurationBuilder: Scanning for annotations using the following paths: {org/mule, } INFO 2011-01-24 13:07:30,674 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising model: _muleSystemModel INFO 2011-01-24 13:07:30,743 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: shared INFO 2011-01-24 13:07:30,749 [main] org.mule.component.DefaultJavaComponent: Initialising: org.mule.component.DefaultJavaComponent component for: SimpleFlowConstruct{shared} INFO 2011-01-24 13:07:30,750 [main] org.mule.exception.DefaultServiceExceptionStrategy: Initialising exception listener: org.mule.exception.DefaultServiceExceptionStrategy@dc4c81 INFO 2011-01-24 13:07:30,760 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: test INFO 2011-01-24 13:07:30,774 [main] org.mule.construct.FlowConstructLifecycleManager: Disposing flow: shared INFO 2011-01-24 13:07:30,774 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing model: _muleSystemModel ERROR 2011-01-24 13:07:30,776 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. 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) 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.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 ERROR 2011-01-24 13:07:30,777 [main] org.mule.config.builders.AutoConfigurationBuilder: Configuration with "org.mule.config.builders.AutoConfigurationBuilder" failed. 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 ERROR 2011-01-24 13:07:30,780 [main] org.mule.MuleServer: ******************************************************************************** Message : Already in lifecycle phase 'initialise', cannot fire the same phase twice Type : org.mule.api.lifecycle.LifecycleException Code : MULE_ERROR-69999 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html Object : SimpleFlowConstruct{test} ******************************************************************************** Exception stack is: 1. Already in lifecycle phase 'initialise', cannot fire the same phase twice (java.lang.IllegalStateException) org.mule.lifecycle.AbstractLifecycleManager:104 (null) 2. Already in lifecycle phase 'initialise', cannot fire the same phase twice (org.mule.api.lifecycle.LifecycleException) org.mule.lifecycle.AbstractLifecycleManager:148 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/LifecycleException.html) ******************************************************************************** Root Exception stack trace: 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.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) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) 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) 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) 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) 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) ******************************************************************************** ERROR 2011-01-24 13:07:30,782 [main] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * Already in lifecycle phase 'initialise', cannot fire the same phase twice * * (java.lang.IllegalStateException) * * * * The error is fatal, the system will shutdown * ******************************************************************************** {noformat}

    MuleSoft JIRA | 6 years ago | David Dossot
    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)
  3. 0

    We did some work for Mule 3 to reduce the size of stack traces that get reported in the logs but something has changed and I'm getting the same stack trace twice and the length of each is very long. We need to be logging the root exception once. See the attached initialisation stacktrace [07-23 12:00:32] ERROR SpringXmlConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR AutoConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.builders.AutoConfigurationBuilder" failed. org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR DefaultMuleApplication [Mule.app.deployer.monitor.1.thread.1]: null java.lang.IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) 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(AbstractAut owireCapableBeanFactory.java:1536) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) ERROR 2011-07-23 12:00:32,693 [Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.DeploymentService: Failed to deploy application archive: mule-chatter-activity-streams.zip org.mule.module.launcher.DeploymentInitException: IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:248) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:54) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) ... 13 more Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) ... 16 more Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more

    MuleSoft JIRA | 5 years ago | Ross Mason
    org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We did some work for Mule 3 to reduce the size of stack traces that get reported in the logs but something has changed and I'm getting the same stack trace twice and the length of each is very long. We need to be logging the root exception once. See the attached initialisation stacktrace [07-23 12:00:32] ERROR SpringXmlConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR AutoConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.builders.AutoConfigurationBuilder" failed. org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR DefaultMuleApplication [Mule.app.deployer.monitor.1.thread.1]: null java.lang.IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) 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(AbstractAut owireCapableBeanFactory.java:1536) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) ERROR 2011-07-23 12:00:32,693 [Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.DeploymentService: Failed to deploy application archive: mule-chatter-activity-streams.zip org.mule.module.launcher.DeploymentInitException: IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:248) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:54) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) ... 13 more Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) ... 16 more Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more

    MuleSoft JIRA | 5 years ago | Ross Mason
    org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Already in lifecycle phase 'initialise', cannot fire the same phase twice
  6. 0

    We did some work for Mule 3 to reduce the size of stack traces that get reported in the logs but something has changed and I'm getting the same stack trace twice and the length of each is very long. We need to be logging the root exception once. See the attached initialisation stacktrace [07-23 12:00:32] ERROR SpringXmlConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR AutoConfigurationBuilder [Mule.app.deployer.monitor.1.thread.1]: Configuration with "org.mule.config.builders.AutoConfigurationBuilder" failed. org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more [07-23 12:00:32] ERROR DefaultMuleApplication [Mule.app.deployer.monitor.1.thread.1]: null java.lang.IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) 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(AbstractAut owireCapableBeanFactory.java:1536) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) 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) 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:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) ERROR 2011-07-23 12:00:32,693 [Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.DeploymentService: Failed to deploy application archive: mule-chatter-activity-streams.zip org.mule.module.launcher.DeploymentInitException: IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:248) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:51) at org.mule.module.launcher.DeploymentService.deploy(DeploymentService.java:336) at org.mule.module.launcher.DeploymentService$AppDirWatcher.run(DeploymentService.java:587) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 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:680) Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:54) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) ... 13 more Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'paymentFlow': 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) ... 16 more Caused by: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'paymentFlow': 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentFlow': 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:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107) ... 23 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.GeneratedMethodAccessor39.invoke(Unknown Source) 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) ... 34 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:156) at org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81) at org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94) ... 40 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:106) 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:103) at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:354) 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:141) ... 42 more

    MuleSoft JIRA | 5 years ago | Ross Mason
    java.lang.IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice

    1 unregistered visitors
    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.IllegalStateException

      Already in lifecycle phase 'initialise', cannot fire the same phase twice

      at org.mule.lifecycle.AbstractLifecycleManager.checkPhase()
    2. Mule Core
      AbstractFlowConstruct.initialise
      1. org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:104)
      2. org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:75)
      3. org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94)
      4. org.mule.routing.MessageFilter.initialise(MessageFilter.java:132)
      5. org.mule.processor.chain.AbstractMessageProcessorChain.initialise(AbstractMessageProcessorChain.java:104)
      6. org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(AbstractFlowConstruct.java:353)
      7. org.mule.construct.AbstractFlowConstruct$1.onTransition(AbstractFlowConstruct.java:116)
      8. org.mule.construct.AbstractFlowConstruct$1.onTransition(AbstractFlowConstruct.java:95)
      9. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:139)
      10. org.mule.construct.FlowConstructLifecycleManager.fireInitialisePhase(FlowConstructLifecycleManager.java:81)
      11. org.mule.construct.AbstractFlowConstruct.initialise(AbstractFlowConstruct.java:94)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      6. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      7. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      10. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
      10 frames
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      2 frames
    6. Spring Config
      SpringRegistry.doInitialise
      1. org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:100)
      1 frame
    7. Mule Core
      AbstractRegistry.initialise
      1. org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:107)
      1 frame
    8. Spring Config
      SpringXmlConfigurationBuilder.doConfigure
      1. org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116)
      2. org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73)
      2 frames
    9. Mule Core
      MuleServer.main
      1. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47)
      2. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
      3. org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101)
      4. org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57)
      5. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47)
      6. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
      7. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:79)
      8. org.mule.MuleServer.initialize(MuleServer.java:377)
      9. org.mule.MuleServer.run(MuleServer.java:267)
      10. org.mule.MuleServer.start(MuleServer.java:254)
      11. org.mule.MuleServer.main(MuleServer.java:127)
      11 frames