Error: "Internal Server Error" and "Caused by: java.lang.NullPointerException" when powering on a virtual machine in VMware Cloud Director
search cancel

Error: "Internal Server Error" and "Caused by: java.lang.NullPointerException" when powering on a virtual machine in VMware Cloud Director

book

Article ID: 324406

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • "Internal Server Error" when powering on a virtual machine in VMware Cloud Director.
  • Within /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, the following log snippet can be seen as the cause of the "Internal Server Error":
Caused by: java.lang.NullPointerException
    at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.moveVmsIntoOvdcHubIfNecessary(GenericVirtualResourcePol.java:2580)
    at com.vmware.vcloud.fabric.compute.vrp.VappAllocationVirtualResourcePool.deployAdmittedVms(VAppAllocationVirtualResourcePool.java:156)

Environment

VMware Cloud Director 10.x

Cause

This issue occurs due to a mismatch between the computehub_id and vrp_id in the computevm table in the VMware Cloud Director database.

Resolution

To resolve this issue contact Broadcom Support and note this Article ID (324406) in the problem description. For more information, see Creating and managing Broadcom support cases.
 
Database modifications may be required to resolve this issue and will require VMware Technical Support assistance.