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

RS: convert question from QTI 1.2 to 2.1

    XMLWordPrintable

    Details

      Description

      The error happens in the question pool for a QTI 1.2 question which come from an external editor. The conversion process can propose a conversion format and make an error.

      2020-07-08 09:12:33.891 [ajp-nio-8009-exec-142] ERROR AssertException ^%^ I970871-J144383 ^%^ org.olat.core.logging.AssertException 
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
      **RedScreen** no key selected
      
      convert.item.long org.olat.core.gui.components.link.Link n/a org.olat.core.gui.control.Event
      convert.item.long com:convert.item.long,
      
      org.olat.modules.qpool.ui.QuestionItemDetailsController
      org.olat.modules.qpool.ui.QuestionListController
      org.olat.modules.qpool.ui.QuestionPoolMainEditorController
      org.olat.core.commons.fullWebApp.BaseFullWebappController
      
      org.olat.core.logging.AssertException: no key selected
       at org.olat.core.gui.components.form.flexible.impl.elements.SelectboxSelectionImpl.getSelectedKey(SelectboxSelectionImpl.java:104)
       at org.olat.modules.qpool.ui.ConversionConfirmationController.updateInfos(ConversionConfirmationController.java:118)
       at org.olat.modules.qpool.ui.ConversionConfirmationController.initForm(ConversionConfirmationController.java:108)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:278)
       at org.olat.modules.qpool.ui.ConversionConfirmationController.(ConversionConfirmationController.java:75)
       at org.olat.modules.qpool.ui.QuestionItemDetailsController.doConfirmConversion(QuestionItemDetailsController.java:709)
       at org.olat.modules.qpool.ui.QuestionItemDetailsController.event(QuestionItemDetailsController.java:454)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:207)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:194)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1218)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:400)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:284)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:263)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
       at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.Exception: assertionstackgenerator
       at org.olat.core.logging.AssertException.(AssertException.java:53)
       ... 49 more
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: