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

TikaException: Failed to close temporary resources

    Details

      Description

      Steps to reproduce:

      1. Upload a .MOV file

      Actual result: the mentioned TikaException error occurs

      2020-10-09 08:33:16.103 WARN [liferay/document_library_raw_metadata_processor-2][TikaRawMetadataProcessor:227] Unable to extract metadata
       2020-10-09 08:33:16.108 WARN [liferay/document_library_raw_metadata_processor-2][RawMetadataProcessorMessageListener:38] Unable to save metadata for file version 39403
       com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.exception.SystemException: java.io.IOException: org.apache.tika.exception.TikaException: Failed to close temporary resources
       at com.liferay.portal.metadata.TikaRawMetadataProcessor.extractMetadata(TikaRawMetadataProcessor.java:125)
       at com.liferay.portal.metadata.BaseRawMetadataProcessor.getRawMetadataMap(BaseRawMetadataProcessor.java:82)
       at com.liferay.portal.kernel.metadata.RawMetadataProcessorUtil.getRawMetadataMap(RawMetadataProcessorUtil.java:48)
       at com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl.saveMetadata(RawMetadataProcessorImpl.java:133)
       at com.liferay.document.library.kernel.util.RawMetadataProcessorUtil.saveMetadata(RawMetadataProcessorUtil.java:113)
       at com.liferay.portlet.documentlibrary.messaging.RawMetadataProcessorMessageListener.doReceive(RawMetadataProcessorMessageListener.java:34)
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48)
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34)
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
       at com.liferay.portal.messaging.internal.SerialDestination$1.run(SerialDestination.java:60)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)
      ...

      Expected result: no errors

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Istvan Dezsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              22 weeks, 4 days ago

                Packages

                Version Package
                7.0.X
                7.1.10 DXP FP21
                7.1.X
                7.2.X
                7.3.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                Master