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

QTI 2.1: RS if the MathML code in an assessment item is unparseable

    XMLWordPrintable

    Details

      Description

      2018-03-26 18:17:00,894 [ajp-nio2-8009-exec-19] ERROR Window - OLAT::ERROR ^%^ N1-E190 ^%^ org.olat.core.gui.components
      
      https://xyz.de/auth/QPool/0/QItemCollection/13991941/QuestionItem/12747384
      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
      **RedScreen** exception while rendering component 'responseBody1019776638_cmp' (org.olat.ims.qti21.ui.components.ItemBodyResultComponent) listener:[]<br />Message of exception: Unexpected Exception running rendering XML pipeline
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'responseBody1019776638_cmp' (org.olat.ims.qti21.ui.components.ItemBodyResultComponent) listener:[]
      Message of exception: Unexpected Exception running rendering XML pipeline
      -> at org.olat.core.gui.components.Window.handleDirties(Window.java:1057)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:508)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         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:661)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:175)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      >>> stack of 2.cause::org.olat.core.logging.OLATRuntimeException: Unexpected Exception running rendering XML pipeline
      -> at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.transformMathmlAsString(AssessmentObjectComponentRenderer.java:1570)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderMath(AssessmentObjectComponentRenderer.java:1385)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderInline(AssessmentObjectComponentRenderer.java:676)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.lambda$renderBlock$8(AssessmentObjectComponentRenderer.java:513)
         at java.util.ArrayList.forEach(ArrayList.java:1257)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderBlock(AssessmentObjectComponentRenderer.java:512)
         at org.olat.ims.qti21.ui.components.ItemBodyResultComponentRenderer.lambda$render$0(ItemBodyResultComponentRenderer.java:61)
         at java.util.ArrayList.forEach(ArrayList.java:1257) at org.olat.ims.qti21.ui.components.ItemBodyResultComponentRenderer.render(ItemBodyResultComponentRenderer.java:60)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236) at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
      >>> stack of 3.cause::org.xml.sax.SAXParseException: The reference to entity ":" must end with the ';' delimiter.
      -> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.transformMathmlAsString(AssessmentObjectComponentRenderer.java:1567)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderMath(AssessmentObjectComponentRenderer.java:1385)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderInline(AssessmentObjectComponentRenderer.java:676)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.lambda$renderBlock$8(AssessmentObjectComponentRenderer.java:513)
         at java.util.ArrayList.forEach(ArrayList.java:1257)
         at org.olat.ims.qti21.ui.components.AssessmentObjectComponentRenderer.renderBlock(AssessmentObjectComponentRenderer.java:512)
         at org.olat.ims.qti21.ui.components.ItemBodyResultComponentRenderer.lambda$render$0(ItemBodyResultComponentRenderer.java:61)
         at java.util.ArrayList.forEach(ArrayList.java:1257)
         at org.olat.ims.qti21.ui.components.ItemBodyResultComponentRenderer.render(ItemBodyResultComponentRenderer.java:60)
      

        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:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m