org.mule.module.launcher.DeploymentInitException

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

Samebug tips0

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

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

Solutions on the web25

  • via MuleSoft JIRA by Ross Mason, 1 year ago
    IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice
  • via MuleSoft JIRA by Ross Mason, 1 year ago
    IllegalStateException: Already in lifecycle phase 'initialise', cannot fire the same phase twice
  • IllegalStateException: There are at least 2 connectors matching protocol "http", so the connector to use must be specified on the endpoint using the 'connector' property/attribute. Connectors in your configuration that support "http" are: TwitterIBean.http, connector.http.mule.default,
  • Stack trace

    • 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

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago