[ 
https://issues.apache.org/jira/browse/CXF-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Issam Bandak updated CXF-3204:
------------------------------

          Description: 
Using 2.3.1 Libraries, but also verfiied that the issue also exists in the 
2.2.10 - 2.2.12 as well

The setupClasspath method in the DynamicClientFactory class cannot handle 
spaces in the path. It throws the following exception: 

Caused by: java.net.URISyntaxException: Illegal character in path at index 16: 
file:/C:/Program Files/Zephyr/apache-tomcat-5.5.28/common/classes/
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URL.toURI(URL.java:918)
        at 
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.setupClasspath(DynamicClientFactory.java:515)
        at 
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:313)
        ... 45 more

note: this seems to be similar to issue CXF-1583 
(https://issues.apache.org/jira/browse/CXF-1583) that was found in version 2.1, 
but broken again in the latest releases since adding the nullpointer checks for 
issue 2175 (https://issues.apache.org/jira/browse/CXF-2175).


  was:

Using 2.3.1 Libraries, but also verfiied that the issue also exists in the 
2.2.10 - 2.2.12 as well

The setupClasspath method in the DynamicClientFactory class cannot handle 
spaces in the path. It throws the following exception: 

Caused by: java.net.URISyntaxException: Illegal character in path at index 16: 
file:/C:/Program Files/Zephyr/apache-tomcat-5.5.28/common/classes/
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URL.toURI(URL.java:918)
        at 
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.setupClasspath(DynamicClientFactory.java:515)
        at 
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:313)
        ... 45 more

note: this seems to be similar to issue CXF-1583 
(https://issues.apache.org/jira/browse/CXF-1583) that was found in version 2.1, 
but broken again in the latest releases since adding the nullpointer checks for 
issue 2175 (https://issues.apache.org/jira/browse/CXF-2175).


          Environment: Windows XP, JDK 1.6.0.24  (was: Windows XP)
    Affects Version/s: 2.3.2
                       2.3.3

is this issue going to be looked at and evaluated for a future fix?

> DynamicClientFactory.setupClasspath method cannot handle spaces in path
> -----------------------------------------------------------------------
>
>                 Key: CXF-3204
>                 URL: https://issues.apache.org/jira/browse/CXF-3204
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.2.10, 2.3.0, 2.2.11, 2.2.12, 2.3.1, 2.3.2, 2.3.3
>         Environment: Windows XP, JDK 1.6.0.24
>            Reporter: Issam Bandak
>
> Using 2.3.1 Libraries, but also verfiied that the issue also exists in the 
> 2.2.10 - 2.2.12 as well
> The setupClasspath method in the DynamicClientFactory class cannot handle 
> spaces in the path. It throws the following exception: 
> Caused by: java.net.URISyntaxException: Illegal character in path at index 
> 16: file:/C:/Program Files/Zephyr/apache-tomcat-5.5.28/common/classes/
>       at java.net.URI$Parser.fail(URI.java:2809)
>       at java.net.URI$Parser.checkChars(URI.java:2982)
>       at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>       at java.net.URI$Parser.parse(URI.java:3014)
>       at java.net.URI.<init>(URI.java:578)
>       at java.net.URL.toURI(URL.java:918)
>       at 
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.setupClasspath(DynamicClientFactory.java:515)
>       at 
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:313)
>       ... 45 more
> note: this seems to be similar to issue CXF-1583 
> (https://issues.apache.org/jira/browse/CXF-1583) that was found in version 
> 2.1, but broken again in the latest releases since adding the nullpointer 
> checks for issue 2175 (https://issues.apache.org/jira/browse/CXF-2175).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to