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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via MuleSoft JIRA by Alejandro Sequeira, 1 year ago
Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b
via MuleSoft JIRA by Alejandro Sequeira, 1 year ago
Failed to invoke lifecycle phase "dispose" on object: org.mule.runtime.module.extension.internal.runtime.config.StaticConfigurationProvider@3197040b
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)
at org.mule.runtime.core.lifecycle.DefaultLifecycleManager.fireDisposePhase(DefaultLifecycleManager.java:87)
at org.mule.runtime.module.extension.internal.runtime.config.LifecycleAwareConfigurationProvider.dispose(LifecycleAwareConfigurationProvider.java:129)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.mule.runtime.core.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)
at org.mule.runtime.core.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:104)
at org.mule.runtime.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:135)
at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99)
at org.mule.runtime.core.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71)
at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148)
at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:119)
at org.mule.runtime.core.registry.AbstractRegistry.dispose(AbstractRegistry.java:71)
at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69)
at org.mule.runtime.core.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64)
at org.mule.runtime.core.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:148)
at org.mule.runtime.core.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82)
at org.mule.runtime.core.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63)
at org.mule.runtime.core.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:125)
at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)
at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)
at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)
at org.mule.runtime.core.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)
at org.mule.runtime.core.DefaultMuleContext.dispose(DefaultMuleContext.java:373)
at org.mule.runtime.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:391)
at org.mule.runtime.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:275)
at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240)
at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219)
at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239)
at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95)
at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.dispose(DeployableArtifactWrapper.java:37)
at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30)
at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:547)
at org.mule.runtime.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:41)
at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:548)
at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:532)
at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.