Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0
Description
org.jclouds.dimensiondata.cloudcontrol.features.ServerApiLiveTest#testDeployAndStartServer() is broken due to a change in response payload. Used to return empty list for additionalNics now returns null.
org.jclouds.http.HttpResponseException: Error parsing input: Null additionalNic {statusCode=200, message=200, headers={Connection=[close], Date=[Tue, 20 Feb 2018 06:38:03 GMT]}, payload=[content=true, contentMetadata=[cacheControl=null, contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=1015, contentMD5=null, contentType=application/json, expires=null], written=false, isSensitive=false]} at org.jclouds.dimensiondata.cloudcontrol.domain.AutoValue_NetworkInfo$Builder.additionalNic(AutoValue_NetworkInfo.java:108) at org.jclouds.dimensiondata.cloudcontrol.domain.NetworkInfo.create(NetworkInfo.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.reflect.Invokable$MethodInvokable.invokeInternal(Invokable.java:197) at com.google.common.reflect.Invokable.invoke(Invokable.java:102) at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.newInstance(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:225) at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:205) at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$ParameterReader.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:273) at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:185) at com.google.gson.Gson.fromJson(Gson.java:861) at com.google.gson.Gson.fromJson(Gson.java:826) at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:55) at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:82) at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:76) at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:61) at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:41) at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91) at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74) at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45) at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) at com.sun.proxy.$Proxy47.getServer(Unknown Source) at org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlComputeServiceContextModule$ServerStatus.apply(DimensionDataCloudControlComputeServiceContextModule.java:191) at org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlComputeServiceContextModule$ServerStatus.apply(DimensionDataCloudControlComputeServiceContextModule.java:175) at org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:117) at org.jclouds.dimensiondata.cloudcontrol.features.ServerApiLiveTest.testDeployAndStartServer(ServerApiLiveTest.java:65)
Similar issues occuring for:
org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testGetCustomerImage
org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testListCustomerImages
org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testGetOsImage
org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testListOsImages