Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17557

Dirty index cause Bamboo unable to startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 5.10.0
    • None

    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

      1. Delete <Bamboo home directory>/index
      2. Reindex at Administration >> System >> Indexing

      Attachments

        Activity

          People

            Unassigned Unassigned
            klfoong Foong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: