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

Solutions on the web44

  • via MuleSoft JIRA by Damian Sima, 1 year ago
    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
  • via MuleSoft JIRA by Damian Sima, 1 year ago
    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
  • SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ldap:config'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.