I'm trying to get the IP of the external interface in the vCloud:Gateway.
I've looked in the API Explorer and found the method .getIPAddresses() of the vCloud:Gateway object. But when I run the script I just get error NullPointerException..
If I run the toXml() method I get the full dump of the vCloud:Gateway object in XML-formatting and with it the IP-addresses, but I would like a cleaner way of getting them.
[2019-01-17 09:39:24.951] [E] Error in (Workflow:test / Get External IP (item1)#2) com.vmware.vmo.plugin.vcloud.VCloudPluginException: java.lang.NullPointerException
What to do?
We run Orchestrator 7.4.0, vCloud plugin 9.5.0 and vCloud Director 9.5.0.