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

Unexpected error if a indexed group is deleted

    XMLWordPrintable

    Details

      Description

      If a group is deleted, before the indexer delete it from the index, the group is found but the check access method return an error and the search return an "Unexpected error".

      2014-05-03 00:39:07,397 [searchSpringExecutor-2] ERROR SearchCallable - OLAT::ERROR ^%^ N1-E1483 ^%^ org.olat.search.service
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.search.service.indexer.group.GroupIndexer.checkAccess(GroupIndexer.java:115)
         at org.olat.search.service.indexer.AbstractHierarchicalIndexer.checkAccess(AbstractHierarchicalIndexer.java:135)
         at org.olat.search.service.indexer.MainIndexer.checkAccess(MainIndexer.java:62)
         at org.olat.search.service.searcher.SearchResultsImpl.createResultDocument(SearchResultsImpl.java:237)
         at org.olat.search.service.searcher.SearchResultsImpl.initResultList(SearchResultsImpl.java:201)
         at org.olat.search.service.searcher.SearchResultsImpl.(SearchResultsImpl.java:102)
         at org.olat.search.service.SearchCallable.call(SearchCallable.java:90)
         at org.olat.search.service.SearchCallable.call(SearchCallable.java:44)
         at java.util.concurrent.FutureTask.run(Unknown Source) at[...]
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: