Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.10.0
-
None
-
Severity 3 - Minor
-
Description
Summary
Bamboo unable to startup
The below exception is thrown in the xxxxxxx.log file:
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?
Notes
It should have better log message to show that the problem is caused by index
Workaround
- Delete <Bamboo home directory>/index
- Reindex at Administration >> System >> Indexing