Skip to main content

Hi,

I've upgraded my VSCode and ZMF Explorer extension and I've a problem when starting the Extension.

My VSCode is now:

Version: 1.103.1
Commit: 360a4e4fd251bfce169a4ddf857c7d25d1ad40da
Date: 2025-08-12T16:25:40.542Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.103.1 Chrome/138.0.7204.100 Electron/37.2.3 Safari/537.36

My ZMF Explorer extension is:

Id: RocketSoftware.zmfexplorer
Description: VS Code extension that enables editing of ChangeMan ZMF resources
Version: 2.0.8
Publisher: Rocket Software Inc.
VS Marketplace Link: ZMF Explorer - Visual Studio Marketplace

Visualstudio remove preview
ZMF Explorer - Visual Studio Marketplace
Extension for Visual Studio Code - VS Code extension that enables editing of ChangeMan ZMF resources
View this on Visualstudio >

I've a pretty simple user settings.json where values related to zmfexplorer are

    "zmfexplorer.local.folder": "C:\\\\Users\\\\ris0192\\\\changeman",
    "zmfexplorer.job.cards.build.component": [
        "//TUANTSST JOB (RZ),MSGCLASS=X,MSGLEVEL=(1,1),CLASS=U,",
        "//             REGION=0M,SYSAFF=TST1,   ",
        "//             NOTIFY=UANTS,  ",
        "//*            TYPRUN=SCAN  "
    ],
    "zmfexplorer.job.cards.recompile.component": [
        "//TUANTSST JOB (RZ),MSGCLASS=X,MSGLEVEL=(1,1),CLASS=U,",
        "//             REGION=0M,SYSAFF=TST1,   ",
        "//             NOTIFY=UANTS,  ",
        "//*            TYPRUN=SCAN  "
    ],
    "zmfexplorer.logger": "ALL",

but when I start the Extension I get

2025-08-19 15:35:24.075 [error] Activating extension RocketSoftware.zmfexplorer failed due to an error:
2025-08-19 15:35:24.075 [error] TypeError: Cannot read properties of undefined (reading 'startsWith')
    at Mt.MergeArgs (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:6632)
    at Mt.readConfigFromDisk (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:6059)
    at Mt.refresh (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1045:1750)
    at Mt.createInstance (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:4011)
    at Sxe (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1119:4273)
    at Lb.n (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13382)
    at Lb.m (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13345)
    at Lb.l (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:12801)

I've tried some experiments removing some values from settings.json or adding all the values I may add from the settings editor but still I've always the same error.

How may I understand what is the property giving this problem?

Thank you.



------------------------------
Stefano Antoniazzi
BCC CREDITOCONSUMO S.P.A.
------------------------------

Hi,

I've upgraded my VSCode and ZMF Explorer extension and I've a problem when starting the Extension.

My VSCode is now:

Version: 1.103.1
Commit: 360a4e4fd251bfce169a4ddf857c7d25d1ad40da
Date: 2025-08-12T16:25:40.542Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.103.1 Chrome/138.0.7204.100 Electron/37.2.3 Safari/537.36

My ZMF Explorer extension is:

Id: RocketSoftware.zmfexplorer
Description: VS Code extension that enables editing of ChangeMan ZMF resources
Version: 2.0.8
Publisher: Rocket Software Inc.
VS Marketplace Link: ZMF Explorer - Visual Studio Marketplace

Visualstudio remove preview
ZMF Explorer - Visual Studio Marketplace
Extension for Visual Studio Code - VS Code extension that enables editing of ChangeMan ZMF resources
View this on Visualstudio >

I've a pretty simple user settings.json where values related to zmfexplorer are

    "zmfexplorer.local.folder": "C:\\\\Users\\\\ris0192\\\\changeman",
    "zmfexplorer.job.cards.build.component": [
        "//TUANTSST JOB (RZ),MSGCLASS=X,MSGLEVEL=(1,1),CLASS=U,",
        "//             REGION=0M,SYSAFF=TST1,   ",
        "//             NOTIFY=UANTS,  ",
        "//*            TYPRUN=SCAN  "
    ],
    "zmfexplorer.job.cards.recompile.component": [
        "//TUANTSST JOB (RZ),MSGCLASS=X,MSGLEVEL=(1,1),CLASS=U,",
        "//             REGION=0M,SYSAFF=TST1,   ",
        "//             NOTIFY=UANTS,  ",
        "//*            TYPRUN=SCAN  "
    ],
    "zmfexplorer.logger": "ALL",

but when I start the Extension I get

2025-08-19 15:35:24.075 [error] Activating extension RocketSoftware.zmfexplorer failed due to an error:
2025-08-19 15:35:24.075 [error] TypeError: Cannot read properties of undefined (reading 'startsWith')
    at Mt.MergeArgs (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:6632)
    at Mt.readConfigFromDisk (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:6059)
    at Mt.refresh (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1045:1750)
    at Mt.createInstance (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1043:4011)
    at Sxe (c:\\Users\\ris0192\\.vscode\\extensions\\rocketsoftware.zmfexplorer-2.0.8\\out\\extension.js:1119:4273)
    at Lb.n (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13382)
    at Lb.m (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13345)
    at Lb.l (file:///c:/Users/ris0192/Tools/VS/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:12801)

I've tried some experiments removing some values from settings.json or adding all the values I may add from the settings editor but still I've always the same error.

How may I understand what is the property giving this problem?

Thank you.



------------------------------
Stefano Antoniazzi
BCC CREDITOCONSUMO S.P.A.
------------------------------

Hi Stefano,

Please have a look at the following article which hits the same error as this might help, see below:

ZMF Explorer version 2.0.5 error | Rocket® ChangeMan® ZMF (formerly a Micro Focus® product)



------------------------------
Simon Exton
Support Engineer
Rocket Internal - All Brands
------------------------------

Hi Stefano,

Please have a look at the following article which hits the same error as this might help, see below:

ZMF Explorer version 2.0.5 error | Rocket® ChangeMan® ZMF (formerly a Micro Focus® product)



------------------------------
Simon Exton
Support Engineer
Rocket Internal - All Brands
------------------------------

Thank you Simon,

removing zowe.config.user.json worked also for me.



------------------------------
Stefano Antoniazzi
BCC CREDITOCONSUMO S.P.A.
------------------------------