Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9524

Exception thrown when closing XWiki and the Solr indexing queue is full

    Details

    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: