org.springframework.transaction.CannotCreateTransactionException

This Dispatcher has been shut down.; nested exception is java.lang.IllegalArgumentException: This Dispatcher has been shut down.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • org.springframework.transaction.CannotCreateTransactionException: This Dispatcher has been shut down.; nested exception is java.lang.IllegalArgumentException: This Dispatcher has been shut down. at org.grails.transaction.ChainedTransactionManager.getTransaction(ChainedTransactionManager.java:127) at org.grails.transaction.ChainedTransactionManager.getTransaction(ChainedTransactionManager.java:55) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93) at com.TestControllerIntegrationSpec.setup(TestControllerIntegrationSpec.groovy) Caused by: java.lang.IllegalArgumentException: This Dispatcher has been shut down. at reactor.core.support.Assert.isTrue(Assert.java:61) at reactor.core.dispatch.AbstractLifecycleDispatcher.dispatch(AbstractLifecycleDispatcher.java:111) at reactor.bus.EventBus.notify(EventBus.java:368) at grails.events.Events$Trait$Helper.notify(Events.groovy:111) at org.grails.events.spring.SpringEventTranslator.onApplicationEvent(SpringEventTranslator.groovy:66) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336) at org.grails.datastore.gorm.events.ConfigurableApplicationContextEventPublisher.publishEvent(ConfigurableApplicationContextEventPublisher.groovy:30) at org.grails.datastore.mapping.core.AbstractDatastore.publishSessionCreationEvent(AbstractDatastore.java:125) at org.grails.datastore.mapping.core.AbstractDatastore.connect(AbstractDatastore.java:118) at org.grails.datastore.mapping.core.AbstractDatastore.connect(AbstractDatastore.java:113) at org.grails.datastore.mapping.transactions.DatastoreTransactionManager.doGetTransaction(DatastoreTransactionManager.java:101) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:337) at org.grails.transaction.MultiTransactionStatus.registerTransactionManager(MultiTransactionStatus.java:68) at org.grails.transaction.ChainedTransactionManager.getTransaction(ChainedTransactionManager.java:106) ... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

LukaLuka
28 times, last one
Unknown visitor
Unknown visitorOnce,