org.artofsolving.jodconverter.office.OfficeException: task f

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

org.artofsolving.jodconverter.office.OfficeException: task f

Post by psubramanian »

Recently upgrade to OpenOffice 4.x, getting failed task error when i try to convert html to PDF. Any help would be appreciated.
Not able to see this issue in OpenOffice 3.x

Logs:
org.artofsolving.jodconverter.office.OfficeException: task failed

tack trace:org.artofsolving.jodconverter.office.OfficeException: task failed
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:96)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(FutureTask.java:121)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
... 131 more
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: org.artofsolving.jodconverter.office.OfficeException: ta

Post by Villeroy »

Never change a winning team. JOD converter + Java6 + OpenOffice3
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: org.artofsolving.jodconverter.office.OfficeException: ta

Post by psubramanian »

In OpenOffice 3.x, we found another issue. Some of the html files are not converted and JOD shows operation timeout. Could not complete the task like that.
OpenOffice 3.x
OS: Linux
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: org.artofsolving.jodconverter.office.OfficeException: ta

Post by Villeroy »

And AOO4 does that any better?
How about LibreOffice? It provides command line options for document conversion.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: org.artofsolving.jodconverter.office.OfficeException: ta

Post by psubramanian »

AOO4 is fixed our older issue (Operation timedout) and created new issue (task failed). Thanks.
OpenOffice 3.x
OS: Linux
Post Reply