RE: Unable to process file version

Jamie Sammons, modified 4 Years ago. New Member Posts: 18 Join Date: 4/19/19 Recent Posts

Hi,

Recently I have reconfigure my liferay(Same old version) in new server IP with old database. Also copied document_library folder in "/data/" folder. It is all ok, but always receive below warning multiple times. Kindly provide any resolution for the same, how I will stop it.

 

WARN  [liferay/document_library_pdf_processor-1][BaseProcessorMessageListener:40] Unable to process file version 36571
java.lang.NullPointerException
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
    at com.liferay.petra.process.ProcessUtil.execute(ProcessUtil.java:55)
    at com.liferay.portal.image.GhostscriptImpl.execute(GhostscriptImpl.java:75)
    at com.liferay.portal.kernel.image.GhostscriptUtil.execute(GhostscriptUtil.java:26)
    at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl._generateImagesGS(PDFProcessorImpl.java:563)
    at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl._generateImagesGS(PDFProcessorImpl.java:499)
    at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl._generateImages(PDFProcessorImpl.java:397)
    at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl._generateImages(PDFProcessorImpl.java:429)
    at com.liferay.portlet.documentlibrary.util.PDFProcessorImpl.generateImages(PDFProcessorImpl.java:109)
    at com.liferay.document.library.kernel.util.PDFProcessorUtil.generateImages(PDFProcessorUtil.java:34)
    at com.liferay.portlet.documentlibrary.messaging.PDFProcessorMessageListener.generate(PDFProcessorMessageListener.java:30)
    at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36)
    at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
    at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
    at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
    at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
    at java.lang.Thread.run(Thread.java:748)

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

There's a good possibility that this is on preview generation. And it seems that your old system was configured to use Ghostview, which doesn't seem to be available on the new system.

Great way to demonstrate that a backup may only be called a backup if it has recently been demonstrated to be restorable to a completely new system and work smoothly. This is your test for the Restore operation, and demonstrates that you still have something to do. Check where your system expects ghostscript, install it and try again. Or disable the use of external ghostscript