Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Gleb Zykov
, 1 year ago
Error creating bean with name 'hibernateExceptionTranslator': 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:216) ~[org.springframework.spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'hibernateExceptionTranslator': 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:216) ~[org.springframework.spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:534)	at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:310)	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:162)	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:145)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodIntercceptor.invoke(CrudMethodMetadataPostProcessor.java:122)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)	at com.sun.proxy.$Proxy81.findOne(Unknown Source)	at models.service.DriverService.save(DriverService.java:64)	at actors.taxiStationSupervisor.taxiStation.navserver.NavServerHandlerActor.handleCoordinates(NavServerHandlerActor.java:376)	at actors.taxiStationSupervisor.taxiStation.navserver.NavServerHandlerActor.handleMessage(NavServerHandlerActor.java:216)	at actors.taxiStationSupervisor.taxiStation.navserver.NavServerHandlerActor.onReceive(NavServerHandlerActor.java:93)	at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)	at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)	at akka.actor.ActorCell.invoke(ActorCell.scala:487)	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)	at akka.dispatch.Mailbox.run(Mailbox.scala:221)	at akka.dispatch.Mailbox.exec(Mailbox.scala:231)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)