Word Document Conversion Failing on 3.0 beta.

39 views
Skip to first unread message

jashkenas

unread,
Aug 26, 2010, 5:35:18 PM8/26/10
to JODConverter
Hey folks.

I tried using the latest 3.0 beta, and it works beautifully for all
document formats except for Microsoft Word docs, where I'm getting
this error every time:

Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: task failed
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:
97)
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:
75)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:
75)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:
66)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:104)
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:230)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:
86)

I rolled back to the 2.0 series, so it's not an immediate problem for
me, but I just thought you might want the notification. This is on
Ubuntu on EC2, with the latest Openoffice package installed.

Mirko Nasato

unread,
Aug 26, 2010, 6:11:49 PM8/26/10
to JODConverter
Must be something to do with your OOo installation. Have you tried on
a different machine?

Kind regards

Mirko

Jeremy Ashkenas

unread,
Aug 26, 2010, 6:43:53 PM8/26/10
to jodcon...@googlegroups.com
Thanks, Mirko.

When I roll back to a 2.X installation of JODConverter, on the same
machine (without even restarting the OpenOffice process), everything
works fine with Word docs.

-- Jeremy

> --
> You received this message because you are subscribed to the Google Groups "JODConverter" group.
> To post to this group, send email to jodcon...@googlegroups.com.
> To unsubscribe from this group, send email to jodconverter...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jodconverter?hl=en.
>
>

Mirko Nasato

unread,
Aug 27, 2010, 7:53:00 AM8/27/10
to JODConverter
Yes I understand that, but you're the first person reporting that no
Word docs can be converted with JODConverter 3.0, so there must be
something specific to your case. If you could try on another machine
we'd know if the problem has to do with the OOo installation.

BTW how can you roll back to 2.x "without even restarting the
OpenOffice process"? JODConverter 3.0 will start and stop its own OOo
process, how did you manage to use the same process for both versions?

Kind regards

Mirko
Reply all
Reply to author
Forward
0 new messages