com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:187)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:153)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:349)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:318)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:106)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:657)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:159)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:141)
at $Proxy86.loadComponentFromURL(Unknown Source)
at org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:63)
<- this line number might vary since I had to add code to print this.
The input URL looks like "file:///root/TestDoc1.doc", and I've checked
that the web application should be able to access that file.... I'm
not sure what is wrong here.
We shouldn't throw a NullPointerException of course, we should provide
a more meaningful error message whatever the cause is.
But are you sure that OOo has access to files in /root? I'm asking
because /root should normally be protected, and it's the OOo process
that needs access to it, not just the Java webapp.
Kind regards
Mirko
2008/11/11 ChunWei Ho <fuzz...@gmail.com>:
Yes, soffice is running as root at the moment, and I have ensured that
the input/output files are world-readable and writable, and tried
other areas, e.g.
file:///opt/TestDoc1.doc
file:///tmp/IDX48374CONV.txt
etc
Exception remains:
com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:187)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:153)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:349)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:318)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:106)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:657)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:159)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:141)
at $Proxy4.loadComponentFromURL(Unknown Source)
at org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:66)
Still getting the same issue here. Appreciate if you have any ideas.
Regards,
Chun
Kind regards
Mirko
2008/11/11 cwho80 <fuzz...@gmail.com>:
--
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.