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

solr/indexer error message when tomcat start

    Details

    • Tests:
      Unit
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Hello,

      Like I said on xwiki forum (https://forum.xwiki.org/t/solr-search-engine-doesnt-work-anymore/700/13) some pages missing in search application.
      I remove /data/solr directory and restart tomcat server (I delete work and temp content directory to).
      When I start tomcat catalina.out displayed this error:

      2017-10-05 13:34:37,886 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@3a3d8e15] ERROR o.x
      .s.s.i.j.IndexerJ
      ob         - Exception thrown during job execution 
      java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
              at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
              at java.util.LinkedList.get(LinkedList.java:476)
              at java.util.Collections$UnmodifiableList.get(Collections.java:1309)
              at org.xwiki.search.solr.internal.job.DocumentReferenceComparator.compare(DocumentReferenceComparator.java:42)
              at org.xwiki.search.solr.internal.job.DiffDocumentIterator.next(DiffDocumentIterator.java:122)
              at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:151)
              at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:134)
              at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:110)
              at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
              at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      2017-10-05 13:34:37,886 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@3a3d8e15] INFO  o.x.s.s.i.j.IndexerJob         - Finished job of type [solr.indexer] with identifier [[solr, indexer]] 
      

      Ty

      Pascal B

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              Pbas Pascal BASTIEN
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: