"java.lang.NullPointerException: uuid" when listing edge gateways
book
Article ID: 325674
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Symptoms:
In the UI, when viewing the Edge Gateways you will see the following error
[UUID] uuid
In the vcloud-container-debug.log you see an entry such as
java.lang.NullPointerException: uuid at com.vmware.vcloud.common.model.BaseObjectId.from(BaseObjectId.java:104) at com.vmware.vcloud.management.query.OrgVdcGatewayQueryListDataHibernateDao.getOperationFilterData(OrgVdcGatewayQueryListDataHibernateDao.java:179)
Environment
VMware Cloud Director for Service Provider 10.x VMware Cloud Director 10.x
Cause
The issue occurs when there is a stale edge gateway in the Cloud Director Database, this edge gateway will have the org_id and the ovdc_id missing.
Resolution
To resolve this issue, please open a Support Request.
Database modifications are required to delete the stale edge gateway and will require VMware Technical Support assistance.
Additional Information
Impact/Risks: Warning: A backup of the Cloud Director database must be taken before attempting to make any changes to it directly.