Video preview in Document Library does not display video

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

Environment

Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c5e4e356a6f104facaefde7e516545db6c40ceb5.

is related to

Activity

Show:

Mark JinMay 16, 2012 at 7:00 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c5e4e356a6f104facaefde7e516545db6c40ceb5.

Tomcat throw error message.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: ec3c3593540c45dc3d2e701eeff1eb2c2912dc58.

Unable to see the error message. Able to display the video.

MikaMMay 16, 2012 at 5:02 PM

Resolving this as per Juan's comment.

Juan GonzalezMay 9, 2012 at 10:29 AM
Edited

No Longer Reproducible
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Fix Priority

5

Bug Type

Regression Bug

Affects versions

Priority

Zendesk Support

Created May 9, 2012 at 10:11 AM
Updated June 24, 2023 at 3:53 PM
Resolved May 16, 2012 at 6:01 PM