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

Video preview in Document Library does not display video

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Component/s: DM
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c5e4e356a6f104facaefde7e516545db6c40ceb5.
    • Fix Priority:
      5

      Description

      1. Configure Liferay to work with Xuggler to allow video previews.
        • Navigate to "Control Panel -> Server Administration -> External Services"
        • Check off the Enabled Xuggler profides video conversion functionality.
        • Click Save.
      2. If the video file is bigger than 3 megs, you'll need to increase the Maxiumum File Size.
        • Navigate to "Control Panel -> Server Administration -> File Uploads"
        • Fill in a new Maximum File Size in the Documents and Media section
        • Click Save.
      3. Add a Documents and Media portlet.
        • Navigate back to the home back.
        • Mouse over the Add drop down menu on the dockbar.
        • Click More....
        • Find and add the Documents and Media portlet.
      4. Add a Video file.
        • Click the Add drop down button.
        • Click Basic Document from the Add drop down menu.
        • Click Browse... and find a video file.
        • Click Publish.
      5. Click on the newly created video document.
        • NO preview will ever be generated.
        • The attached exceptions will be thrown.
          17:10:21,766 ERROR [VideoProcessorImpl:519] java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.NullPointerException
          java.util.concurrent.ExecutionException: com.liferay.portal.kernel.process.ProcessException: java.lang.NullPointerException
                  at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:431)
                  at com.liferay.portal.kernel.process.ProcessExecutor$ProcessExecutionFutureResult.get(ProcessExecutor.java:405)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:484)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:514)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:415)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:78)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:29)
                  at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
                  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:103)
                  at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
                  at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
                  at java.lang.Thread.run(Unknown Source)
          Caused by: com.liferay.portal.kernel.process.ProcessException: java.lang.NullPointerException
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:613)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:1)
                  at com.liferay.portal.kernel.process.ProcessExecutor.main(ProcessExecutor.java:160)
          Caused by: java.lang.NullPointerException
                  at com.liferay.portal.kernel.util.FileUtil.createTempFile(FileUtil.java:70)
                  at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.createMP4FastStart(LiferayVideoConverter.java:92)
                  at com.liferay.portlet.documentlibrary.util.LiferayVideoConverter.convert(LiferayVideoConverter.java:85)
                  at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl$LiferayVideoProcessCallable.call(VideoProcessorImpl.java:610)
                  ... 2 more

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 23 weeks, 5 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2