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

RS (not visible) if Jcodec cannot handle a movie

    XMLWordPrintable

    Details

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

      Description

      Solution: catch all exceptions, as it seems that codec can throw a wide variety of them NullPointerException, IOexcpetion, JCodecException, ArrayIndexOutOfBoundsException...

      2014-11-17 15:46:43,652 [ajp-apr-8011-exec-9] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N11-E58 ^%^ org.olat.core.logging ^
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Firefox/33.0 ^%^
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>foldercomp</compname>
      		<compclass>org.olat.core.commons.modules.bc.components.FolderComponent</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>tfiles</command>
      			<tostring>com:tfiles,org.olat.core.gui.control.Event@cbc0e2a2</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.modules.bc.FolderRunController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: 2
      -> 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.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:212)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:155)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      >>> stack of 2.cause::java.lang.ArrayIndexOutOfBoundsException: 2
      -> at org.jcodec.codecs.h264.decode.SliceDecoder.predictInter16x16(SliceDecoder.java:1399)
         at org.jcodec.codecs.h264.decode.SliceDecoder.decodeInter16x16(SliceDecoder.java:1359)
         at org.jcodec.codecs.h264.decode.SliceDecoder.decodeMBlockB(SliceDecoder.java:531)
         at org.jcodec.codecs.h264.decode.SliceDecoder.decode(SliceDecoder.java:442)
         at org.jcodec.codecs.h264.decode.SliceDecoder.decode(SliceDecoder.java:259)
         at org.jcodec.codecs.h264.H264Decoder$FrameDecoder.decodeFrame(H264Decoder.java:87)
         at org.jcodec.codecs.h264.H264Decoder.decodeFrame(H264Decoder.java:61)
         at org.jcodec.api.specific.AVCMP4Adaptor.decodeFrame(AVCMP4Adaptor.java:45)
         at org.jcodec.api.FrameGrab.decodeLeadingFrames(FrameGrab.java:190)
         at org.jcodec.api.FrameGrab.seekToFramePrecise(FrameGrab.java:117)
         at org.jcodec.api.FrameGrab.getFrame(FrameGrab.java:337)
      

        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 - 30 minutes
                30m