Internal Server Errorcloud.uuid parameter in its Advanced Configuration Parameters. /opt/vmware/vcloud-director/logs/vcloud-container-debug.log on the cells:Caused by: java.lang.NullPointerException at com.vmware.vcloud.inventory.dao.impl.VirtualMachineRTDaoImpl.getVmModelVersionNumberByCloudUuid(VirtualMachineRTDaoImpl.java:59) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)VMware Cloud Director 10.4.2 has a known issue importing a VM from vCenter Server by using the move operation if the VM to be imported has a configured cloud.uuid parameter in its Advanced Configuration Parameters.When a cloud.uuid parameter is present on the VM to be imported, Cloud Director attempts to confirm it does not already manage a VM with this cloud.uuid and this process can fail in VMware Cloud Director 10.4.2.
This is a known issue affecting VMware Cloud Director 10.4.2. The issue is resolved in VMware Cloud Director 10.4.2.1 and 10.5, available at Broadcom Downloads.
Workaround:
If Cloud Director cannot be upgraded then to workaround the issue remove the cloud.uuid from the VM in vCenter before importing it into Cloud Director:
cloud.uuid parameter. Delete the value of cloud.uuid so it is blank.