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 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 10 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 | 10 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

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.IllegalStateException: Application was not properly initialize d at startup, could not find Factory: javax.faces.application.ApplicationFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.jav a:894) [jsf-api.jar:] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319) [jsf-api .jar:] at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext .java:112) [jsf-impl.jar:] at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList ener.java:325) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext .java:3465) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:39 70) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 888) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]

    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