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

MuleSoft JIRA | li.chen moringlee | 8 years ago
  1. 0

    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

    MuleSoft JIRA | 8 years ago | li.chen moringlee
    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
  2. 0

    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

    MuleSoft JIRA | 8 years ago | li.chen moringlee
    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
  3. 0

    MuleSoft Forum Archive: [mule-user] cvc-complex-type.2.4.a: ...

    mulesoft.org | 1 year ago
    org.mule.api.lifecycle.InitialisationException: Line 34 in XML document from URL is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'stdio:outbound-endpoint'. One of '{"http://www.mulesoft.org/schema/mule/core":abstract-message-processor, "http://www.mulesoft.org/schema/mule/core":abstract-outbound-endpoint, "http://www.mulesoft.org/schema/mule/core":response, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":threading-profile}' is expected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule - User - cvc-complex-type.2.4.a: Invalid content was found starting with element 'stdio:outbound-endpoint'

    nabble.com | 6 months ago
    org.mule.api.lifecycle.InitialisationException: Line 34 in XML document from URL [file:/c:/temp1/install/mule-standalone-3.1.2/mule-standalone-3.1.2/examples/echo/target/test-classes/mule-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'stdio:outbound-endpoint'. One of '{" ":abstract-message-processor, " ":abstract-outbound-endpoint, " ":response, " ":abstract-exception-strategy, " ":threading-profile}' is expected.
  6. 0

    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.

    MuleSoft JIRA | 5 years ago | MarĂ­a Eugenia Aldinio
    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]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Mule Core
      AbstractRegistry.initialise
      1. org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:79)
      1 frame
    3. Spring Config
      SpringXmlConfigurationBuilder.doConfigure
      1. org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:79)
      2. org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:65)
      2 frames
    4. Mule Core
      DefaultMuleContextFactory.createMuleContext
      1. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39)
      2. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
      3. org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:113)
      4. org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:58)
      5. org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:39)
      6. org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
      7. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:148)
      8. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:117)
      8 frames
    5. org.mule.example
      BookstoreClient.main
      1. org.mule.example.bookstore.client.BookstoreClient.<init>(BookstoreClient.java:39)
      2. org.mule.example.bookstore.client.BookstoreClient.main(BookstoreClient.java:65)
      2 frames