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

The callable eat the ParseException and don't throw it to the service

    XMLWordPrintable

    Details

      Description

      The callable eat the exception but the service accept ParseException and handle it up to the controller.
      Exemple: search with sucht/anh�ngigkeit

      2013-12-21 09:19:55,773 [searchSpringExecutor-1] ERROR SearchCallable - OLAT::ERROR ^%^ N5-E39 ^%^ org.olat.search.service ^%^ 
      >>>stack of 1.cause::org.apache.lucene.queryparser.classic.ParseException: Cannot parse 'sucht/anh�ngigkeit': Lexical error at line 1, column 19. Encountered: after : "/anh\u00e4ngigkeit"
      -> at org.apache.lucene.queryparser.classic.QueryParserBase.parse(QueryParserBase.java:131)
         at org.olat.search.service.SearchServiceImpl.createQuery(SearchServiceImpl.java:266)
         at org.olat.search.service.SearchCallable.call(SearchCallable.java:80)
         at org.olat.search.service.SearchCallable.call(SearchCallable.java:43)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
      >>>stack of 2.cause::o[...]
      zag :: 2013-12-21 09:19:55,773 [ajp-apr-8005-exec-2] ERROR SearchInputController - OLAT::ERROR ^%^ N5-E40 ^%^ org.olat.search.ui
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
      Unexpected exception while searching ^%^
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.search.ui.SearchInputController.doSearch(SearchInputController.java:442)
         at org.olat.search.ui.ResultsSearchController.doSearch(ResultsSearchController.java:188)
         at org.olat.search.ui.ResultsSearchController.doSearch(ResultsSearchController.java:165)
         at org.olat.search.ui.SearchInputController.doSearch(SearchInputController.java:283)
         at org.olat.search.ui.SearchInputController.formOK(SearchInputController.java:233)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:318) at org.olat.core.gui.cont[...]
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 30 minutes
                30m