org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When trying to uses a expression filter inside a choice, although is possible to do it fails when you already have a when expression. The configuration looks like: <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd"> <flow name="ztestFlow1" doc:name="ztestFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/> <logger level="INFO" doc:name="Logger"/> <set-payload value="#[true]" doc:name="Set Payload"/> <choice doc:name="Choice"> <when expression="#[payload==true]"> <expression-filter expression="#[payload == false]" doc:name="Expression"/> <logger level="INFO" doc:name="Logger"/> </when> <otherwise> <logger level="INFO" doc:name="Logger"/> </otherwise> </choice> </flow> </mule> As it turns out it seems that the expression filter is being took as part of the when. This is the error I'm getting: log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@3bad086a. log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@3bad086a class loader. log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource(). log4j: Trying to find [log4j.properties] using context classloader sun.misc.Launcher$AppClassLoader@3bad086a. log4j: Using URL [jar:file:/Users/damiansima/Documents/MuleStudios/MuleStudio%203.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/tooling/tooling-support-3.4.0.jar!/log4j.properties] for automatic log4j configuration. log4j: Reading configuration from URL jar:file:/Users/damiansima/Documents/MuleStudios/MuleStudio%203.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/tooling/tooling-support-3.4.0.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 [Tracking] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category Tracking set to WARN log4j: Handling log4j.additivity.Tracking=[null] log4j: Parsing for [org.jetel] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.jetel set to WARN log4j: Handling log4j.additivity.org.jetel=[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 [com.mulesoft] with value=[INFO]. log4j: Level token is [INFO]. log4j: Category com.mulesoft set to INFO log4j: Handling log4j.additivity.com.mulesoft=[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: ztest Reading plugins from: /Users/damiansima/Documents/MuleStudios/MuleStudio 3.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/plugins INFO 2014-02-25 12:07:19,517 [main] com.mulesoft.mule.plugin.manager.MulePluginManager: Registering plugin: anypoint-plugin-119GA INFO 2014-02-25 12:07:19,529 [main] com.mulesoft.mule.plugin.manager.MulePluginManager: Registering plugin: mule-plugin-debugger-3.4.0 INFO 2014-02-25 12:07:19,593 [main] com.mulesoft.habitat.agent.AnypointAgentUtils: Anypoint Service Registry Agent is DISABLED. Property anypoint.agent.token is missing or empty. INFO 2014-02-25 12:07:19,601 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + New app 'ztest' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-02-25 12:07:19,604 [main] org.mule.module.launcher.MuleApplicationClassLoader: [ztest] Loading the following jars: ============================= file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/bcprov-jdk14-139.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/ftplet-api-1.0.2.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/ftpserver-core-1.0.2.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jaxb-impl-2.1.5.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jaxb-xjc-2.1.13.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jcl-over-slf4j-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jdom-1.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mina-core-2.0.0-M6.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mockito-all-1.9.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mockobjects-core-0.09.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/slf4j-api-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/slf4j-log4j12-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/spring-tx-3.0.6.RELEASE.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/spring-web-3.0.6.RELEASE.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/sshd-core-0.6.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/stax2-api-3.0.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/wss4j-1.6.4.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/xmlsec-1.4.6.jar ============================= INFO 2014-02-25 12:07:19,606 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Initializing app 'ztest' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-02-25 12:07:19,771 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising RegistryBroker INFO 2014-02-25 12:07:19,893 [main] org.mule.config.spring.MuleApplicationContext: Refreshing org.mule.config.spring.MuleApplicationContext@643cb075: startup date [Tue Feb 25 12:07:19 GMT-03:00 2014]; root of context hierarchy ERROR 2014-02-25 12:07:20,702 [main] org.mule.module.launcher.application.DefaultMuleApplication: null org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildElement(CheckExclusiveAttributesAndChildren.java:130) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildNode(CheckExclusiveAttributesAndChildren.java:114) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.ensureNoForbiddenChildren(CheckExclusiveAttributesAndChildren.java:106) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.preProcess(CheckExclusiveAttributesAndChildren.java:95) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.preProcess(AbstractMuleBeanDefinitionParser.java:241) at org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.preProcess(AbstractHierarchicalDefinitionParser.java:104) at org.mule.config.spring.parsers.generic.ChildDefinitionParser.preProcess(ChildDefinitionParser.java:92) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:261) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:88) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:190) at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:55) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127) INFO 2014-02-25 12:07:20,704 [main] org.mule.module.launcher.application.DefaultMuleApplication: App 'ztest' never started, nothing to dispose of Exception in thread "main" org.mule.module.launcher.DeploymentInitException: CheckExclusiveAttributesAndChildren.CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:219) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127) Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207) ... 3 more Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) ... 6 more Caused by: org.mule.api.lifecycle.InitialisationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:117) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) ... 10 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) ... 13 more Caused by: org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildElement(CheckExclusiveAttributesAndChildren.java:130) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildNode(CheckExclusiveAttributesAndChildren.java:114) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.ensureNoForbiddenChildren(CheckExclusiveAttributesAndChildren.java:106) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.preProcess(CheckExclusiveAttributesAndChildren.java:95) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.preProcess(AbstractMuleBeanDefinitionParser.java:241) at org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.preProcess(AbstractHierarchicalDefinitionParser.java:104) at org.mule.config.spring.parsers.generic.ChildDefinitionParser.preProcess(ChildDefinitionParser.java:92) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:261) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:88) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:190) at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:55) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) ... 22 more
    via by Damian Sima,
  • When trying to uses a expression filter inside a choice, although is possible to do it fails when you already have a when expression. The configuration looks like: <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd"> <flow name="ztestFlow1" doc:name="ztestFlow1"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP"/> <logger level="INFO" doc:name="Logger"/> <set-payload value="#[true]" doc:name="Set Payload"/> <choice doc:name="Choice"> <when expression="#[payload==true]"> <expression-filter expression="#[payload == false]" doc:name="Expression"/> <logger level="INFO" doc:name="Logger"/> </when> <otherwise> <logger level="INFO" doc:name="Logger"/> </otherwise> </choice> </flow> </mule> As it turns out it seems that the expression filter is being took as part of the when. This is the error I'm getting: log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@3bad086a. log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@3bad086a class loader. log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource(). log4j: Trying to find [log4j.properties] using context classloader sun.misc.Launcher$AppClassLoader@3bad086a. log4j: Using URL [jar:file:/Users/damiansima/Documents/MuleStudios/MuleStudio%203.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/tooling/tooling-support-3.4.0.jar!/log4j.properties] for automatic log4j configuration. log4j: Reading configuration from URL jar:file:/Users/damiansima/Documents/MuleStudios/MuleStudio%203.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/tooling/tooling-support-3.4.0.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 [Tracking] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category Tracking set to WARN log4j: Handling log4j.additivity.Tracking=[null] log4j: Parsing for [org.jetel] with value=[WARN]. log4j: Level token is [WARN]. log4j: Category org.jetel set to WARN log4j: Handling log4j.additivity.org.jetel=[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 [com.mulesoft] with value=[INFO]. log4j: Level token is [INFO]. log4j: Category com.mulesoft set to INFO log4j: Handling log4j.additivity.com.mulesoft=[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: ztest Reading plugins from: /Users/damiansima/Documents/MuleStudios/MuleStudio 3.4.0-201305141336-ga-patch/plugins/org.mule.tooling.server.3.4.0.ee_3.4.0.201401021511/mule/plugins INFO 2014-02-25 12:07:19,517 [main] com.mulesoft.mule.plugin.manager.MulePluginManager: Registering plugin: anypoint-plugin-119GA INFO 2014-02-25 12:07:19,529 [main] com.mulesoft.mule.plugin.manager.MulePluginManager: Registering plugin: mule-plugin-debugger-3.4.0 INFO 2014-02-25 12:07:19,593 [main] com.mulesoft.habitat.agent.AnypointAgentUtils: Anypoint Service Registry Agent is DISABLED. Property anypoint.agent.token is missing or empty. INFO 2014-02-25 12:07:19,601 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + New app 'ztest' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-02-25 12:07:19,604 [main] org.mule.module.launcher.MuleApplicationClassLoader: [ztest] Loading the following jars: ============================= file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/bcprov-jdk14-139.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/ftplet-api-1.0.2.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/ftpserver-core-1.0.2.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jaxb-impl-2.1.5.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jaxb-xjc-2.1.13.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jcl-over-slf4j-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/jdom-1.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mina-core-2.0.0-M6.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mockito-all-1.9.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/mockobjects-core-0.09.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/slf4j-api-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/slf4j-log4j12-1.6.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/spring-tx-3.0.6.RELEASE.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/spring-web-3.0.6.RELEASE.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/sshd-core-0.6.0.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/stax2-api-3.0.1.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/wss4j-1.6.4.jar file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/lib/xmlsec-1.4.6.jar ============================= INFO 2014-02-25 12:07:19,606 [main] org.mule.module.launcher.application.DefaultMuleApplication: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Initializing app 'ztest' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2014-02-25 12:07:19,771 [main] org.mule.lifecycle.AbstractLifecycleManager: Initialising RegistryBroker INFO 2014-02-25 12:07:19,893 [main] org.mule.config.spring.MuleApplicationContext: Refreshing org.mule.config.spring.MuleApplicationContext@643cb075: startup date [Tue Feb 25 12:07:19 GMT-03:00 2014]; root of context hierarchy ERROR 2014-02-25 12:07:20,702 [main] org.mule.module.launcher.application.DefaultMuleApplication: null org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildElement(CheckExclusiveAttributesAndChildren.java:130) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildNode(CheckExclusiveAttributesAndChildren.java:114) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.ensureNoForbiddenChildren(CheckExclusiveAttributesAndChildren.java:106) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.preProcess(CheckExclusiveAttributesAndChildren.java:95) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.preProcess(AbstractMuleBeanDefinitionParser.java:241) at org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.preProcess(AbstractHierarchicalDefinitionParser.java:104) at org.mule.config.spring.parsers.generic.ChildDefinitionParser.preProcess(ChildDefinitionParser.java:92) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:261) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:88) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:190) at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:55) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127) INFO 2014-02-25 12:07:20,704 [main] org.mule.module.launcher.application.DefaultMuleApplication: App 'ztest' never started, nothing to dispose of Exception in thread "main" org.mule.module.launcher.DeploymentInitException: CheckExclusiveAttributesAndChildren.CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:219) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127) Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207) ... 3 more Caused by: org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) ... 6 more Caused by: org.mule.api.lifecycle.InitialisationException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:117) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) ... 10 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/Users/damiansima/Documents/mulestudioworkspace/.mule/apps/ztest/ztest.xml]; nested exception is org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) ... 13 more Caused by: org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildElement(CheckExclusiveAttributesAndChildren.java:130) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildNode(CheckExclusiveAttributesAndChildren.java:114) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.ensureNoForbiddenChildren(CheckExclusiveAttributesAndChildren.java:106) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.preProcess(CheckExclusiveAttributesAndChildren.java:95) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.preProcess(AbstractMuleBeanDefinitionParser.java:241) at org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.preProcess(AbstractHierarchicalDefinitionParser.java:104) at org.mule.config.spring.parsers.generic.ChildDefinitionParser.preProcess(ChildDefinitionParser.java:92) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:261) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:88) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:190) at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:55) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) ... 22 more
    via by Damian Sima,
    • org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren$CheckExclusiveAttributesAndChildrenException: Element when{expression=#[payload==true]} can't contain child of type {http://www.mulesoft.org/schema/mule/core}abstractFilterType because it defines attribute expression at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildElement(CheckExclusiveAttributesAndChildren.java:130) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.checkChildNode(CheckExclusiveAttributesAndChildren.java:114) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.ensureNoForbiddenChildren(CheckExclusiveAttributesAndChildren.java:106) at org.mule.config.spring.parsers.processors.CheckExclusiveAttributesAndChildren.preProcess(CheckExclusiveAttributesAndChildren.java:95) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.preProcess(AbstractMuleBeanDefinitionParser.java:241) at org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser.preProcess(AbstractHierarchicalDefinitionParser.java:104) at org.mule.config.spring.parsers.generic.ChildDefinitionParser.preProcess(ChildDefinitionParser.java:92) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:261) at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:88) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.mule.config.spring.MuleHierarchicalBeanDefinitionParserDelegate.parseCustomElement(MuleHierarchicalBeanDefinitionParserDelegate.java:130) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:190) at org.mule.config.spring.MuleBeanDefinitionDocumentReader.parseBeanDefinitions(MuleBeanDefinitionDocumentReader.java:55) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.mule.config.spring.MuleApplicationContext.loadBeanDefinitions(MuleApplicationContext.java:113) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:84) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:207) at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:127)
    No Bugmate found.