Upgrade ZOWE from V2.18 to V3.1 and found the following error in the STC log:
2025-04-10 12:36:49.302 <ZWELNCH:197253> STCXXXX INFO ZWEL0058I WORKSPACE_DIR is '/PRODUCTS/zowe/workspace'
TypeError: cannot read property 'toUpperCase' of null
at execute (/PRODUCTS/zowe/bin/commands/
at <anonymous> (/PRODUCTS/zowe/bin/commands/
ZOWE v3.1
zowe.launchScript.logLevel is unset (empty) in zowe.yaml
Config validation will allow null value when schema allows empty string. If logLevel variable is empty Zowe will fail to start components trying to call toUpperCase() on null variable.
Workaround:
Update ZOWE.yaml and set
zowe:
launchScript:
logLevel: "info"
Issue is fixed in the upcoming ZOWE v3.2 release.