java.lang.IllegalStateException

org.springframework.context.annotation.AnnotationConfigApplicationContext@6d223732 has been closed already

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web9827

  • via Spring JIRA by Mark Fisher, 11 months ago
    org.springframework.context.annotation.AnnotationConfigApplicationContext@6d223732 has been closed already
  • via Spring JIRA by Mark Fisher, 1 year ago
    org.springframework.context.annotation.AnnotationConfigApplicationContext@6d223732 has been closed already
  • org.springframework.context.annotation.AnnotationConfigApplicationContext@21213b92 has been closed already
  • Stack trace

    • java.lang.IllegalStateException: org.springframework.context.annotation.AnnotationConfigApplicationContext@6d223732 has been closed already at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:956) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:978) at org.springframework.xd.module.core.SimpleModule.getComponent(SimpleModule.java:214) at org.springframework.xd.dirt.plugins.AbstractMessageBusBinderPlugin.unbindConsumerAndProducers(AbstractMessageBusBinderPlugin.java:144) at org.springframework.xd.dirt.plugins.stream.StreamPlugin.beforeShutdown(StreamPlugin.java:74) at org.springframework.xd.dirt.module.ModuleDeployer.beforeShutdown(ModuleDeployer.java:267) at org.springframework.xd.dirt.module.ModuleDeployer.destroyModule(ModuleDeployer.java:217) at org.springframework.xd.dirt.module.ModuleDeployer.handleUndeploy(ModuleDeployer.java:197) at org.springframework.xd.dirt.module.ModuleDeployer.undeploy(ModuleDeployer.java:169) at org.springframework.xd.dirt.server.ContainerRegistrar.undeployModule(ContainerRegistrar.java:252) at org.springframework.xd.dirt.server.ContainerRegistrar$StreamModuleWatcher.process(ContainerRegistrar.java:580) at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:56) at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522) at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)

    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

    Unknown user
    Once, 3 weeks ago
    Once, 2 months ago
    Unknown user
    Once, 4 months ago
    236 times, 6 months ago
    Unknown user
    Once, 10 months ago
    20 more bugmates