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

RS convert QTI 1.2 with unreadable HTML content

    XMLWordPrintable

    Details

      Description

      The red screen happens with a question which HTML cannot be parsed.

      2018-01-16 17:14:05,781 [ajp-nio2-8002-exec-4] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N2-E3 ^%^ org.olat.core.logging
      
      https://community.openolat.org/auth/RepositoryEntry/250347520/Editor/0
      Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
      
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.CreateRepositoryEntryController</controllername>
      		<controllername>org.olat.ims.qti.editor.QTIEditorMainController</controllername>
      		<controllername>org.olat.ims.qti.QTIRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
       
      >>> 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:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti21.model.xml.AssessmentHtmlBuilder.appendHtml(AssessmentHtmlBuilder.java:156)
         at org.olat.ims.qti21.model.xml.interactions.FIBAssessmentItemBuilder.buildItemBody(FIBAssessmentItemBuilder.java:555)
         at org.olat.ims.qti21.model.xml.AssessmentItemBuilder.build(AssessmentItemBuilder.java:360)
         at org.olat.ims.qti21.pool.QTI12To21Converter.convert(QTI12To21Converter.java:274)
         at org.olat.ims.qti21.pool.QTI12To21Converter.convert(QTI12To21Converter.java:198)
         at org.olat.ims.qti21.pool.QTI12To21Converter.convert(QTI12To21Converter.java:160)
         at org.olat.ims.qti21.pool.QTI21QPoolServiceProvider.convertFromEditorPackage(QTI21QPoolServiceProvider.java:517)
         at org.olat.ims.qti21.repository.handlers.QTI21AssessmentTestHandler.createResource(QTI21AssessmentTestHandler.java:164)
         at org.olat.repository.ui.author.CreateRepositoryEntryController.doCreate(CreateRepositoryEntryController.java:190)
         at org.olat.repository.ui.author.CreateRepositoryEntryController.formOK(CreateRepositoryEntryController.java:166)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:380)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            mmenzel Mandy Menzel
            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 - 2 hours, 5 minutes
                2h 5m