Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-30

Error when computing user ACL on a segment containing a live and a deleted document with the same id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.1.0
    • 4.1.0
    • None
    • 4.1RC1
    • 4.1 RC2

      2018-02-20 10:52:50.575 ERROR (qtp373378624-57) [   x:ametys-ODFdefault] o.a.s.h.RequestHandlerBase java.lang.ArrayIndexOutOfBoundsException: 256
          at org.apache.lucene.util.FixedBitSet.set(FixedBitSet.java:193)
          at org.ametys.solr.helper.AclCacheManager._computeBitSetAndPutInCache(AclCacheManager.java:211)
          at org.ametys.solr.helper.AclCacheManager.getOrComputeBitSet(AclCacheManager.java:127)
          at org.ametys.solr.plugins.acl.AclQueryWeight.scorer(AclQueryWeight.java:85)
          at org.apache.lucene.search.Weight.bulkScorer(Weight.java:160)
          at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:665)
          at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:472)
          at org.apache.solr.search.DocSetUtil.createDocSetGeneric(DocSetUtil.java:152)
          at org.apache.solr.search.DocSetUtil.createDocSet(DocSetUtil.java:141)
          at org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:1158)
          at org.apache.solr.search.SolrIndexSearcher.getPositiveDocSet(SolrIndexSearcher.java:817)
          at org.apache.solr.search.SolrIndexSearcher.getProcessedFilter(SolrIndexSearcher.java:1006)
          at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1523)
          at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1399)
          at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:566)
          at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:545)
          at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:296)
          at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
          at org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)
          at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
          at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
          at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
          at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
          at org.eclipse.jetty.server.handler.ContextHandler.__doHandle(ContextHandler.java:1180)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
          at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
          at org.eclipse.jetty.server.Server.handle(Server.java:534)
          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
          at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
          at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
          at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
          at java.lang.Thread.run(Thread.java:745)

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: