Quantcast
Viewing all articles
Browse latest Browse all 144

Unmarshaller exception with the vCloud SDK for Java

Hi,

 

I'm trying to use the vCloud SDK within Spring.

When calling the login method (with the appropriate username and password strings) from a vCloudClient object, I got the following NullPointerException:

 

 

java.lang.NullPointerException
at com.vmware.vcloud.sdk.JAXBUtil.unmarshallResource(JAXBUtil.java:66)
at com.vmware.vcloud.sdk.Response.getResource(Response.java:109)
at com.vmware.vcloud.sdk.VcloudClient.getSupportedVersions(VcloudClient.java:193)
at com.vmware.vcloud.sdk.VcloudClient.login(VcloudClient.java:276)

...

 

Does anyone of you have an idea of what may raise this exception?

Thanks.

 

-- AS


Viewing all articles
Browse latest Browse all 144

Trending Articles