When attempting to convert a file to pdf soffice falls into a loop. The command I’m using is:
/usr/lib/libreoffice/program/soffice.bin --headless --invisible --nologo --nofirststartwizard --convert-to pdf --outdir /tmp ./BookingConfirmation-1542719405591.pdf
Here’s the result as it appears in our logs:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:98)
Caused by: java.lang.NoClassDefFoundError: net/zemberek/yapi/DilAyarlari
at net.zemberek.ooo.spellchecker.TurkishSpellChecker.(TurkishSpellChecker.java:94)
… 5 more
Caused by: java.lang.ClassNotFoundException: net.zemberek.yapi.DilAyarlari
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 6 more
Hata. Servis y��klenemedi.
Gelen Constructor sayisi: 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:98)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
Caused by: java.lang.NoClassDefFoundError: net/zemberek/yapi/DilAyarlari
at net.zemberek.ooo.spellchecker.TurkishSpellChecker.(TurkishSpellChecker.java:94)
… 6 more
Caused by: java.lang.ClassNotFoundException: net.zemberek.yapi.DilAyarlari
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 7 more
Hata. Servis y��klenemedi.
Gelen Constructor sayisi: 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:98)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
Caused by: java.lang.NoClassDefFoundError: net/zemberek/yapi/DilAyarlari
at net.zemberek.ooo.spellchecker.TurkishSpellChecker.(TurkishSpellChecker.java:94)
… 7 more
Caused by: java.lang.ClassNotFoundException: net.zemberek.yapi.DilAyarlari
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 8 more
Hata. Servis y��klenemedi.
Gelen Constructor sayisi: 1
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:98)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
at net.zemberek.ooo.OneInstanceFactory.createInstance(OneInstanceFactory.java:118)
Caused by: java.lang.NoClassDefFoundError: net/zemberek/yapi/DilAyarlari
at net.zemberek.ooo.spellchecker.TurkishSpellChecker.(TurkishSpellChecker.java:94)
… 8 more
Caused by: java.lang.ClassNotFoundException: net.zemberek.yapi.DilAyarlari
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 9 more
It continues on like that with list get larger and larger, until the process is manually killed.
Please advise