org.mule.runtime.module.launcher.DeploymentInitException: IllegalArgumentException: Could not transform value '1959-09-07T00:00:00' into a Date using pattern 'yyyy-MM-dd'T'hh:mm:ssX'

MuleSoft JIRA | Alejandro Sequeira | 5 months ago
  1. 0

    This flow fails on deployment since it doesn't accept valid constant dates: {code:xml} <flow name="list"> <http:listener path="list/{recursive}/{dir}/{pattern}" config-ref="listener2" /> <validation:is-empty value="#[payload]"/> <file:list directoryPath="#[message.inboundProperties.'http.uri.params'.dir]" recursive="#[message.inboundProperties.'http.uri.params'.recursive]" > <file:match-with> <file:matcher accessedSince="1959-09-07T00:00:00"/> </file:match-with> </file:list> <logger level="INFO" message="--------------------------------- #[message.payload.attributes.path]" /> <foreach> <logger level="INFO" message="#[payload.attributes.path]" /> </foreach> <set-payload value="" /> </flow> {code} h3. Log {noformat} org.mule.runtime.module.launcher.DeploymentInitException: IllegalArgumentException: Could not transform value '1959-09-07T00:00:00' into a Date using pattern 'yyyy-MM-dd'T'hh:mm:ssX' at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:196) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:120) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:175) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73] at org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52) ~[mule-module-reboot-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) ~[wrapper-3.2.3.jar:3.2.3] Caused by: org.mule.runtime.core.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/alejandro.sequeira/dev/mule-tests/file/default/match.xml]; nested exception is java.lang.IllegalArgumentException: Could not transform value '1959-09-07T00:00:00' into a Date using pattern 'yyyy-MM-dd'T'hh:mm:ssX' (org.mule.runtime.core.api.lifecycle.InitialisationException) (org.mule.runtime.core.api.config.ConfigurationException) at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:187) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] ... 21 more {noformat}

    MuleSoft JIRA | 5 months ago | Alejandro Sequeira
    org.mule.runtime.module.launcher.DeploymentInitException: IllegalArgumentException: Could not transform value '1959-09-07T00:00:00' into a Date using pattern 'yyyy-MM-dd'T'hh:mm:ssX'
  2. 0

    After deploying an application with the metadata test extensions, mule fails to initialize the app because it cannot find the classes used in the app. The logs are: {code} org.mule.runtime.module.launcher.DeploymentInitException: ClassNotFoundException: org.mule.test.metadata.extension.model.shapes.Circle at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:195) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1214) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1193) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1213) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:132) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] {code} The mule configuration was: {code} <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns="http://www.mulesoft.org/schema/mule/core" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/metadata http://www.mulesoft.org/schema/mule/metadata/current/mule-metadata.xsd"> <metadata:config name="config"> <metadata:connection/> </metadata:config> <metadata:config name="alternative-config"> <metadata:connection/> </metadata:config> <flow name="contentMetadataWithKeyId"> <metadata:content-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputMetadataWithKeyId"> <metadata:output-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="contentAndOutputMetadataWithKeyId"> <metadata:content-and-output-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputOnlyWithoutContentParam"> <metadata:output-only-without-content-param config-ref="config" type="Person"/> </flow> <flow name="contentOnlyIgnoresOutput"> <metadata:content-only-ignores-output config-ref="config" type="Person"/> </flow> <flow name="contentMetadataWithoutKeyId"> <metadata:content-metadata-without-key-id config-ref="config"/> </flow> <flow name="outputMetadataWithoutKeyId"> <metadata:output-metadata-without-key-id config-ref="config"/> </flow> <flow name="contentAndOutputMetadataWithoutKeyId"> <metadata:content-and-output-metadata-without-key-id config-ref="config"/> </flow> <flow name="contentMetadataWithoutKeysWithKeyId"> <metadata:content-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputMetadataWithoutKeysWithKeyId"> <metadata:output-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="failWithResolvingException"> <metadata:fail-with-resolving-exception config-ref="config" type="Person"/> </flow> <flow name="failWithRuntimeException"> <metadata:fail-with-runtime-exception config-ref="config" type="Person"/> </flow> <flow name="keyParamWithoutKeyResolver"> <metadata:key-id-without-key-resolver config-ref="config" type="Person"/> </flow> <flow name="messageAttributesNullTypeMetadata"> <metadata:message-attributes-null-type-metadata config-ref="config"/> </flow> <flow name="messageAttributesPersonTypeMetadata"> <metadata:message-attributes-person-type-metadata config-ref="config"/> </flow> <flow name="contentAndOutputWithCacheResolver"> <metadata:content-and-output-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="contentAndOutputWithCacheResolverWithSpecificConfig"> <metadata:content-and-output-cache-resolver config-ref="alternative-config" type="Person"/> </flow> <flow name="contentOnlyCacheResolver"> <metadata:content-only-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="outputAndMetadataKeyCacheResolver"> <metadata:output-and-metadata-key-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="loggerFlow"> <logger message="Logger"/> <metadata:output-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="sourceMetadata"> <metadata:metadata-source config-ref="config" type="Person"/> <logger/> </flow> <flow name="flowWithoutSource"> <logger/> </flow> <flow name="shouldInheritOperationResolvers"> <metadata:should-inherit-operation-resolvers config-ref="config" type="Person"/> </flow> <flow name="shouldInheritExtensionResolvers"> <metadata:should-inherit-extension-resolvers config-ref="config" type="Person"/> </flow> <flow name="shouldInheritOperationParentResolvers"> <metadata:should-inherit-operation-parent-resolvers config-ref="config" type="Person"/> </flow> <flow name="simpleMultiLevelKeyResolver"> <metadata:simple-multi-level-key-resolver config-ref="config" continent="AMERICA" country="USA" city="SFO"/> </flow> <flow name="sourceMetadataWithMultilevel" initialState="stopped"> <metadata:metadata-source-with-multilevel config-ref="config" continent="AMERICA" country="ARGENTINA" city="BA"/> <logger/> </flow> <flow name="typeWithDeclaredSubtypesMetadata"> <metadata:type-with-declared-subtypes-metadata config-ref="config" plainShape="#[new org.mule.test.metadata.extension.model.shapes.Circle()]" rectangleSubtype="#[new org.mule.test.metadata.extension.model.shapes.Rectangle()]" animal="#[new org.mule.test.metadata.extension.model.animals.Bear()"/> </flow> </mule> {code} In order for it to start running, I had to maually add the jar inside the lib folder of mule root dir.

    MuleSoft JIRA | 7 months ago | Pablo Cabrera
    org.mule.runtime.module.launcher.DeploymentInitException: ClassNotFoundException: org.mule.test.metadata.extension.model.shapes.Circle
  3. 0

    After deploying an application with the metadata test extensions, mule fails to initialize the app because it cannot find the classes used in the app. The logs are: {code} org.mule.runtime.module.launcher.DeploymentInitException: ClassNotFoundException: org.mule.test.metadata.extension.model.shapes.Circle at org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:195) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1214) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1193) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1213) ~[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:132) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] {code} The mule configuration was: {code} <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:metadata="http://www.mulesoft.org/schema/mule/metadata" xmlns="http://www.mulesoft.org/schema/mule/core" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/metadata http://www.mulesoft.org/schema/mule/metadata/current/mule-metadata.xsd"> <metadata:config name="config"> <metadata:connection/> </metadata:config> <metadata:config name="alternative-config"> <metadata:connection/> </metadata:config> <flow name="contentMetadataWithKeyId"> <metadata:content-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputMetadataWithKeyId"> <metadata:output-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="contentAndOutputMetadataWithKeyId"> <metadata:content-and-output-metadata-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputOnlyWithoutContentParam"> <metadata:output-only-without-content-param config-ref="config" type="Person"/> </flow> <flow name="contentOnlyIgnoresOutput"> <metadata:content-only-ignores-output config-ref="config" type="Person"/> </flow> <flow name="contentMetadataWithoutKeyId"> <metadata:content-metadata-without-key-id config-ref="config"/> </flow> <flow name="outputMetadataWithoutKeyId"> <metadata:output-metadata-without-key-id config-ref="config"/> </flow> <flow name="contentAndOutputMetadataWithoutKeyId"> <metadata:content-and-output-metadata-without-key-id config-ref="config"/> </flow> <flow name="contentMetadataWithoutKeysWithKeyId"> <metadata:content-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="outputMetadataWithoutKeysWithKeyId"> <metadata:output-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="failWithResolvingException"> <metadata:fail-with-resolving-exception config-ref="config" type="Person"/> </flow> <flow name="failWithRuntimeException"> <metadata:fail-with-runtime-exception config-ref="config" type="Person"/> </flow> <flow name="keyParamWithoutKeyResolver"> <metadata:key-id-without-key-resolver config-ref="config" type="Person"/> </flow> <flow name="messageAttributesNullTypeMetadata"> <metadata:message-attributes-null-type-metadata config-ref="config"/> </flow> <flow name="messageAttributesPersonTypeMetadata"> <metadata:message-attributes-person-type-metadata config-ref="config"/> </flow> <flow name="contentAndOutputWithCacheResolver"> <metadata:content-and-output-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="contentAndOutputWithCacheResolverWithSpecificConfig"> <metadata:content-and-output-cache-resolver config-ref="alternative-config" type="Person"/> </flow> <flow name="contentOnlyCacheResolver"> <metadata:content-only-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="outputAndMetadataKeyCacheResolver"> <metadata:output-and-metadata-key-cache-resolver config-ref="config" type="Person"/> </flow> <flow name="loggerFlow"> <logger message="Logger"/> <metadata:output-metadata-without-keys-with-key-id config-ref="config" type="Person"/> </flow> <flow name="sourceMetadata"> <metadata:metadata-source config-ref="config" type="Person"/> <logger/> </flow> <flow name="flowWithoutSource"> <logger/> </flow> <flow name="shouldInheritOperationResolvers"> <metadata:should-inherit-operation-resolvers config-ref="config" type="Person"/> </flow> <flow name="shouldInheritExtensionResolvers"> <metadata:should-inherit-extension-resolvers config-ref="config" type="Person"/> </flow> <flow name="shouldInheritOperationParentResolvers"> <metadata:should-inherit-operation-parent-resolvers config-ref="config" type="Person"/> </flow> <flow name="simpleMultiLevelKeyResolver"> <metadata:simple-multi-level-key-resolver config-ref="config" continent="AMERICA" country="USA" city="SFO"/> </flow> <flow name="sourceMetadataWithMultilevel" initialState="stopped"> <metadata:metadata-source-with-multilevel config-ref="config" continent="AMERICA" country="ARGENTINA" city="BA"/> <logger/> </flow> <flow name="typeWithDeclaredSubtypesMetadata"> <metadata:type-with-declared-subtypes-metadata config-ref="config" plainShape="#[new org.mule.test.metadata.extension.model.shapes.Circle()]" rectangleSubtype="#[new org.mule.test.metadata.extension.model.shapes.Rectangle()]" animal="#[new org.mule.test.metadata.extension.model.animals.Bear()"/> </flow> </mule> {code} In order for it to start running, I had to maually add the jar inside the lib folder of mule root dir.

    MuleSoft JIRA | 7 months ago | Pablo Cabrera
    org.mule.runtime.module.launcher.DeploymentInitException: ClassNotFoundException: org.mule.test.metadata.extension.model.shapes.Circle
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mule.runtime.core.api.config.ConfigurationException

      Unexpected exception parsing XML document from URL [file:/Users/alejandro.sequeira/dev/mule-tests/file/default/match.xml]; nested exception is java.lang.IllegalArgumentException: Could not transform value '1959-09-07T00:00:00' into a Date using pattern 'yyyy-MM-dd'T'hh:mm:ssX' (org.mule.runtime.core.api.lifecycle.InitialisationException) (org.mule.runtime.core.api.config.ConfigurationException)

      at org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure()
    2. org.mule.runtime
      MuleContainer.start
      1. org.mule.runtime.core.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      2. org.mule.runtime.core.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      3. org.mule.runtime.core.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      4. org.mule.runtime.core.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      5. org.mule.runtime.core.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      6. org.mule.runtime.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:187)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      7. org.mule.runtime.core.util.ClassUtils.lambda$withContextClassLoader$10(ClassUtils.java:1240)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      8. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1219)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      9. org.mule.runtime.core.util.ClassUtils.withContextClassLoader(ClassUtils.java:1239)[mule-core-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      10. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.executeWithinArtifactClassLoader(DeployableArtifactWrapper.java:95)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      11. org.mule.runtime.module.launcher.artifact.DeployableArtifactWrapper.init(DeployableArtifactWrapper.java:53)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      12. org.mule.runtime.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      13. org.mule.runtime.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:324)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      14. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:345)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      15. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:311)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      16. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:114)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      17. org.mule.runtime.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:41)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      18. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      19. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      20. org.mule.runtime.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:120)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      21. org.mule.runtime.module.launcher.MuleContainer.start(MuleContainer.java:175)[mule-module-launcher-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      21 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_73]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_73]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_73]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_73]
      4 frames
    4. org.mule.runtime
      MuleContainerWrapper.start
      1. org.mule.runtime.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52)[mule-module-reboot-4.0-SNAPSHOT.jar:4.0-SNAPSHOT]
      1 frame
    5. Java Service Wrapper
      WrapperManager$12.run
      1. org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)[wrapper-3.2.3.jar:3.2.3]
      1 frame