This article provides steps to resolve an issue where accessing the NSX Advanced Load Balancer configuration within VMware Cloud Director fails with a Null Pointer Exception.
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log on the VCD cell contains a stack trace similar to the following:com.vmware.vcloud.common.network.NsxAlbApiException: Invalid credentials at com.vmware.vcloud.fabric.net.nsxalb.NsxAlbRestTemplateErrorHandler.handleError(NsxAlbRestTemplateErrorHandler.java:46)10.6
This issue occurs when the credentials for the AVI Controller stored within the VMware Cloud Director infrastructure configuration do not match the current credentials on the AVI Controller itself. This frequently happens after a password rotation or update is performed directly on the AVI Controller but not synchronised with VCD.
To resolve this issue, you must update the AVI Controller registration in VCD with the correct credentials.