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

npe when starting indexer via ui if cronjob disabled

    XMLWordPrintable

    Details

      Description

      When set

      search.indexing.cronjob=disabled

      clicking on Admin/Core functions/Full-text search/Start indexing
      causes npe.

      stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      >>>stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.search.service.SearchServiceImpl.startIndexing(SearchServiceImpl.java:172)
        at org.olat.admin.search.SearchAdminController.doStartIndexer(SearchAdminController.java:150)
        at org.olat.admin.search.SearchAdminController.event(SearchAdminController.java:113)
        at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:197)
        at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
        at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
        at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
        at org.olat.core.gui.components.link.Link.dispatch(Link.java:199)
        at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
        at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
        at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1121)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              mkurian Matthai Kurian
              Tester:
              Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: