org.mule.api.lifecycle.InitialisationException

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.

  • I found this bug testing a new framework in Mule Studio. configuration-ref appears twice in the schema (mule-cxf): In the commonConfiguration and in commonAttributes. If you use the configuration as a child of the configuration-ref, Mule fails. Piece of code: <cxf:configuration-ref> <cxf:configuration enableMuleSoapHeaders="true" initializeStaticBusInstance="true" /> </cxf:configuration-ref> When I run the Order Fulfillment example in Studio with this piece of code it fails throwing this error: - Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Configuration problem: The element 'configuration-ref' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesoft.org/schema/mule/cxf present on the classpath? Offending resource: URL [file:/Users/eugenia/Downloads/MuleStudio-Nightly30Aug/workspace/.mule/apps/order_fulfillment_testing/fufillment.xml] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) 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:47) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:24) Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The element 'configuration-ref' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesoft.org/schema/mule/cxf present on the classpath? Offending resource: URL [file:/Users/eugenia/Downloads/MuleStudio-Nightly30Aug/workspace/.mule/apps/order_fulfillment_testing/fufillment.xml] Eva's words! :) The "configuration-ref" attribute makes sense at an endpoint attribute because you can reference a global cxf:configuration. I guess the idea behind having a "configuration-ref" as an endpoint child is to avoid the global config, this way you can have a "configuration-ref" wrapping the "configuration" but it's not working because there's no bean registered to it in the NamespaceHandler. I think the "configuration-ref" as a child is confusing, so it can either be removed (it never worked anyway), or it should be correctly handled. The problem exists since 3.1.
    via by María Eugenia Aldinio,
  • I found this bug testing a new framework in Mule Studio. configuration-ref appears twice in the schema (mule-cxf): In the commonConfiguration and in commonAttributes. If you use the configuration as a child of the configuration-ref, Mule fails. Piece of code: <cxf:configuration-ref> <cxf:configuration enableMuleSoapHeaders="true" initializeStaticBusInstance="true" /> </cxf:configuration-ref> When I run the Order Fulfillment example in Studio with this piece of code it fails throwing this error: - Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Configuration problem: The element 'configuration-ref' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesoft.org/schema/mule/cxf present on the classpath? Offending resource: URL [file:/Users/eugenia/Downloads/MuleStudio-Nightly30Aug/workspace/.mule/apps/order_fulfillment_testing/fufillment.xml] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) 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:47) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:24) Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The element 'configuration-ref' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesoft.org/schema/mule/cxf present on the classpath? Offending resource: URL [file:/Users/eugenia/Downloads/MuleStudio-Nightly30Aug/workspace/.mule/apps/order_fulfillment_testing/fufillment.xml] Eva's words! :) The "configuration-ref" attribute makes sense at an endpoint attribute because you can reference a global cxf:configuration. I guess the idea behind having a "configuration-ref" as an endpoint child is to avoid the global config, this way you can have a "configuration-ref" wrapping the "configuration" but it's not working because there's no bean registered to it in the NamespaceHandler. I think the "configuration-ref" as a child is confusing, so it can either be removed (it never worked anyway), or it should be correctly handled. The problem exists since 3.1.
    via by María Eugenia Aldinio,
  • when i test mule2.1.1 on aix 5.3, SpringXmlConfigurationBuilder throw NullPointerException. [12-05 14:30:42] ERROR SpringXmlConfigurationBuilder [main]: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed. org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Error creating bean with name '_mulePropertyPlaceholderProcessor' defined in URL [jar:file:/home/ufs/mule-2.1.1/lib/mule/mule-module-spring-config-2.1.1.jar!/default-mule-config.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:79) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:79) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:65) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:113) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:58) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:148) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:117) at org.mule.example.bookstore.client.BookstoreClient.<init>(BookstoreClient.java:39) at org.mule.example.bookstore.client.BookstoreClient.main(BookstoreClient.java:65) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_mulePropertyPlaceholderProcessor' defined in URL [jar:file:/home/ufs/mule-2.1.1/lib/mule/mule-module-spring-config-2.1.1.jar!/default-mule-config.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404) at java.security.AccessController.doPrivileged(AccessController.java:202) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:516) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:71) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:71) ... 12 more
    via by li.chen moringlee,
  • [mule-user] problems with mule-app.properties
    via by alberto Coppini,
  • [mule-user] Test MULE with JUnit
    via by Mikael Schulz,
    • org.mule.api.lifecycle.InitialisationException: Configuration problem: The element 'configuration-ref' does not have an associated Bean Definition Parser. Is the module or transport associated with http://www.mulesoft.org/schema/mule/cxf present on the classpath? Offending resource: URL [file:/Users/eugenia/Downloads/MuleStudio-Nightly30Aug/workspace/.mule/apps/order_fulfillment_testing/fufillment.xml] at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) 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:47) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:236) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:24)

    Users with the same issue

    Unknown visitor1 times, last one,