Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3792

Cannot refresh index readers

    XMLWordPrintable

    Details

      Description

      2018-12-18 00:40:41,346 [index-worker-2-thread-8] ERROR SearchServiceImpl  - OLAT::ERROR ^%^ N67-E142702 ^%^ org.olat.search.service ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a
      >>>stack of 1.cause::java.util.concurrent.ExecutionException: java.lang.NullPointerException
      -> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
         at java.util.concurrent.FutureTask.get(FutureTask.java:206)
         at org.olat.search.service.SearchServiceImpl.doSearch(SearchServiceImpl.java:364)
         at org.olat.search.service.document.file.FileDocumentFactory.getDocumentFromCurrentIndex(FileDocumentFactory.java:109)
         at org.olat.search.service.document.file.FileDocumentFactory.createDocument(FileDocumentFactory.java:136)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSLeaf(FolderIndexerWorker.java:114)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSContainer(FolderIndexerWorker.java:100)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSContainer(FolderIndexerWorker.java:94)
         at org.olat.search.service.indexer.FolderIndexerWorker.call(FolderIndexerWorker.java:69)
         at org.olat.search.service.indexer.FolderIndexerWorker.call(FolderIndexerWorker.java:49)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      >>>stack of 2.cause::java.lang.NullPointerException: null -> 
      
      2018-12-18 00:40:41,348 [searchSpringExecutor-2] ERROR GetDocumentByCallable  - OLAT::ERROR ^%^ N67-E142703 ^%^ org.olat.search.service ^%^ n/a ^%^ n/a ^%^ n/a
      >>>stack of 1.cause::java.lang.IllegalStateException: same segment _2 has invalid doc count change; likely you are re-opening a reader after illegally removing index files yourself and building a new index in their place.  Use IndexWriter.deleteAll or open a new IndexWriter using OpenMode.CREATE instead
      -> at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:171)
         at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:334)
         at org.apache.lucene.index.StandardDirectoryReader$2.doBody(StandardDirectoryReader.java:328)
         at org.apache.lucene.index.StandardDirectoryReader$2.doBody(StandardDirectoryReader.java:324)
         at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:688)
         at org.apache.lucene.index.StandardDirectoryReader.doOpenFromCommit(StandardDirectoryReader.java:330)
         at org.apache.lucene.index.StandardDirectoryReader.doOpenNoWriter(StandardDirectoryReader.java:320)
         at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:271)
         at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:259)
         at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:140)
         at org.olat.search.service.SearchServiceImpl$OOSearcherManager.refreshIfNeeded(SearchServiceImpl.java:566)
         
      2018-12-18 00:40:41,348 [schedulerFactoryBean_Worker-3] ERROR SearchServiceImpl  - OLAT::ERROR ^%^ N67-E142704 ^%^ org.olat.search.service
      >>>stack of 1.cause::java.util.concurrent.ExecutionException: java.lang.NullPointerException
      -> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
         at java.util.concurrent.FutureTask.get(FutureTask.java:206)
         at org.olat.search.service.SearchServiceImpl.doSearch(SearchServiceImpl.java:364)
         at org.olat.search.service.document.file.FileDocumentFactory.getDocumentFromCurrentIndex(FileDocumentFactory.java:109)
         at org.olat.search.service.document.file.FileDocumentFactory.createDocument(FileDocumentFactory.java:136)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSLeaf(FolderIndexerWorker.java:114)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSContainer(FolderIndexerWorker.java:100)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSContainer(FolderIndexerWorker.java:94)
         at org.olat.search.service.indexer.FolderIndexerWorker.doIndexVFSContainer(FolderIndexerWorker.java:94)
         at org.olat.search.service.indexer.FolderIndexerWorker.call(FolderIndexerWorker.java:69)
         at org.olat.search.service.indexer.FolderIndexerWorker.call(FolderIndexerWorker.java:49)
      >>>stack of 2.cause::java.lang.NullPointerException: null -> 
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            okant Oliver Kant
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 5 minutes
                3h 5m