Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.2-rc-1
-
Easy
-
N/A
-
N/A
-
Description
To be able to reproduce this on a clean XWiki instance you'll have to configure the Solr indexing queue capacity and set a really small value. The following exception is thrown afterwards when closing XWiki:
java.lang.IllegalStateException: Queue full at java.util.AbstractQueue.add(AbstractQueue.java:98) at org.xwiki.search.solr.internal.DefaultSolrIndexer.dispose(DefaultSolrIndexer.java:335) at org.xwiki.component.embed.EmbeddableComponentManager.dispose(EmbeddableComponentManager.java:551) at org.xwiki.container.servlet.XWikiServletContextListener.contextDestroyed(XWikiServletContextListener.java:145) at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:816) at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:160) at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:516) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.server.handler.HandlerCollection.doStop(HandlerCollection.java:250) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.server.handler.HandlerCollection.doStop(HandlerCollection.java:250) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:107) at org.eclipse.jetty.server.Server.doStop(Server.java:341) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.util.thread.ShutdownThread.run(ShutdownThread.java:131)
Attachments
Issue Links
- relates to
-
XWIKI-9597 The database is closed before the components are disposed
- Closed