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

Parser error appears when uploading ogg file while Xuggler is enabled

    Details

      Description

      Steps to reproduce:

      1. Enable Xuggler in Control Panel > Configuration > Server administration > External Services (more info: https://help.liferay.com/hc/en-us/articles/360029131731-Server-Administration-External-Services#xuggler-configuration)
      2. Go to Documents and Media
      3. Upload the attached ogg file

      Actual behavior: The following error appears in the log

      2021-03-10 14:08:37.214 WARN [liferay/document_library_raw_metadata_processor-1][RawMetadataProcessorMessageListener:38] Unable to save metadata for file version 33908
      com.liferay.portal.kernel.exception.SystemException: java.io.IOException: org.apache.tika.exception.TikaException: Unexpected RuntimeException from [email protected]
       at com.liferay.portal.metadata.TikaRawMetadataProcessor.extractMetadata(TikaRawMetadataProcessor.java:109)
       at com.liferay.portal.metadata.BaseRawMetadataProcessor.getRawMetadataMap(BaseRawMetadataProcessor.java:71)
       at com.liferay.portal.kernel.metadata.RawMetadataProcessorUtil.getRawMetadataMap(RawMetadataProcessorUtil.java:40)
       at com.liferay.portlet.documentlibrary.util.RawMetadataProcessorImpl.saveMetadata(RawMetadataProcessorImpl.java:128)
       at com.liferay.document.library.kernel.util.RawMetadataProcessorUtil.saveMetadata(RawMetadataProcessorUtil.java:113)
       at com.liferay.portlet.documentlibrary.messaging.RawMetadataProcessorMessageListener.doReceive(RawMetadataProcessorMessageListener.java:34)
      ...
      Caused by: org.apache.tika.metadata.PropertyTypeException: xmpDM:duration : SIMPLE
       at org.apache.tika.metadata.Metadata.add(Metadata.java:309)
       at org.gagravarr.tika.OggAudioParser.extractDuration(OggAudioParser.java:120)
       at org.gagravarr.tika.VorbisParser.parse(VorbisParser.java:78)
       at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
       ... 15 more
      

      Expected behavior: No exception in the log

        Attachments

          Activity

            People

            Assignee:
            jeremy.chen Jeremy Chen
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Austin Chiang
            Engineering Assignee:
            Istvan Dezsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 21 weeks, 6 days ago

                Packages

                Version Package
                7.1.10 DXP FP23
                7.1.10.6 SP6
                7.1.X
                7.2.10 DXP FP12
                7.2.X
                7.3.7 CE GA8
                7.3.10 DXP FP2
                7.3.X
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master