3 replies [Last post]
btanner
Offline
Joined: 2010-04-13

I'm on Mac 10.6 using OpenOffice 3.3.0 with latest Docmosis.

If I put a placeholder image in my main document it renders fine. If I put the image into the header Docmosis becomes unhappy when processing.

I get a dump like this:
SEVERE: Converter:Task failed:Conversion Failed
com.docmosis.util.pipeline.TaskException: Conversion Failed
at com.docmosis.converter.openoffice.OpenOfficeConversionWorker.processTask(line:73)
at com.docmosis.util.pipeline.impl.AbstractDataWorker.run(line:98)
at java.lang.Thread.run(Thread.java:680)
Caused by: com.docmosis.document.converter.ConversionServiceFailureException: Unable to load document:file:////private/var/folders/L+/L+SD6OK5FD8ugAhdmrdwQ++++TI/-Tmp-/dm_4412665168256271539pop
at com.docmosis.converter.openoffice.AbstractOpenOfficeConnection.loadDocumentInternal(line:64)
at com.docmosis.converter.openoffice.AbstractOpenOfficeConnection.access$0(line:54)
at com.docmosis.converter.openoffice.AbstractOpenOfficeConnection$HangMonitor.run(line:291)
... 1 more
Caused by: com.docmosis.converter.openoffice.ServiceUnavailableException: Unexpected error from Open Office
at com.docmosis.converter.openoffice.OOUtilities.loadDoc(line:122)
at com.docmosis.converter.openoffice.AbstractOpenOfficeConnection.loadDocumentInternal(line:62)
... 3 more
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
at $Proxy3.loadComponentFromURL(Unknown Source)
at com.docmosis.converter.openoffice.OOUtilities.loadDoc(line:115)
... 4 more

modman
Offline
Joined: 2010-11-25
Support Issue

Hello Brian.

Thanks for the diagnostics. We are not aware of any issues with this functionality, but the logged information indicates something has upset open office.
We will open a support ticket to you so if you are happy to share your example template and the image with us we will investigate. We will treat the information you send us as confidential.

btanner
Offline
Joined: 2010-04-13
Sure. I'll be a good boy and

Sure. I'll be a good boy and see how much I can simplify the example and still make it crash (both the code and the template).

While I'm at it, are you guys happy to address other issues as well as long as I can isolate them? I get errant paragraph breaks all the time and it's sortof a hassle because it means my result document either needs to be cleaned up by someone with a keen eye or it looks sloppy in places.

And in some of my documents (but not all) my paragraph formatting does not get applied unless I do voodoo like make sure to put empty paragraph breaks after conditional sections and stuff like that. I've tried to simplify that example and couldn't reproduce it unfortunately...

Anyway please just e-mail me and we can setup an issue for this header crash and whatever else.

btanner
Offline
Joined: 2010-04-13
I was using a version of

I was using a version of Docmosis that was well out of date. This problem does not happen in 2.2.2. Sorry about the false alarm.