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

RS if metadata file of video is missing or empty

    XMLWordPrintable

    Details

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

      Description

      2016-09-09 06:36:25,138 [ajp-nio2-8083-exec-8] ERROR XStreamHelper - OLAT::ERROR ^%^ N83-E5 ^%^ org.olat.core.util.xml 
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/601.7.8 ^%^ **RedScreen** could not read Object from file: video_metadata.xml
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>metaDataConfig</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>metaDataConfig</command>
      			<tostring>com:metaDataConfig,org.olat.core.gui.control.Event@d3a06790</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.video.ui.VideoRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: could not read Object from file: video_metadata.xml
      -> at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:293)
         at org.olat.modules.video.manager.VideoManagerImpl.readVideoMetadataFile(VideoManagerImpl.java:251)
         at org.olat.modules.video.ui.VideoMetaDataEditFormController.initForm(VideoMetaDataEditFormController.java:56)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:271)
         at org.olat.modules.video.ui.VideoMetaDataEditFormController.<init>(VideoMetaDataEditFormController.java:48)
         at org.olat.modules.video.ui.VideoSettingsController.doOpenMetaDataConfig(VideoSettingsController.java:107)
         at org.olat.modules.video.ui.VideoSettingsController.<init>(VideoSettingsController.java:73)
         at org.olat.modules.video.ui.VideoRuntimeController.doSettingsconfig(VideoRuntimeController.java:87)
         at org.olat.modules.video.ui.VideoRuntimeController.event(VideoRuntimeController.java:68)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      >>> stack of 2.cause::org.olat.core.logging.OLATRuntimeException: could not read Object from inputstream: java.io.BufferedInputStream@66292be9
      -> at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:323)
         at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:289)
         at org.olat.modules.video.manager.VideoManagerImpl.readVideoMetadataFile(VideoManagerImpl.java:251)
         at org.olat.modules.video.ui.VideoMetaDataEditFormController.initForm(VideoMetaDataEditFormController.java:56)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:271)
         at org.olat.modules.video.ui.VideoMetaDataEditFormController.<init>(VideoMetaDataEditFormController.java:48)
         at org.olat.modules.video.ui.VideoSettingsController.doOpenMetaDataConfig(VideoSettingsController.java:107)
         at org.olat.modules.video.ui.VideoSettingsController.<init>(VideoSettingsController.java:73)
         at org.olat.modules.video.ui.VideoRuntimeController.doSettingsconfig(VideoRuntimeController.java:87)
         at org.olat.modules.video.ui.VideoRuntimeController.event(VideoRuntimeController.java:68)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      >>> stack of 3.cause::com.thoughtworks.xstream.io.StreamException: : input contained no data
      -> at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
         at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)
         at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
         at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:318)
         at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:289)
         at org.olat.modules.video.manager.VideoManagerImpl.readVideoMetadataFile(VideoManagerImpl.java:251)
      >>> stack of 4.cause::java.io.EOFException: input contained no data
      -> at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
         at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
         at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
         at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
         at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
         at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
         at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
         at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: