java.lang.NullPointerException

GitHub | jgashe | 2 years ago
  1. 0

    RAML parser null pointer exception

    GitHub | 2 years ago | jgashe
    java.lang.NullPointerException
  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
    java.lang.NullPointerException
  3. 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
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Handemelindo 1 times, last 4 days ago
  2. kid 1 times, last 3 weeks ago
  3. Tahir 8 times, last 2 months ago
  4. rlovtangen 2 times, last 3 months ago
  5. Christopher 3 times, last 3 months ago
5 more registered users
18 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.NullPointerException

    No message provided

    at java.io.Reader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.Reader.<init>(Unknown Source)
    2. java.io.InputStreamReader.<init>(Unknown Source)
    2 frames
  3. org.raml.parser
    YamlValidationService.validate
    1. org.raml.parser.utils.StreamUtils.reader(StreamUtils.java:37)
    2. org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:82)
    3. org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:72)
    3 frames
  4. com.company.ramlvalidator
    Generator.main
    1. com.company.ramlvalidator.Generator.parseArgs(Generator.java:50)
    2. com.company.ramlvalidator.Generator.main(Generator.java:28)
    2 frames