org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose'

MuleSoft JIRA | rajesh manohar | 3 years ago
  1. 0

    log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@3ba5016. log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@3ba5016 class loader. log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource(). log4j: Trying to find [log4j.properties] using context classloader sun.misc.Launcher$AppClassLoader@3ba5016. log4j: Using URL [jar:file:/C:/rdd/tools/AnypointStudio/plugins/org.mule.tooling.server.3.5.0.beta_3.5.0.201403111239/mule/tooling/tooling-support-3.5.0-M4.jar!/log4j.properties] for automatic log4j configuration. log4j: Reading configuration from URL jar:file:/C:/rdd/tools/AnypointStudio/plugins/org.mule.tooling.server.3.5.0.beta_3.5.0.201403111239/mule/tooling/tooling-support-3.5.0-M4.jar!/log4j.properties log4j: Parsing for [root] with value=[INFO, console]. log4j: Level token is [INFO]. log4j: Category root set to INFO log4j: Parsing appender named "console". log4j: Parsing layout options for "console". log4j: Setting property [conversionPattern] to [%-5p %d [%t] %c: %m%n]. log4j: End of parsing for "console". log4j: Parsed "console" options. log4j: Parsing for [com.mycompany] with value=[DEBUG]. log4j: Level token is [DEBUG]. log4j: Category com.mycompany set to DEBUG log4j: Handling log4j.additivity.com.mycompany=[null] log4j: Parsing for [org.springframework.beans.factory] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.springframework.beans.factory set to WARN log4j: Handling log4j.additivity.org.springframework.beans.factory=[null] log4j: Parsing for [org.apache] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.apache set to WARN log4j: Handling log4j.additivity.org.apache=[null] log4j: Parsing for [org.mule] with value=[INFO]. log4j: Level token is [INFO]. log4j: Category org.mule set to INFO log4j: Handling log4j.additivity.org.mule=[null] log4j: Parsing for [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] with value=[ERROR]. log4j: Level token is [ERROR]. log4j: Category org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog set to ERROR log4j: Handling log4j.additivity.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=[null] log4j: Finished configuring. Deploying application: maestro_poc No plugins folder specified. No plugin will be used INFO 2014-05-16 09:44:27,521 [main] org.mule.module.launcher.ArchiveDeployer: ================== New Exploded Artifact: maestro_poc INFO 2014-05-16 09:44:28,633 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + New app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:28,642 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Initializing app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:28,888 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising RegistryBroker INFO 2014-05-16 09:44:29,146 [main] org.mule.config.spring.MuleArtifactContext: Refreshing org.mule.config.spring.MuleArtifactContext@4f79a28b: startup date [Fri May 16 09:44:29 PDT 2014]; root of context hierarchy INFO 2014-05-16 09:44:31,326 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising model: _muleSystemModel WARN 2014-05-16 09:44:31,391 [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor: Invalid JavaBean property 'port' being accessed! Ambiguous write methods found next to actually used [public void org.mule.endpoint.URIBuilder.setPort(java.lang.String)]: [public void org.mule.endpoint.URIBuilder.setPort(int)] INFO 2014-05-16 09:44:31,523 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising connector: connector.http.mule.default INFO 2014-05-16 09:44:31,580 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: maestro_pocFlow1 INFO 2014-05-16 09:44:31,580 [main] org.mule.exception.DefaultMessagingExceptionStrategy: Initialising exception listener: org.mule.exception.DefaultMessagingExceptionStrategy@571cf19b INFO 2014-05-16 09:44:31,593 [main] org.mule.processor.SedaStageLifecycleManager: Initialising service: maestro_pocFlow1.stage1 INFO 2014-05-16 09:44:31,610 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configured Mule using "org.mule.config.spring.SpringXmlConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='C:\Users\ManohaR\AnypointStudio\workspace\.mule\apps\maestro_poc\maestro_poc.xml'}]" INFO 2014-05-16 09:44:31,611 [main] org.mule.config.builders.AutoConfigurationBuilder: Configured Mule using "org.mule.config.builders.AutoConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='C:\Users\ManohaR\AnypointStudio\workspace\.mule\apps\maestro_poc\maestro_poc.xml'}]" INFO 2014-05-16 09:44:31,611 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Starting app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,614 [main] org.mule.util.queue.TransactionalQueueManager: Starting ResourceManager INFO 2014-05-16 09:44:31,633 [main] org.mule.util.queue.TransactionalQueueManager: Started ResourceManager INFO 2014-05-16 09:44:31,636 [main] org.mule.transport.http.HttpConnector: Connected: HttpConnector { name=connector.http.mule.default lifecycle=initialise this=2a7ac641 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[http] serviceOverrides=<none> } INFO 2014-05-16 09:44:31,636 [main] org.mule.transport.http.HttpConnector: Starting: HttpConnector { name=connector.http.mule.default lifecycle=initialise this=2a7ac641 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[http] serviceOverrides=<none> } INFO 2014-05-16 09:44:31,637 [main] org.mule.lifecycle.AbstractLifecycleManager: Starting connector: connector.http.mule.default INFO 2014-05-16 09:44:31,642 [main] org.mule.modules.cors.agents.DefaultSplashScreenAgent: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + DevKit Extensions (0) used in this application + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,643 [main] org.mule.lifecycle.AbstractLifecycleManager: Starting model: _muleSystemModel INFO 2014-05-16 09:44:31,644 [main] org.mule.construct.FlowConstructLifecycleManager: Starting flow: maestro_pocFlow1 INFO 2014-05-16 09:44:31,645 [main] org.mule.processor.SedaStageLifecycleManager: Starting service: maestro_pocFlow1.stage1 ERROR 2014-05-16 09:44:31,690 [main] org.mule.module.launcher.application.DefaultMuleApplication: null java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:81) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:71) at org.mule.module.apikit.Configuration.validateRaml(Configuration.java:179) at org.mule.module.apikit.Configuration.loadApiDefinition(Configuration.java:166) at org.mule.module.apikit.Router.start(Router.java:112) at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:94) at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322) at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:312) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:118) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:270) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:119) at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) INFO 2014-05-16 09:44:31,693 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,694 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker INFO 2014-05-16 09:44:31,705 [main] org.mule.config.spring.MuleArtifactContext: Closing org.mule.config.spring.MuleArtifactContext@4f79a28b: startup date [Fri May 16 09:44:29 PDT 2014]; root of context hierarchy INFO 2014-05-16 09:44:31,707 [main] org.mule.construct.FlowConstructLifecycleManager: Disposing flow: maestro_pocFlow1 ERROR 2014-05-16 09:44:31,708 [main] org.mule.construct.Flow: Failed to stop service: maestro_pocFlow1 org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose' at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153) at org.mule.construct.FlowConstructLifecycleManager.fireDisposePhase(FlowConstructLifecycleManager.java:144) at org.mule.construct.AbstractFlowConstruct.dispose(AbstractFlowConstruct.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:327) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:510) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:486) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:455) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010) at org.mule.config.spring.SpringRegistry.doDispose(SpringRegistry.java:105) at org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:91) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:241) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:69) at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:58) at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:53) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:78) at org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:52) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:114) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:317) at org.mule.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:360) at org.mule.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:231) at org.mule.module.launcher.artifact.ArtifactWrapper$1.execute(ArtifactWrapper.java:39) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.dispose(ArtifactWrapper.java:34) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) Caused by: java.lang.IllegalStateException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose' at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:118) at org.mule.processor.SedaStageLifecycleManager.fireDisposePhase(SedaStageLifecycleManager.java:117) at org.mule.processor.SedaStageInterceptingMessageProcessor.dispose(SedaStageInterceptingMessageProcessor.java:404) at org.mule.processor.chain.AbstractMessageProcessorChain.dispose(AbstractMessageProcessorChain.java:128) at org.mule.construct.AbstractFlowConstruct.disposeIfDisposable(AbstractFlowConstruct.java:338) at org.mule.construct.AbstractPipeline.doDispose(AbstractPipeline.java:422) at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:171) at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:168) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ... 44 more INFO 2014-05-16 09:44:31,709 [main] org.mule.lifecycle.AbstractLifecycleManager: Stopping model: _muleSystemModel INFO 2014-05-16 09:44:31,710 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing model: _muleSystemModel INFO 2014-05-16 09:44:31,843 [main] org.mule.DefaultMuleContext: ********************************************************************** * Application "maestro_poc" shut down normally on: 5/16/14 9:44 AM * * Up for: 0 days, 0 hours, 0 mins, 0.229 sec * ********************************************************************** ERROR 2014-05-16 09:44:31,874 [main] org.mule.module.launcher.ArchiveDeployer: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'maestro_poc', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.module.launcher.DeploymentStartException: NullPointerException: at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:139) at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) Caused by: org.mule.api.lifecycle.LifecycleException: null at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153) at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:118) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:270) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:119) ... 11 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:81) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:71) at org.mule.module.apikit.Configuration.validateRaml(Configuration.java:179) at org.mule.module.apikit.Configuration.loadApiDefinition(Configuration.java:166) at org.mule.module.apikit.Router.start(Router.java:112) at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:94) at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322) at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:312) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ... 29 more INFO 2014-05-16 09:44:31,878 [main] org.mule.module.launcher.DeploymentDirectoryWatcher: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Mule is up and kicking (every 5000ms) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    MuleSoft JIRA | 3 years ago | rajesh manohar
    org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose'
  2. 0

    log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@3ba5016. log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@3ba5016 class loader. log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource(). log4j: Trying to find [log4j.properties] using context classloader sun.misc.Launcher$AppClassLoader@3ba5016. log4j: Using URL [jar:file:/C:/rdd/tools/AnypointStudio/plugins/org.mule.tooling.server.3.5.0.beta_3.5.0.201403111239/mule/tooling/tooling-support-3.5.0-M4.jar!/log4j.properties] for automatic log4j configuration. log4j: Reading configuration from URL jar:file:/C:/rdd/tools/AnypointStudio/plugins/org.mule.tooling.server.3.5.0.beta_3.5.0.201403111239/mule/tooling/tooling-support-3.5.0-M4.jar!/log4j.properties log4j: Parsing for [root] with value=[INFO, console]. log4j: Level token is [INFO]. log4j: Category root set to INFO log4j: Parsing appender named "console". log4j: Parsing layout options for "console". log4j: Setting property [conversionPattern] to [%-5p %d [%t] %c: %m%n]. log4j: End of parsing for "console". log4j: Parsed "console" options. log4j: Parsing for [com.mycompany] with value=[DEBUG]. log4j: Level token is [DEBUG]. log4j: Category com.mycompany set to DEBUG log4j: Handling log4j.additivity.com.mycompany=[null] log4j: Parsing for [org.springframework.beans.factory] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.springframework.beans.factory set to WARN log4j: Handling log4j.additivity.org.springframework.beans.factory=[null] log4j: Parsing for [org.apache] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.apache set to WARN log4j: Handling log4j.additivity.org.apache=[null] log4j: Parsing for [org.mule] with value=[INFO]. log4j: Level token is [INFO]. log4j: Category org.mule set to INFO log4j: Handling log4j.additivity.org.mule=[null] log4j: Parsing for [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] with value=[ERROR]. log4j: Level token is [ERROR]. log4j: Category org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog set to ERROR log4j: Handling log4j.additivity.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=[null] log4j: Finished configuring. Deploying application: maestro_poc No plugins folder specified. No plugin will be used INFO 2014-05-16 09:44:27,521 [main] org.mule.module.launcher.ArchiveDeployer: ================== New Exploded Artifact: maestro_poc INFO 2014-05-16 09:44:28,633 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + New app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:28,642 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Initializing app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:28,888 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising RegistryBroker INFO 2014-05-16 09:44:29,146 [main] org.mule.config.spring.MuleArtifactContext: Refreshing org.mule.config.spring.MuleArtifactContext@4f79a28b: startup date [Fri May 16 09:44:29 PDT 2014]; root of context hierarchy INFO 2014-05-16 09:44:31,326 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising model: _muleSystemModel WARN 2014-05-16 09:44:31,391 [main] org.springframework.beans.GenericTypeAwarePropertyDescriptor: Invalid JavaBean property 'port' being accessed! Ambiguous write methods found next to actually used [public void org.mule.endpoint.URIBuilder.setPort(java.lang.String)]: [public void org.mule.endpoint.URIBuilder.setPort(int)] INFO 2014-05-16 09:44:31,523 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising connector: connector.http.mule.default INFO 2014-05-16 09:44:31,580 [main] org.mule.construct.FlowConstructLifecycleManager: Initialising flow: maestro_pocFlow1 INFO 2014-05-16 09:44:31,580 [main] org.mule.exception.DefaultMessagingExceptionStrategy: Initialising exception listener: org.mule.exception.DefaultMessagingExceptionStrategy@571cf19b INFO 2014-05-16 09:44:31,593 [main] org.mule.processor.SedaStageLifecycleManager: Initialising service: maestro_pocFlow1.stage1 INFO 2014-05-16 09:44:31,610 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configured Mule using "org.mule.config.spring.SpringXmlConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='C:\Users\ManohaR\AnypointStudio\workspace\.mule\apps\maestro_poc\maestro_poc.xml'}]" INFO 2014-05-16 09:44:31,611 [main] org.mule.config.builders.AutoConfigurationBuilder: Configured Mule using "org.mule.config.builders.AutoConfigurationBuilder" with configuration resource(s): "[ConfigResource{resourceName='C:\Users\ManohaR\AnypointStudio\workspace\.mule\apps\maestro_poc\maestro_poc.xml'}]" INFO 2014-05-16 09:44:31,611 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Starting app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,614 [main] org.mule.util.queue.TransactionalQueueManager: Starting ResourceManager INFO 2014-05-16 09:44:31,633 [main] org.mule.util.queue.TransactionalQueueManager: Started ResourceManager INFO 2014-05-16 09:44:31,636 [main] org.mule.transport.http.HttpConnector: Connected: HttpConnector { name=connector.http.mule.default lifecycle=initialise this=2a7ac641 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[http] serviceOverrides=<none> } INFO 2014-05-16 09:44:31,636 [main] org.mule.transport.http.HttpConnector: Starting: HttpConnector { name=connector.http.mule.default lifecycle=initialise this=2a7ac641 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[http] serviceOverrides=<none> } INFO 2014-05-16 09:44:31,637 [main] org.mule.lifecycle.AbstractLifecycleManager: Starting connector: connector.http.mule.default INFO 2014-05-16 09:44:31,642 [main] org.mule.modules.cors.agents.DefaultSplashScreenAgent: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + DevKit Extensions (0) used in this application + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,643 [main] org.mule.lifecycle.AbstractLifecycleManager: Starting model: _muleSystemModel INFO 2014-05-16 09:44:31,644 [main] org.mule.construct.FlowConstructLifecycleManager: Starting flow: maestro_pocFlow1 INFO 2014-05-16 09:44:31,645 [main] org.mule.processor.SedaStageLifecycleManager: Starting service: maestro_pocFlow1.stage1 ERROR 2014-05-16 09:44:31,690 [main] org.mule.module.launcher.application.DefaultMuleApplication: null java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:81) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:71) at org.mule.module.apikit.Configuration.validateRaml(Configuration.java:179) at org.mule.module.apikit.Configuration.loadApiDefinition(Configuration.java:166) at org.mule.module.apikit.Router.start(Router.java:112) at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:94) at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322) at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:312) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:118) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:270) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:119) at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) INFO 2014-05-16 09:44:31,693 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing app 'maestro_poc' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-05-16 09:44:31,694 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker INFO 2014-05-16 09:44:31,705 [main] org.mule.config.spring.MuleArtifactContext: Closing org.mule.config.spring.MuleArtifactContext@4f79a28b: startup date [Fri May 16 09:44:29 PDT 2014]; root of context hierarchy INFO 2014-05-16 09:44:31,707 [main] org.mule.construct.FlowConstructLifecycleManager: Disposing flow: maestro_pocFlow1 ERROR 2014-05-16 09:44:31,708 [main] org.mule.construct.Flow: Failed to stop service: maestro_pocFlow1 org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose' at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153) at org.mule.construct.FlowConstructLifecycleManager.fireDisposePhase(FlowConstructLifecycleManager.java:144) at org.mule.construct.AbstractFlowConstruct.dispose(AbstractFlowConstruct.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:327) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:510) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:486) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:455) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010) at org.mule.config.spring.SpringRegistry.doDispose(SpringRegistry.java:105) at org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:91) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:241) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:69) at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:58) at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:53) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:78) at org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:52) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:114) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:317) at org.mule.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:360) at org.mule.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:231) at org.mule.module.launcher.artifact.ArtifactWrapper$1.execute(ArtifactWrapper.java:39) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.dispose(ArtifactWrapper.java:34) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) Caused by: java.lang.IllegalStateException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose' at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:118) at org.mule.processor.SedaStageLifecycleManager.fireDisposePhase(SedaStageLifecycleManager.java:117) at org.mule.processor.SedaStageInterceptingMessageProcessor.dispose(SedaStageInterceptingMessageProcessor.java:404) at org.mule.processor.chain.AbstractMessageProcessorChain.dispose(AbstractMessageProcessorChain.java:128) at org.mule.construct.AbstractFlowConstruct.disposeIfDisposable(AbstractFlowConstruct.java:338) at org.mule.construct.AbstractPipeline.doDispose(AbstractPipeline.java:422) at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:171) at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:168) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ... 44 more INFO 2014-05-16 09:44:31,709 [main] org.mule.lifecycle.AbstractLifecycleManager: Stopping model: _muleSystemModel INFO 2014-05-16 09:44:31,710 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing model: _muleSystemModel INFO 2014-05-16 09:44:31,843 [main] org.mule.DefaultMuleContext: ********************************************************************** * Application "maestro_poc" shut down normally on: 5/16/14 9:44 AM * * Up for: 0 days, 0 hours, 0 mins, 0.229 sec * ********************************************************************** ERROR 2014-05-16 09:44:31,874 [main] org.mule.module.launcher.ArchiveDeployer: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Failed to deploy artifact 'maestro_poc', see below + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.module.launcher.DeploymentStartException: NullPointerException: at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:139) at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) at org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269) at org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290) at org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257) at org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110) at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275) at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106) Caused by: org.mule.api.lifecycle.LifecycleException: null at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153) at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:118) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:270) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:119) ... 11 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:81) at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:71) at org.mule.module.apikit.Configuration.validateRaml(Configuration.java:179) at org.mule.module.apikit.Configuration.loadApiDefinition(Configuration.java:166) at org.mule.module.apikit.Router.start(Router.java:112) at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:94) at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322) at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:312) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141) at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ... 29 more INFO 2014-05-16 09:44:31,878 [main] org.mule.module.launcher.DeploymentDirectoryWatcher: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Mule is up and kicking (every 5000ms) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    MuleSoft JIRA | 3 years ago | rajesh manohar
    org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose'
  3. 0

    Getting a null pointer in Week 4. - MuleSoft

    mulesoft.org | 1 year ago
    org.mule.api.lifecycle.LifecycleException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to stop service: api-main - MuleSoft

    mulesoft.com | 8 months ago
    org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'api-main.stage1' phase 'start' does not support phase 'dispose'
  6. 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'

    3 unregistered visitors
    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 'maestro_pocFlow1.stage1' phase 'start' does not support phase 'dispose'

      at org.mule.lifecycle.AbstractLifecycleManager.checkPhase()
    2. Mule Core
      AbstractFlowConstruct.dispose
      1. org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:118)
      2. org.mule.processor.SedaStageLifecycleManager.fireDisposePhase(SedaStageLifecycleManager.java:117)
      3. org.mule.processor.SedaStageInterceptingMessageProcessor.dispose(SedaStageInterceptingMessageProcessor.java:404)
      4. org.mule.processor.chain.AbstractMessageProcessorChain.dispose(AbstractMessageProcessorChain.java:128)
      5. org.mule.construct.AbstractFlowConstruct.disposeIfDisposable(AbstractFlowConstruct.java:338)
      6. org.mule.construct.AbstractPipeline.doDispose(AbstractPipeline.java:422)
      7. org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:171)
      8. org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:168)
      9. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)
      10. org.mule.construct.FlowConstructLifecycleManager.fireDisposePhase(FlowConstructLifecycleManager.java:144)
      11. org.mule.construct.AbstractFlowConstruct.dispose(AbstractFlowConstruct.java:167)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Spring Beans
      DefaultSingletonBeanRegistry.destroySingletons
      1. org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:327)
      2. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:510)
      4. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:486)
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:455)
      5 frames
    5. Spring Context
      AbstractApplicationContext.close
      1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)
      2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064)
      3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
      3 frames
    6. Spring Config
      SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle
      1. org.mule.config.spring.SpringRegistry.doDispose(SpringRegistry.java:105)
      2. org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:91)
      2 frames
    7. Mule Core
      DefaultMuleContext.dispose
      1. org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:241)
      2. org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152)
      3. org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123)
      4. org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:69)
      5. org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:58)
      6. org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:53)
      7. org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152)
      8. org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:78)
      9. org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:52)
      10. org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:114)
      11. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)
      12. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)
      13. org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)
      14. org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)
      15. org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:317)
      15 frames
    8. Mule 3 Launcher
      DeploymentDirectoryWatcher.start
      1. org.mule.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:360)
      2. org.mule.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:231)
      3. org.mule.module.launcher.artifact.ArtifactWrapper$1.execute(ArtifactWrapper.java:39)
      4. org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)
      5. org.mule.module.launcher.artifact.ArtifactWrapper.dispose(ArtifactWrapper.java:34)
      6. org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30)
      7. org.mule.module.launcher.ArchiveDeployer.guardedDeploy(ArchiveDeployer.java:269)
      8. org.mule.module.launcher.ArchiveDeployer.deployArtifact(ArchiveDeployer.java:290)
      9. org.mule.module.launcher.ArchiveDeployer.deployExplodedApp(ArchiveDeployer.java:257)
      10. org.mule.module.launcher.ArchiveDeployer.deployExplodedArtifact(ArchiveDeployer.java:110)
      11. org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:275)
      12. org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:144)
      12 frames
    9. org.mule.tooling
      ApplicationDeployer.main
      1. org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:106)
      1 frame