java.lang.NullPointerException at com.vmware.vcloud.val.internal.impl.HubManagerImpl.getHubs(HubManagerImpl.java:556)VMware Cloud Director 10.5.1.1
VMware Cloud Director 10.6.X
This issue can occur when VMware Cloud Director is unable to locate the associated resource pool for a virtual machine (VM) or vApp during task execution. The affected tasks fail almost immediately after initiation, and logs may also report an Internal Server Error or an LMException.
Verify the Resource Pool in vCenter:
Log in to the vCenter Server.
Reconnect the vCenter Server in Cloud Director:
In the Provider Portal of Cloud Director, navigate to:
Resources > Infrastructure Resources > vCenter Servers
Select the relevant vCenter and click Reconnect.
This triggers an inventory refresh between Cloud Director and vCenter, which can resolve inconsistencies such as missing or stale resource pool references.
Retry the Failed Operation:
After performing the steps above, reattempt the VM or vApp task.
The operation should now complete successfully if the resource pool is recognized.