Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save damienomurchu/2e8088f7d466b2159f923ecf021daf05 to your computer and use it in GitHub Desktop.
Save damienomurchu/2e8088f7d466b2159f923ecf021daf05 to your computer and use it in GitHub Desktop.
[junit] org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'internal-PropsManager': 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!)
[junit] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:210)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[junit] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117)
[junit] at org.tssg.millicore.beans.util.AppContextUtil.getBean(AppContextUtil.java:34)
[junit] at org.tssg.millicore.config.PropsManager.getPropsManager(PropsManager.java:455)
[junit] at org.tssg.millicore.config.PropsManager.getClusterPropSet(PropsManager.java:316)
[junit] at org.tssg.millicore.config.PropsManager.getClusterProp(PropsManager.java:360)
[junit] at org.tssg.millicore.http.ExternalClientBase.isEnabled(ExternalClientBase.java:90)
[junit] at org.tssg.millicore.messaging.MessagingClient.sendMessages(MessagingClient.java:155)
[junit] at org.tssg.millicore.messaging.MessagingClient$CheckMessagesTask.run(MessagingClient.java:314)
[junit] at java.util.TimerThread.mainLoop(Timer.java:555)
[junit] at java.util.TimerThread.run(Timer.java:505)
[junit] org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'internal-PropsManager': 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!)
[junit] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:210)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[junit] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117)
[junit] at org.tssg.millicore.beans.util.AppContextUtil.getBean(AppContextUtil.java:34)
[junit] at org.tssg.millicore.config.PropsManager.getPropsManager(PropsManager.java:455)
[junit] at org.tssg.millicore.config.PropsManager.getClusterPropSet(PropsManager.java:316)
[junit] at org.tssg.millicore.config.PropsManager.getClusterProp(PropsManager.java:360)
[junit] at org.tssg.millicore.http.ExternalClientBase.isEnabled(ExternalClientBase.java:90)
[junit] at org.tssg.millicore.messaging.MessagingClient.sendMessages(MessagingClient.java:155)
[junit] at org.tssg.millicore.messaging.MessagingClient$CheckMessagesTask.run(MessagingClient.java:314)
[junit] at java.util.TimerThread.mainLoop(Timer.java:555)
[junit] at java.util.TimerThread.run(Timer.java:505)
[junit] Closing connection to rabbitmq
[junit] Closing connection to rabbitmq
[junit] Closing connection to rabbitmq
[junit] Tests FAILED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment