org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference?

Atlassian JIRA | Kah Loun Foong [Atlassian] | 7 months ago
  1. 0

    h3. Summary Bamboo unable to startup The below exception is thrown in the xxxxxxx.log file: {noformat} 2016-05-16 09:04:00,633 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) ... Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference? {noformat} h3. Notes It should have better log message to show that the problem is caused by index h3.Workaround # Delete {{<Bamboo home directory>/index}} # Reindex at {{Administration >> System >> Indexing}}

    Atlassian JIRA | 7 months ago | Kah Loun Foong [Atlassian]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
  2. 0

    h3. Summary Bamboo unable to startup The below exception is thrown in the xxxxxxx.log file: {noformat} 2016-05-16 09:04:00,633 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) ... Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference? {noformat} h3. Notes It should have better log message to show that the problem is caused by index h3.Workaround # Delete {{<Bamboo home directory>/index}} # Reindex at {{Administration >> System >> Indexing}}

    Atlassian JIRA | 7 months ago | Kah Loun Foong [Atlassian]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
  3. 0

    JAVA 启动失败 - Java - 云计算开发者社区 - Powered by Discuz!

    cloudbbs.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.jdbc.DataSourceProperties org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource.CONFIGURATION_PROPERTIES': Could not bind properties; nested exception is java.lang.IllegalStateException: Method [registerNatives] was discovered in the .class file but cannot be resolved in the class object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No qualifying bean of type [javax.sql.DataSource] is defined

    Stack Overflow | 9 months ago | emilly
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSecurityConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.security.core.userdetails.UserDetailsService javabeat.net.springboot.config.WebSecurityConfig.userDetailsService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySpringUserDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final javabeat.net.springboot.service.UserService javabeat.net.springboot.service.MySpringUserDetailsService.userService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl' defined in URL [jar:file:F:\new-spring-boot\target\example-spring-boot-rest-1.0-SNAPSHOT.war!/WEB-INF/classes!/javabeat/net/springboot/service/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javabeat.net.springboot.dao.UserRepository]: : Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#188ad80b' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#188ad80b': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.entityManagerFactory(org.springframework.orm.jpa.JpaVendorAdapter)] threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.sql.DataSource] is defined; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Cannot create inner bean '(inner bean)#188ad80b' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#188ad80b': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.entityManagerFactory(org.springframework.orm.jpa.JpaVendorAdapter)] threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.sql.DataSource] is defined
  6. 0

    Got following error in running server "java.lang.NoSuchMethodError: java/lang/Object.toString()Ljava/lang/String;"

    Stack Overflow | 3 years ago | Pathik
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myBean2' defined in ServletContext resource [/WEB-INF/myApplicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: java/lang/Object.toString()Ljava/lang/String;

    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.springframework.beans.factory.BeanCreationException

      Error creating bean with name 'pendingBuildResultsStateRestoration' defined in class path resource [applicationContext.xml]: Cannot create inner bean 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' of type [com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.container.startup.PendingBuildResultsStateRestorationImpl#6d287459' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chainExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'jobExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionManager' defined in class path resource [applicationContextChainManagers.xml]: Cannot resolve reference to bean 'stopBuildManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stopBuildManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManager' while setting bean property 'planExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'planExecutionManagerTarget' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'planExecutionManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'chainExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chainExecutionManager': Requested bean is currently in creation: Is there an unresolvable circular reference?

      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory.populateBean
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)
      4 frames