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

Shutting down Bamboo while builds are still running can break artifact copying

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 5.8
    • 5.5, 5.5.1
    • Artifacts, Plugins
    • None

      Workaround

      To work around this issue, you can just re-enable the plugin

      1. Go to Administration -> Manage add-ons
      2. Select "System" from the filter drop down
      3. Find the plugin "System Builders"
      4. Enable it!

      The problem

      Artifact copier plugin is disabled, during a noisy restart. It happens when using local agents and spring complains while shutdown and build post actions are attempted at the same time.

      Logs on restart

      2014-04-30 09:20:11,024 INFO [localhost-startStop-2] [KahaDBStore] Stopping async topic tasks
      2014-04-30 09:20:11,024 INFO [localhost-startStop-2] [KahaDBStore] Stopped KahaDB
      2014-04-30 09:20:11,192 INFO [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [TaskResultBuilder] MAUI-WAR-JOB1-87: Failing task since return code of [XXX] was 143 while expected 0
      2014-04-30 09:20:11,195 INFO [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [ExecuteBuildTask] MAUI-WAR-JOB1-87: Running post build plugin 'NCover Results Collector'
      2014-04-30 09:20:11,198 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'planStatePersister' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'planStatePersister': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,199 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'agentManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'agentManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,199 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'bambooSmackMessageListener' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'bambooSmackMessageListener': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,200 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'bambooPermissionManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'bambooPermissionManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,200 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'loginInformationManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'loginInformationManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,200 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'notificationManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'notificationManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,201 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'extendedAuthorManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'extendedAuthorManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,201 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'immutablePlanManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'immutablePlanManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,201 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'deletionService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'deletionService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,202 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'chainBranchManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'chainBranchManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,202 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'planDependencyManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'planDependencyManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,202 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'labelManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'labelManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,203 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'capabilityManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'capabilityManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,203 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'elasticInstanceScheduleManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'elasticInstanceScheduleManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,204 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'dashboardCachingManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'dashboardCachingManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,204 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'cachedPlanManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'cachedPlanManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,204 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'chainResultManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'chainResultManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,205 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'chainPluginSupport' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'chainPluginSupport': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,205 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'bambooUserManager' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'bambooUserManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,206 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'elasticRunningInstancesOptimizer' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'elasticRunningInstancesOptimizer': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,207 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'xmlMigrator' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'xmlMigrator': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,208 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'deploymentProjectService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'deploymentProjectService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,209 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'deploymentProjectDeletionService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'deploymentProjectDeletionService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,209 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'environmentService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'environmentService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,209 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'environmentDeletionService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'environmentDeletionService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,210 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'deploymentResultDeletionService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'deploymentResultDeletionService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,210 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'deploymentVersionDeletionService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'deploymentVersionDeletionService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,210 WARN [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'linkedDeploymentProjectCacheService' - couldn't check type! org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'linkedDeploymentProjectCacheService': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,211 ERROR [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [BambooPluginUtils] Unable to instantiate module com.atlassian.bamboo.plugin.descriptor.CustomBuildProcessorModuleDescriptor
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'buildDirectoryManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      Caused by: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'buildDirectoryManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:146)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:372)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:914)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:829)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:246)
      	at com.atlassian.bamboo.plugin.BambooHostContainer.create(BambooHostContainer.java:64)
      	at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:36)
      	at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:99)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(AbstractBambooModuleDescriptor.java:30)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.access$000(AbstractBambooModuleDescriptor.java:17)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor$2.call(AbstractBambooModuleDescriptor.java:104)
      	at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.getModule(AbstractBambooModuleDescriptor.java:113)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:153)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186)
      	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
      	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      	at java.lang.Thread.run(Thread.java:745)
      2014-04-30 09:20:11,213 FATAL [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [ExecuteBuildTask] Failed to execute the build 'MAUI-WAR-JOB1-87'
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'buildDirectoryManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      Caused by: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'buildDirectoryManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:146)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:372)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:914)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:829)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:246)
      	at com.atlassian.bamboo.plugin.BambooHostContainer.create(BambooHostContainer.java:64)
      	at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:36)
      	at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:99)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(AbstractBambooModuleDescriptor.java:30)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.access$000(AbstractBambooModuleDescriptor.java:17)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor$2.call(AbstractBambooModuleDescriptor.java:104)
      	at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87)
      	at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.getModule(AbstractBambooModuleDescriptor.java:113)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:153)
      	at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186)
      	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
      	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      	at java.lang.Thread.run(Thread.java:745)
      2014-04-30 09:20:11,216 INFO [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [DefaultErrorHandler] Recording an error: Failed to execute the build 'MAUI-WAR-JOB1-87' : MAUI-WAR-JOB1 : Error creating bean with name 'com.atlassian.bamboo.plugin.dotnet.ncover.NCoverBuildProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'buildDirectoryManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      2014-04-30 09:20:11,221 INFO [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [ExecutionPhaseServiceImpl] maui - war - Default Job #87 (MAUI-WAR-JOB1-87) execution finished
      2014-04-30 09:20:11,222 INFO [9-BAM::Local Agent #1::Agent:pool-27-thread-1] [LocalBuildResultProcessor] Processing build result MAUI-WAR-JOB1-87...
      2014-04-30 09:20:11,222 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-9] [EventInvokerRunnable] Uncaught exception running event: com.atlassian.bamboo.event.BambooErrorEvent[source=com.atlassian.bamboo.logger.DefaultErrorHandler@6844fb8] and invoker com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker@503baac2
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.notification.builderror.BuildErrorNotification': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'decoratedErrorDetailsFactory': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      Caused by: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'decoratedErrorDetailsFactory': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:146)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:227)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:876)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:246)
      	at com.atlassian.spring.container.SpringContainerContext.createCompleteComponent(SpringContainerContext.java:90)
      	at com.atlassian.bamboo.notification.AbstractNotificationEventListener.createNotificationComponent(AbstractNotificationEventListener.java:173)
      	at com.atlassian.bamboo.notification.builderror.BuildErrorNotificationListener.handleEvent(BuildErrorNotificationListener.java:38)
      	at com.atlassian.bamboo.notification.builderror.BuildErrorNotificationListener.handleEvent(BuildErrorNotificationListener.java:18)
      

              pbruski Przemek Bruski
              bmccoy bmccoy
              Votes:
              13 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: