The following error occurred:resource_type:{0}NSX start search resync {1}CLI Broadcom Search index is out of sync for ''''resource_type:{0}''''. Run the ''''start search resync {1}'''' CLI command on the NSX appliance to resync. If the issue persists, contact Broadcom Support.
We can see the log entries in the nsx_manager /var/log/syslog when trying to uninstall:
2025-10-26T12:59:31.686Z p#######2 NSX 77780 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Updating existing DeploymentUnitInstance: DeploymentUnitInstance [ id=DeploymentUnitInstance/2e##d#5#-b##d-##4e-b9##-f##09##82##8, deploymentUnitId=DeploymentUnit/2######7-10##-##63-9603-35########14, hostId=HostTransportNode/####5324-##b6-41##-a384-bf#########1, entityId=null, prevEntityId=null, runningVersion=4.2.2.0.0.24730889, deploymentProgressState=UNINSTALL_FAILED, deploymentGoalState=DISABLED, internalLastKnownOSVersion=8.0.3, agentId=null, errorId=0, errorMessage=Unable to remove vib on host.#012java.rmi.RemoteException: VI SDK invoke exception:java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Cannot invoke "String.length()" because "<parameter2>" is null, scxInstalled=false] with DeploymentUnitInstance: DeploymentUnitInstance [ id=DeploymentUnitInstance/2######4-##5d-4f##-b##5-##########28, deploymentUnitId=DeploymentUnit/#####597-1##a-45##-##03-3##########4, hostId=HostTransportNode/######24-66##-##31-###4-bf6########1, entityId=null, prevEntityId=null, runningVersion=4.2.2.0.0.24730889, deploymentProgressState=UNINSTALL_IN_PROGRESS, deploymentGoalState=DISABLED, internalLastKnownOSVersion=8.0.3, agentId=null, errorId=0, errorMessage=Unable to remove vib on host.#012java.rmi.RemoteException: VI SDK invoke exception:java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Cannot invoke "String.length()" because "<parameter2>" is null, scxInstalled=false]./nsx_manager_#####511-##b5-###e-a1##-7##########2_######26_13####/var/log/syslog:2025-10-26T12:59:31.686Z p#######2 NSX 77780 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Updated DeploymentUnitInstance: DeploymentUnitInstance [ id=DeploymentUnitInstance/2#######-b5##-4f##-##15-f##########8, deploymentUnitId=DeploymentUnit/2d#####7-###a-4###-##03-##########14, hostId=HostTransportNode/60######-66##-###1-a3##-###########1, entityId=null, prevEntityId=null, runningVersion=4.2.2.0.0.24730889, deploymentProgressState=UNINSTALL_IN_PROGRESS, deploymentGoalState=DISABLED, internalLastKnownOSVersion=8.0.3, agentId=null, errorId=0, errorMessage=Unable to remove vib on host.#012java.rmi.RemoteException: VI SDK invoke exception:java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Cannot invoke "String.length()" because "<parameter2>" is null, scxInstalled=false]
VMware NSX Datacenter.
Workaround:
Follow the KB article below to DELETE TN
https://broadcomcms-software-agent.wolkenservicedesk.com/wolken/esd/knowledge-base-view/view-kb-article?articleNumber=319975&isLocationBackOnHome=true&hideTabs=true
DELETE https://<NSX Mgr IP>/policy/api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/<UUID>?force=true&unprepare_host=false
Post which below commands
start search resync policy
start search resync manager
If you are contacting Broadcom support about this issue, to aid a timely response and resolution, please provide the following: