Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | 'private:stream' & 'URL seems to be an unsupported one' exception | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | General | Reporter: | mvance <vance> | ||||||||
Component: | code | Assignee: | andreas.schluens | ||||||||
Status: | CLOSED DUPLICATE | QA Contact: | issues@framework <issues> | ||||||||
Severity: | Trivial | ||||||||||
Priority: | P3 | CC: | issues, Mathias_Bauer, mirko | ||||||||
Version: | OOo 2.2 RC3 | Keywords: | needmoreinfo | ||||||||
Target Milestone: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Windows XP | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
Description
mvance
2007-03-19 12:30:20 UTC
Did you provide an XInputStream in the properties with the name "InputStream"? And is this stream seekable (means: does it support XSeekable)? Does it work if you use "private:stream/"? TM->mvance: please provide requested additional further information. Thanks ! I've provided an XInputStream and XSeekable in the properties with the name "InputStream". Also i tried "private:stream/". Result the same. wuindows XP with Service Pack 2. OOo 2.2.0. stack trace: 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) Users of JODConverter have also reported the same problem with OOo 2.2. It seems to happen only with a few document types: .doc, .rtf, .xls. All the others (including all the OpenDocument types and oddly .ppt) still work fine as with previous OOo version. I'll provide you with some Java code to reproduce the problem as soon as I have the time. Created attachment 44761 [details]
Java code that connects to OOo and loads a document
The attached DocumentLoader.java requires juh.jar jurt.jar ridl.jar and unoil.jar from OOo, plus commons-io 1.3.1 (http://jakarta.apache.org/commons/io/) in the CLASSPATH. Once compiled, it can be used to programmatically load a document in OOo with the special "private:stream" URL as follows 1. start OOo in listening mode with soffice -accept="socket,port=8100;urp;" 2. load a document with e.g. java issue75519.DocumentLoader test.doc With OOo 2.2 downloaded from OpenOffice.org on Linux (Ubuntu 7.04) and the attached documents I get: * the .odt file can be loaded successfully * the .doc file results in the mentioned IllegalArgumentException However - this is getting interesting - the problem only seem to affect the OOo build downloaded from OpenOffice.org. The packages provided by Ubuntu work fine - as did older OOo versions. Created attachment 44762 [details]
Sample .odt file
Created attachment 44763 [details]
Sample .doc file
TM->MBA: please have a look again. Thanks in advance ! Andreas, please take over Same behaviour with OOo 2.2.1. *** Issue 77454 has been marked as a duplicate of this issue. *** duplicate to issue #i75191# *** This issue has been marked as a duplicate of 75191 *** . |