Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33049

Clicking on a Video File in DM throws an exception

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M4
    • Fix Version/s: 6.2.0 CE M6
    • Component/s: DM
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: a4ca7ea1f00a14b3b546a6256ee5c1f2056e05fc.
    • Fix Priority:
      4

      Description

      Clicking into a Video File throws exception in Document Library

      To Reproduce:

      1. Click Add > Folder
      2. Enter 'Video' as the folder name
      3. Click on the 'Video' folder
      4. Click Add > Multiple Documents
      5. Select a a variety of video files in the following formats: ogv, mp4, flv, wmv, avi
      6. Click Save
      7. Click Video in left navigational panel
      8. Assert that the Video files added are visible under the Video tab
      9. Select uploaded video files one by one
      10. Assert that the selected video files preview properly via HTML5 protocol (Xuggler must be enabled, refreshing might be required)

      Actual Result: Video preview does show, however when Video is clicked on from the Folder level, an exception is thrown.

      00:34:05,743 ERROR [liferay/document_library_raw_metadata_processor-1][TikaRawMetadataProcessor:79] org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.mp4.MP4Parser@6300c0ff
      org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.mp4.MP4Parser@6300c0ff
              at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:248)
              at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
              at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
              at com.liferay.portal.metadata.TikaRawMetadataProcessor.extractMetadata(TikaRawMetadataProcessor.java:65)
              at com.liferay.portal.metadata.TikaRawMetadataProcessor.extractMetadata(TikaRawMetadataProcessor.java:105)
              at com.liferay.portal.metadata.BaseRawMetadataProcessor.getRawMetadataMap(BaseRawMetadataProcessor.java:62)
              at com.liferay.portal.kernel.metadata.RawMetadataProcessorUtil.getRawMetadataMap(RawMetadataProcessorUtil.java:42)
              at com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl.saveMetadata(RawMetadataProcessorImpl.java:121)
              at com.liferay.portlet.documentlibrary.util.RawMetadataProcessorUtil.saveMetadata(RawMetadataProcessorUtil.java:118)
              at com.liferay.portlet.documentlibrary.messaging.RawMetadataProcessorMessageListener.doReceive(RawMetadataProcessorMessageListener.java:36)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
              at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:64)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:675)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:586)
              at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: Could not delete temporary file L:\git\Private\master-bundles\tomcat-7.0.34\temp\apache-tika-1309137277064199826.tmp
              at org.apache.tika.io.TemporaryResources$1.close(TemporaryResources.java:70)
              at org.apache.tika.io.TemporaryResources.close(TemporaryResources.java:121)
              at org.apache.tika.io.TikaInputStream.close(TikaInputStream.java:637)
              at org.apache.tika.parser.mp4.MP4Parser.parse(MP4Parser.java:119)
              at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
              ... 15 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 16 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE M6