Error: class java.lang.NullPointerException Internal server exception | requestId=########,request=POST <vcd_url>/api/vApp/vapp-#####-####_###/action/recomposeVApp,requestTime=########,remoteAddress=########,userAgent=Mozilla/5.0 (######; #######_##_#) AppleWebKit/5...,accept=application/*+xml;version ##.#.#-alphajava.lang.NullPointerException at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.getVMValRef(GenericVirtualResourcePool.java:1121) at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.performAdmissionControl(GenericVirtualResourcePool.java:1887) at com.vmware.vcloud.vdc.impl.InternalResourceEntityServiceImpl.performAdmissionControlForInterVdcMove(InternalResourceEntityServiceImpl.java:785) at com.vmware.vcloud.vdc.impl.InternalResourceEntityServiceImpl.recomposeVApp(InternalResourceEntityServiceImpl.java:479) at com.vmware.vcloud.vdc.impl.VdcServiceImpl.recomposeVApp(VdcServiceImpl.java:1151)VMware Cloud Director 10.5.X
This issue occurs when the id and cvm_id is different in vapp_vm table as the compute_fabric_handle joins based on vapp_vm.id.
Need to modify the VMware Database table.
For a workaround, contact Broadcom Technical Support and note this Knowledge Article ID (406594) in the problem description.
For more information, see How to Submit a Support Request