https://issues.apache.org/ooo/show_bug.cgi?id=120273
Priority: P3
Bug ID: 120273
Assignee: [email protected]
Summary: Can not open a file in UNO mode, if there is a "%" in
file name
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.0
Component: code
Product: api
Created attachment 78641
--> https://issues.apache.org/ooo/attachment.cgi?id=78641&action=edit
The code in this file will show how to open a file in UNO mode
Steps to reproduce the defect:
1) Launch Aoo3.4 in commandline with args
"-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
2) Configure the attached code with Aoo3.4 in Java IDE, like Eclipse
3) Run "FirstConnection.class" to open sample file "h%e%l%l%o.odt"
Defect : The loading will failed with message:
com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:173)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:139)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:334)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:303)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:87)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:636)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:146)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:128)
at $Proxy4.loadComponentFromURL(Unknown Source)
at FirstConnection.useConnection(FirstConnection.java:56)
at FirstConnection.main(FirstConnection.java:22)
PS: It's OK to load "h%e%l%l%o.odt" in UI mode.
--
You are receiving this mail because:
You are the assignee for the bug.