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

NekoHTML send an illegal start position to the converter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2.3
    • Fix Version/s: 11.3
    • Component/s: None
    • Labels:
      None

      Description

      In converting QTI 1.2 to QTI 2.1

      <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.QTIRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo> 
      Throwable: java.lang.ArrayIndexOutOfBoundsException
      
      message:-1,java.lang.ArrayIndexOutOfBoundsException
      
      at com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:529)
      at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:387)
      at org.olat.ims.qti21.pool.QTI12To21HtmlHandler.characters(QTI12To21HtmlHandler.java:143)
      at org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source)
      at org.cyberneko.html.HTMLTagBalancer.characters(HTMLTagBalancer.java:975)
      at org.cyberneko.html.filters.DefaultFilter.characters(DefaultFilter.java:152)
      at org.cyberneko.html.HTMLScanner$ContentScanner.scanCharacters(HTMLScanner.java:2378)
      at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2066)
      at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)
      at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 40 minutes
                40m