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

Unable to Publish mp3 File after Filling in Metadata

    Details

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

      Description

      Metadata does not appear and exception is thrown.

      To Reproduce:

      1. Enable Xuggler
      2. Add Metadata Set with several fields
      3. Create a Document Type: music and attach previously created metadata set
      4. Add music document and enter metadata
      5. Click Publish
      1. Expected Result: File would save with no exceptions

      Actual Result: File saves but with an exception.

      This exception occurs when You click into the uploaded file:

      [com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable@1e3c5fd5]15:49:32,432 ERROR [main][ffmpeg:76] [libvorbis @ 00000000004865F0] encoder setup failed
      [com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable@1e3c5fd5]15:49:32,437 WARN  [main][xuggler:248] Error: could not open codec (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:831)
      23:49:32,521 ERROR [liferay/document_library_audio_processor-1][AudioProcessor:411] java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
      java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
              at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:495)
              at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:469)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudioXuggler(AudioProcessorImpl.java:390)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudioXuggler(AudioProcessorImpl.java:431)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl._generateAudio(AudioProcessorImpl.java:330)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl.generateAudio(AudioProcessorImpl.java:103)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorUtil.generateAudio(AudioProcessorUtil.java:36)
              at com.liferay.portlet.documentlibrary.messaging.AudioProcessorMessageListener.generate(AudioProcessorMessageListener.java:32)
              at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:38)
              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: com.liferay.portal.kernel.process.ProcessException: java.lang.RuntimeException: Unable to open coder
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:513)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:1)
              at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:192)
      Caused by: java.lang.RuntimeException: Unable to open coder
              at com.liferay.portlet.documentlibrary.util.LiferayConverter.openStreamCoder(LiferayConverter.java:650)
              at com.liferay.portlet.documentlibrary.util.LiferayAudioConverter.doConvert(LiferayAudioConverter.java:111)
              at com.liferay.portlet.documentlibrary.util.LiferayAudioConverter.convert(LiferayAudioConverter.java:54)
              at com.liferay.portlet.documentlibrary.util.AudioProcessorImpl$LiferayAudioProcessCallable.call(AudioProcessorImpl.java:510)
              ... 2 more
      
      

        Attachments

          Activity

            People

            • Assignee:
              torrey.schuhler Torrey Schuhler (Inactive)
              Reporter:
              torrey.schuhler Torrey Schuhler (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 35 weeks, 3 days ago

                Packages

                Version Package
                6.2.X EE