/var/log/cm-inventory/cm-inventory.log
shows a NullPointerException
at VlcmValidator.isVlcmEnabledOnComputeCollection
:ERROR http-nio-127.0.0.1-7443-exec-2 JsonRpcErrorResolver 4412 - [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="cm-inventory"] Error discovered by JSON RPC
java.lang.NullPointerException: null
at com.vmware.nsx.management.lcm.invcallbacks.validator.VlcmValidator.isVlcmEnabledOnComputeCollection(VlcmValidator.java:113) ~[liblcm-inventory-callbacks.jar:?]
at com.vmware.nsx.management.lcm.invcallbacks.validator.VlcmValidator.isVlcmEnabledOnComputeCollection(VlcmValidator.java:109) ~[liblcm-inventory-callbacks.jar:?]
VMware NSX-T Data Center
VMware NSX
The NullPointerException
is caused due to a stale entry in VMware NSX-T Corfu database, for a vLCM Cluster which no longer exists.
While editing the Compute Manager details, NSX-T internally checks if any vLCM cluster is prepared.
An exception is thrown even when there are no vLCM Clusters prepared in NSX when stale Corfu entries are present.
Any attempt to Edit ComputeManager with a new thumbprint fails because of java.lang.NullPointerException" in method "VlcmValidator.isVlcmEnabledOnComputeCollection"
This issue is resolved in VMware NSX-T Data Center 3.2.3 and VMware NSX 4.1.1, available at Broadcom downloads.
Workaround