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

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.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
  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.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
  3. 0

    Spring initWebApplicationContext error

    Stack Overflow | 4 years ago | kneves.vinicius
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [spring/spring-framework-web.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut pointcutFindAndSearch
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate-validator: @NotEmpty does not work for null values

    Stack Overflow | 7 years ago | Alberthoven
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.myApp.persistence.tx.TransactionalAutoProxyCreator#0' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'transactionalInterceptor' while setting bean property 'transactionalInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionalInterceptor' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Invocation of init method failed; nested exception is java.lang.ArrayStoreException: org.hibernate.validator.event.ValidateEventListener
  6. 0

    Spring Maven Project

    Stack Overflow | 5 years ago | devdar
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/MappingException

    25 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.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()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
      2 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:202)
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
      6 frames
    5. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:516)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363)
      2 frames
    6. Spring Config
      SpringRegistry.doInitialise
      1. org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:71)
      1 frame
    7. Mule Core
      AbstractRegistry.initialise
      1. org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:71)
      1 frame