Executing build-config get or upgrade-plan get fails completely when an empty or invalid custom mapping file is loaded. The CLI aborts the run and displays the following generic error message:
com.vmware.tanzu.spring.advisor.exceptions.ControlledException: One of the custom mappings provided is empty
The error does not identify which specific mapping file causes the failure, making troubleshooting difficult.
Product: VMware Tanzu Spring Application Advisor
Component: Application Advisor CLI
Versions: 1.6.x (Versions prior to 1.6.7)
The CLI encounters an empty or invalid custom mapping file (such as {}) during the configuration load phase. Instead of skipping the invalid file and continuing the operation, the tool throws a hard exception that halts the entire command.
Upgrade the Application Advisor CLI to version 1.6.7 or later. Starting in version 1.6.7, empty custom mappings are tolerated, allowing commands like build-config get to succeed. Note that the CLI skips the empty mapping silently without printing a warning identifying the file.
If upgrading is not immediately possible, identify and remove the empty mapping file manually to unblock the run.
build-config get or upgrade-plan get command.