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

Documents and Media TIKA exception when uploading .ogv, .flv and .mov files

Details

    • Bug
    • Status: Closed
    • Resolution: Duplicate
    • 6.2.0 CE M5
    • 6.2.0 CE M5
    • Documents & Media
    • None
    • Tomcat 7.0 + MySQL 5. Firefox 12. Portal 6.2.x GIT ID: 4509d5f018e6e667bf24cf4db45c095b3b447416.
    • 4

    Description

      When trying to upload an .ogv, .flv, or .mov file into Documents and Media, a TIKA exception appears.

      Steps to reproduce:
      1. Add Documents and Media Portlet
      2. Add either an .ogv, .flv, or .mov file
      Expected result: "Your request was completed successfully" will appear and file with load.
      Actual result: The following exception is thrown:

      19:05:11,115 ERROR [liferay/document_library_raw_metadata_processor-1][TikaRawMetadataProcessor:79] org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from [email protected]
      org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from [email protected]
              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:122)
              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(Thread.java:662)
      Caused by: java.io.IOException: Could not delete temporary file L:\git\Private\master-bundles\tomcat-7.0.34\temp\apache-tika-6373830209186190410.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

              caorongjin Alexander Chow (Inactive)
              torrey.schuhler Torrey Schuhler (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 33 weeks, 2 days ago

                Packages

                  Version Package
                  6.2.0 CE M5