The glesys provider appears to be broken. The following attempt to list nodes fails.
The log output of the execution (with message exchange tracking on) looks as follows:
2012-12-05 08:15:15.855 AsyncRestClientProxy [DEBUG] Invoking ServerAsyncApi.list
2012-12-05 08:15:15.860 JavaUrlHttpCommandExecutorService [DEBUG] Sending request 1976134626: POST https://api.glesys.com/server/list/format/json HTTP/1.1
2012-12-05 08:15:16.376 JavaUrlHttpCommandExecutorService [DEBUG] Receiving response 1976134626: HTTP/1.1 200 OK
2012-12-05 08:15:16.379 wire [DEBUG] << "{"response":{"status":{"code":200,"timestamp":"2012-12-05T08:15:16+01:00","text":"OK"},"servers":[{"serverid":"xm3271367","hostname":"peterg","datacenter":"Falkenberg","platform":"Xen"}],"debug":{"input":[]}}}"
2012-12-05 08:15:16.395 AsyncRestClientProxy [DEBUG] Invoking ServerAsyncApi.get
2012-12-05 08:15:16.395 JavaUrlHttpCommandExecutorService [DEBUG] Sending request 241192994: POST https://api.glesys.com/server/details/format/json HTTP/1.1
2012-12-05 08:15:16.395 wire [DEBUG] >> "includestate=true&serverid=xm3271367"
2012-12-05 08:15:16.852 JavaUrlHttpCommandExecutorService [DEBUG] Receiving response 241192994: HTTP/1.1 200 OK
2012-12-05 08:15:16.853 wire [DEBUG] << "{"response":{"status":{"code":200,"timestamp":"2012-12-05T08:15:16+01:00","text":"OK"},"server":{"serverid":"xm3271367","hostname":"peterg","description":"my server","cpucores":1,"memorysize":1024,"disksize":20,"transfer":50,"templatename":"Ubuntu 12.04 x64","datacenter":"Falkenberg","managedhosting":"no","supportedfeatures":{"status":"yes","start":"yes","reboot":"yes","stopsoft":"yes","stophard":"yes","destroy":"yes","console":"yes","clone":"no","resourceusage":"yes","editdisksize":"yes","editmemorysize":"yes","editcpucores":"yes","edittransfer":"yes","editip":"yes","beancounterslimit":"no","resetrootpassword":"no","uptime":"yes"},"gleraenabled":"no","platform":"Xen","cost":{"amount":206.16,"currency":"SEK","timeperiod":"month"},"iplist":[{"ipaddress":"109.74.13.60","version":4,"cost":20,"currency":"SEK"},{"ipaddress":"2a02:750:9::2f4","version":6,"cost":1,"currency":"SEK"}],"state":"stopped"},"debug":{"input":{"includestate":"1","serverid":"xm3271367"}}}}"
2012-12-05 08:15:16.868 AsyncRestClientProxy [DEBUG] Invoking ServerAsyncApi.getAllowedArgumentsForCreateByPlatform
2012-12-05 08:15:16.868 JavaUrlHttpCommandExecutorService [DEBUG] Sending request -451914136: GET https://api.glesys.com/server/allowedarguments/format/json HTTP/1.1
2012-12-05 08:15:17.093 JavaUrlHttpCommandExecutorService [DEBUG] Receiving response -451914136: HTTP/1.1 200 OK
2012-12-05 08:15:17.094 wire [DEBUG] << "{"response":{"status":{"code":200,"timestamp":"2012-12-05T08:15:17+01:00","text":"OK"},"argumentslist":{"Xen":{"disksize":{"costperunit":{"amount":2.2,"currency":"SEK","timeperiod":"month"},"units":[5,10,20,30,40,50,80,100,120,140,150,160,200,250,300]},"memorysize":{"costperunit":{"amount":0.09,"currency":"SEK","timeperiod":"month"},"units":[512,768,1024,1536,2048,2560,3072,3584,4096,5120,6144,7168,8192,9216,10240,11264,12288,14336,16384]},"cpucores":{"costperunit":{"amount":30,"currency":"SEK","timeperiod":"month"},"units":[1,2,3,4,5,6,7,8]},"template":["CentOS 5.5 x64","CentOS 5.5 x86","Centos 6 x64","Centos 6 x86","Debian-6 x64","Debian 5.0.1 x64","FreeBSD 8.2","FreeBSD 9.0","Gentoo 10.1 x64","OpenSUSE 11.4 64-bit","Ubuntu 8.04 x64","Ubuntu 10.04 LTS 64-bit","Ubuntu 10.10 x64","Ubuntu 11.04 x64","Ubuntu 12.04 x64","Ubuntu 12.04 x86","Windows Server 2008 R2 x64 std","Windows Server 2008 R2 x64 web","Windows Server 2008 x64 web"],"transfer":{"costperunit":{"amount":0.2,"currency":"SEK","timeperiod":"month"},"units":[50,100,250,500,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000]},"datacenter":["Falkenberg"]},"OpenVZ":{"disksize":{"costperunit":{"amount":2.2,"currency":"SEK","timeperiod":"month"},"units":[5,10,20,30,40,50,60,70,80,90,100,120,140,150]},"memorysize":{"costperunit":{"amount":0.09,"currency":"SEK","timeperiod":"month"},"units":[128,256,512,768,1024,1536,2048,2560,3072,3584,4096,5120,6144,7168,8192,9216,10240,11264,12288,14336,16384]},"cpucores":{"costperunit":{"amount":30,"currency":"SEK","timeperiod":"month"},"units":[1,2,3,4,5,6,7,8]},"transfer":{"costperunit":{"amount":0.2,"currency":"SEK","timeperiod":"month"},"units":[50,100,250,500,1000,2000,3000,4000,5000,6000,7000,8000,9000,10000]},"template":["Centos 5","Centos 5 64-bit","Centos 6 32-bit","Centos 6 64-bit","Debian 5.0 32-bit","Debian 5.0 64-bit","Debian 6.0 32-bit","Debian 6.0 64-bit","Fedora Core 11","Fedora Core 11 64-bit","Gentoo","Gentoo 64-bit","Scientific Linux 6","Scientific Linux 6 64-bit","Slackware 12","Ubuntu 10.04 LTS 32-bit","Ubuntu 10.04 LTS 64-bit","Ubuntu 11.04 64-bit","Ubuntu 12.04 LTS 32-bit","Ubuntu 12.04 LTS 64-bit"],"datacenter":["Amsterdam","Falkenberg","New York City","Stockholm"]}},"debug":{"input":[]}}}"
Exception in thread "main" java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 124
at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:306)
at org.jclouds.json.internal.IgnoreNullSetTypeAdapterFactory$1.read(IgnoreNullSetTypeAdapterFactory.java:67)
at org.jclouds.json.internal.IgnoreNullSetTypeAdapterFactory$1.read(IgnoreNullSetTypeAdapterFactory.java:56)
at com.google.gson.TypeAdapter$1.read(TypeAdapter.java:199)
at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$ParameterReader.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:245)
at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeWithParameterizedConstructorSerializeWithDelegate.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:181)
at org.jclouds.json.internal.IgnoreNullMapTypeAdapterFactory$1.read(IgnoreNullMapTypeAdapterFactory.java:74)
at org.jclouds.json.internal.IgnoreNullMapTypeAdapterFactory$1.read(IgnoreNullMapTypeAdapterFactory.java:58)
at com.google.gson.TypeAdapter$1.read(TypeAdapter.java:199)
at com.google.gson.Gson.fromJson(Gson.java:791)
at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:81)
at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:48)
at com.google.common.util.concurrent.Futures$3.apply(Futures.java:376)
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:518)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)