com.vmware.ssdc.library.exceptions.InventoryObjectNotFoundException: Could not find object with moref "vm-####" and VC ID "#############" in inventory category "VirtualMachine".
at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.getInvRec(VC20VirtualServer.java:3875)
at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.getInvRec(VC20VirtualServer.java:3869)
at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.isRelocateRequired(VC20VirtualServer.java:2935)
.......
at java.base/java.lang.Thread.run(Thread.java:829)
VMware Cloud Director 10.6.x
This issue is due to a stale VM present in VCD UI which is already deleted in vCenter.
In the vApp, identify any VMs in the 'Unknown' state and confirm from vCenter whether they are valid or stale entries.
If they are stale, database modifications are required to remove the outdated VM entry from the VCD Database.
Please open a case with Broadcom Support to delete the stale entries from VCD Database. For more information, see Creating and managing Broadcom support cases