0 Replies Latest reply on Feb 14, 2013 6:38 AM by MQVMW

    Unable to connect VCD through vsphere plug-in

    MQVMW Novice

      we are developing a vsphere plugin where in we need to connect to VCD.

      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)

       

      I am  able to connect through standalone application to VCD

      but  could not connect while running the same code in Virgo  Server which is used for developing flex based vsphere plug-in.

       

      We are  using

      1)  Virgo Server (within vsphere plug-in)

      2)  STS3.1