Affected Version:

4.1.2.1

 

Component:

Email Import

 

Issue Description:

An issue is observed in Ephesoft Transact 4.1.2.1 with Email Import where PNG images when embedded or inserted using outlook-client fails to get converted to PDF file with below exception thrown in Ephesoft log files:

4.1.2.1.2018-08-30 11:50:07,650 [ERROR] [pool-5-thread-1] [com.ephesoft.dcma.mail.service.EmailConvertorImpl] – Unable to convert Email into PDF file.
org.artofsolving.jodconverter.office.OfficeException: could not load document: C:\Ephesoft\SharedFolders\download-emails\8508528827530180\downloaded-email-attachments\image003.png

The issue is very specific to certain email’s and when the emails are forwarded using outlook-client to lotus notes from where Ephesoft transact is configured to pickup the email’s.

 

Solution:

1. Download the LibreOffice folder from here.
2. Stop Ephesoft Service and kill any soffice.exe and soffice.sbin processes running in Task Manger -> Details Tab. Make sure no process of soffice is running 
3. Navigate to Ephesoft -> Dependencies folder and take a backup of libreoffice folder to some other location and delete the folder from this location.
4. Extract libreoffice folder from the download link above and paste this in Ephesoft->Dependencies folder.
5. Navigate to Ephesoft\Application\WEB-INF\classes\META-INF\dcma-open-office folder and open open-office.properties file.
6. Change the value of openoffice.homePath from C:\\Ephesoft\\Dependencies\\libreoffice\\App\\libreoffice to C:\\Ephesoft\\Dependencies\\libreoffice
7. Restart the ephesoft service and now try to process the email’s and let me know if these gets processed properly or not.