Zack Shoylev created JCLOUDS-907:
------------------------------------
Summary: 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
Fix For: 1.9.1
{
"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.3.4#6332)