Closed yangyaofei closed 1 year ago
bump i have same problem @sbraconnier
Hi, I have the same problem today. I think it occurs only when the AbstractLocalOfficeTask#loadDocument() failed and try to catch an IllegalArgumentException (the one coming from openoffice com.sun.star.lang) I open the source code of jodconverter in my IntellIJ and I think the libreoffice and openoffice are not compatible at some point. The IllegalArgumentException in LibreOffice extends RuntimeException (com.sun.star.uno), and the one coming from OpenOffcie extends Exception (com.sun.star.uno)
I got also the same error. It happens in the LocalConverter.doExecute() function when a new LocalConversionTask is started:
// Create a default conversion task and execute it
final LocalConversionTask task =
new LocalConversionTask(source, target, loadProperties, filterChain, storeProperties);
When I run the openoffice lib, I dont get this error.
Sorry for the delay. I finally got time to work on this and I successfully reproduced the issue. It's now my 1rst priority.
The error like #113
I try libreoffice 7.4.0 or newer got same error: OS: macos with jdk11
Should I use org.jodconverter:jodconverter-local ? or What I'm doing wrong?