java.lang.IllegalStateException

Lifecycle Manager 'source-fail-on-start.stage1' phase 'start' does not support phase 'dispose'

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 web18969

  • via MuleSoft JIRA by Esteban Wasinger, 9 months ago
    Lifecycle Manager 'source-fail-on-start.stage1' phase 'start' does not support phase 'dispose'
  • via MuleSoft JIRA by Esteban Wasinger, 1 year ago
    Lifecycle Manager 'source-fail-on-start.stage1' phase 'start' does not support phase 'dispose'
  • Lifecycle Manager 'MuleContext' phase 'start' does not support phase 'dispose'
  • Stack trace

    • 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:?]

    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