No Longer Reproducible
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Mark JinMark Jin(Deactivated)Reporter
Michael HashimotoMichael HashimotoLabels
Fix Priority
5Bug Type
Regression BugComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Mark Jin
Mark Jin(Deactivated)Reporter
Michael Hashimoto
Michael HashimotoLabels
Fix Priority
5
Bug Type
Regression Bug
Components
Fix versions
Affects versions
Priority
Zendesk Support
Zendesk Support
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
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.
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.
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.
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.
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