org.mule.runtime.core.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b

MuleSoft JIRA | Alejandro Sequeira | 6 months ago
  1. 0

    When the attached application was disposed, after deployment failure I got a {{java.lang.IllegalStateException}} in the application log: {noformat} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing app 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-06-23 15:29:09,490 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker INFO 2016-06-23 15:29:09,491 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.construct.FlowConstructLifecycleManager: Disposing flow: invalid WARN 2016-06-23 15:29:09,493 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase: Failed to dispose object org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b org.mule.runtime.core.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b at org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:250) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:104) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:135) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:119) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.dispose(AbstractRegistry.java:71) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:125) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.DefaultMuleContext.dispose(DefaultMuleContext.java:373) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:391) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:275) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.dispose(DeployableArtifactWrapper.java:37) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:547) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:548) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:532) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_73] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73] Caused by: java.lang.IllegalStateException: Lifecycle Manager 'org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider-null' phase 'start' does not support phase 'dispose' at org.mule.runtime.core.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:120) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.DefaultLifecycleManager.fireDisposePhase(DefaultLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.extension.internal.runtime.config.LifecycleAwareConfigurationProvider.dispose(LifecycleAwareConfigurationProvider.java:129) ~[mule-module-extensions-support-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73] at org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 38 more {noformat}

    MuleSoft JIRA | 6 months ago | Alejandro Sequeira
    org.mule.runtime.core.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b
  2. 0

    When the attached application was disposed, after deployment failure I got a {{java.lang.IllegalStateException}} in the application log: {noformat} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing app 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-06-23 15:29:09,490 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker INFO 2016-06-23 15:29:09,491 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.construct.FlowConstructLifecycleManager: Disposing flow: invalid WARN 2016-06-23 15:29:09,493 [Mule.app.deployer.monitor.1.thread.1] org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase: Failed to dispose object org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b org.mule.runtime.core.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b at org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:250) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:104) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:135) ~[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:119) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistry.dispose(AbstractRegistry.java:71) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:125) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.DefaultMuleContext.dispose(DefaultMuleContext.java:373) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:391) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:275) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.dispose(DeployableArtifactWrapper.java:37) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:547) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:548) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:532) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_73] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_73] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73] Caused by: java.lang.IllegalStateException: Lifecycle Manager 'org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider-null' phase 'start' does not support phase 'dispose' at org.mule.runtime.core.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:120) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.lifecycle.DefaultLifecycleManager.fireDisposePhase(DefaultLifecycleManager.java:87) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.extension.internal.runtime.config.LifecycleAwareConfigurationProvider.dispose(LifecycleAwareConfigurationProvider.java:129) ~[mule-module-extensions-support-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73] at org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 38 more {noformat}

    MuleSoft JIRA | 6 months ago | Alejandro Sequeira
    org.mule.runtime.core.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b
  3. 0

    Mule Application hot deployment, Poll(schedule job) invalid

    Stack Overflow | 2 weeks ago | Edward
    java.lang.IllegalStateException: Lifecycle Manager 'MuleContext' phase 'start' does not support phase 'dispose'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Script engine Jython was not found in Mule ESB 3.7.0 application

    Stack Overflow | 6 months ago | ProcessKiller
    org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'mypythonapplicationFlow.stage1' phase 'start' does not support phase 'dispose'
  6. 0

    *Mule throws a LifecycleException when disposing an Extension Source* * When working with Mule Extension Sources, a way to fail at start time is to to throw an exception inside {{start()}} of a Source, this exception inside the SDK is analysed and if it could not be handled, is propagated to Mule. Mule when detect this exception starts to dispose the Source, when this occur a exceptions is thrown. Stack trace: {code}ERROR 2016-02-23 14:09:35,670 [Thread-4] org.mule.construct.AbstractFlowConstruct: Exception found trying to dispose object. Shutdown will continue java.lang.IllegalStateException: Lifecycle Manager 'source-fail-on-start.stage1' phase 'start' does not support phase 'dispose' at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:116) ~[classes/:?] at org.mule.processor.SedaStageLifecycleManager.fireDisposePhase(SedaStageLifecycleManager.java:117) ~[classes/:?] at org.mule.processor.SedaStageInterceptingMessageProcessor.dispose(SedaStageInterceptingMessageProcessor.java:429) ~[classes/:?] at org.mule.processor.chain.AbstractMessageProcessorChain.dispose(AbstractMessageProcessorChain.java:133) ~[classes/:?] at org.mule.api.lifecycle.LifecycleUtils.disposeIfNeeded(LifecycleUtils.java:252) ~[classes/:?] at org.mule.construct.AbstractFlowConstruct.disposeIfDisposable(AbstractFlowConstruct.java:330) ~[classes/:?] at org.mule.construct.AbstractPipeline.doDispose(AbstractPipeline.java:438) ~[classes/:?] at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:166) ~[classes/:?] at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:163) ~[classes/:?] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:136) ~[classes/:?] at org.mule.construct.FlowConstructLifecycleManager.fireDisposePhase(FlowConstructLifecycleManager.java:144) ~[classes/:?] at org.mule.construct.AbstractFlowConstruct.dispose(AbstractFlowConstruct.java:162) ~[classes/:?] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66] at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[classes/:?] at org.mule.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:99) ~[classes/:?] at org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:132) ~[classes/:?] at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[classes/:?] at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[classes/:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:138) ~[classes/:?] at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:109) ~[classes/:?] at org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:71) ~[classes/:?] at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69) ~[classes/:?] at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64) ~[classes/:?] at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:138) ~[classes/:?] at org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82) ~[classes/:?] at org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63) ~[classes/:?] at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:121) ~[classes/:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[classes/:?] at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[classes/:?] at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[classes/:?] at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[classes/:?] at org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:371) ~[classes/:?] at org.mule.tck.junit4.AbstractMuleContextTestCase.disposeContext(AbstractMuleContextTestCase.java:306) ~[classes/:?] at org.mule.tck.junit4.AbstractMuleContextTestCase.disposeContextPerTest(AbstractMuleContextTestCase.java:287) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) ~[junit-4.11.jar:?] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.11.jar:?] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) ~[junit-4.11.jar:?] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) ~[junit-4.11.jar:?] at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168) ~[junit-4.11.jar:?] at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) ~[junit-4.11.jar:?] at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) ~[junit-4.11.jar:?]{code}

    MuleSoft JIRA | 9 months ago | Esteban Wasinger
    java.lang.IllegalStateException: Lifecycle Manager 'source-fail-on-start.stage1' phase 'start' does not support phase 'dispose'

    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

      Lifecycle Manager 'org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider-null' phase 'start' does not support phase 'dispose'

      at org.mule.runtime.core.lifecycle.AbstractLifecycleManager.checkPhase()
    2. org.mule.runtime
      LifecycleAwareConfigurationProvider.dispose
      1. org.mule.runtime.core.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:120)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      2. org.mule.runtime.core.lifecycle.DefaultLifecycleManager.fireDisposePhase(DefaultLifecycleManager.java:87)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      3. org.mule.runtime.module.extension.internal.runtime.config.LifecycleAwareConfigurationProvider.dispose(LifecycleAwareConfigurationProvider.java:129)[mule-module-extensions-support-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_73]
      3. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_73]
      3 frames
    4. org.mule.runtime
      DeploymentDirectoryWatcher.run
      1. org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      2. org.mule.runtime.core.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:104)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      3. org.mule.runtime.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:135)[mule-module-spring-config-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      4. org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      5. org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      6. org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      7. org.mule.runtime.core.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:119)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      8. org.mule.runtime.core.registry.AbstractRegistry.dispose(AbstractRegistry.java:71)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      9. org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      10. org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      11. org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      12. org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      13. org.mule.runtime.core.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      14. org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:125)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      15. org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      16. org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      17. org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      18. org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      19. org.mule.runtime.core.DefaultMuleContext.dispose(DefaultMuleContext.java:373)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      20. org.mule.runtime.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:391)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      21. org.mule.runtime.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:275)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      22. org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      23. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      24. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      25. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      26. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.dispose(DeployableArtifactWrapper.java:37)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      27. org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      28. org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:547)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      29. org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:41)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      30. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:548)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      31. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:532)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      32. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      32 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_73]
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_73]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_73]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_73]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_73]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_73]
      7. java.lang.Thread.run(Thread.java:745)[?:1.8.0_73]
      7 frames