Users may encounter the following issues in VCF 9.0.2 SDDC Manager:
The issue is typically caused by a stale or orphaned domain entry in the SDDC Manager database that is not properly associated with a cluster. This leads to a java.lang.NullPointerException when the Resource Aggregator attempts to map elements to a null key.
Log Evidence: In /var/log/vmware/vcf/domainmanager/domainmanager.log: ERROR [vcf_dm] Servlet.service() for servlet [dispatcherServlet] threw exception [Request processing failed: java.lang.NullPointerException: element cannot be mapped to a null key]
To resolve this issue, the stale database entries must be manually removed.
domain or cluster tables.psql --host=localhost -U postgres -d platform -c "SELECT id, name domain_id FROM cluster;"psql --host=localhost -U postgres -d platform -c "DELETE FROM cluster WHERE id = '< id listed from the above command>';"systemctl restart domainmanagersystemctl restart sddc-manager-ui-app