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

Andrew Gaul updated JCLOUDS-907:
--------------------------------
    Fix Version/s:     (was: 2.1.0)

> Extra space in endpoint causes exception
> ----------------------------------------
>
>                 Key: JCLOUDS-907
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-907
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 1.9.0
>            Reporter: Zack Shoylev
>            Assignee: Zack Shoylev
>            Priority: Minor
>
> {
>     "endpoints": [{
>         "adminURL": 
> "http://115.249.4.66:8004/v1/38bc976fd99d4ef4b6d48be6729b8576";,
>         "region": "IPTC",
>         "internalURL": 
> "http://115.249.4.66:8004/v1/38bc976fd99d4ef4b6d48be6729b8576 ",
>         "id": "64667a399bb446d0bf0f6537e113ec52",
>         "publicURL": 
> "http://115.249.4.66:8004/v1/38bc976fd99d4ef4b6d48be6729b8576";
>     }],
>     "endpoints_links": [],
>     "type": "orchestration",
>     "name": "heat"
> },
> Specifically
> "htttp://115.249.4.66:8004/v1/38bc976fd99d4ef4b6d48be6729b8576 ",
> causes
> Exception in thread "main" 
> com.google.common.util.concurrent.UncheckedExecutionException: 
> com.google.gson.JsonIOException: java.net.URISyntaxException: Illegal 
> character in path at index 61: 
> htttp://115.249.4.66:8004/v1/38bc976fd99d4ef4b6d48be6729b8576 
>     at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
>     at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
>     at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
>     at 
> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
>     at 
> com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827)
>     at 
> org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule$2.get(KeystoneAuthenticationModule.java:234)
>   ...
> as per 
> http://stackoverflow.com/questions/30229697/openstack-juno-with-jclouds-api-generating-urisyntaxexception-because-of-an-extr



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to