forcedotcom / try-acb-feedback

BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Error message "Mule DX API Component was not installed" pops up after opening ACB #26

Closed muenzpraeger closed 1 year ago

muenzpraeger commented 1 year ago

Describe the bug After opening an existing ACB instance the error message Mule DX API Component was not installed is shown.

The Extension Host window shows the following messsage.

2023-02-16 12:50:44.769 [error] TypeError: Cannot read properties of undefined (reading 'id')
    at /opt/code-server/extensions/mulesoftinc.mule-dx-vscode-4.4.2/out/extension.js:299:41

Could not find a repro step (yet).

vchirag-mulesoft commented 1 year ago

Hi @muenzpraeger,

Can you please provide a screenshot/recording of the issue?

Thanks!

muenzpraeger commented 1 year ago

I couldn't repro the VSC status message, but could repro the error message. Both are potentially unrelated errors that showed up at the same time.

https://user-images.githubusercontent.com/2205451/221131036-003ee6f0-3bc1-4166-91b1-fbe1aea9af8a.mp4

The error is thrown b/c the project is undefined.

function registerShowDependenciesHandler(context, platformAPI) {
    context.subscriptions.push(vscode.commands.registerCommand(commands_1.Commands.ShowDependencies, (project) => __awaiter(this, void 0, void 0, function* () {
        platformAPI.then(api => {
            api.getDependencies(project.id).then(response => { // <= project is undefined
                console.debug(response);
            });
            projectDependencyProvider.refresh();
        });
    })));
}
martin-scovotti commented 1 year ago

Hi @muenzpraeger thanks for reporting this issue and provide us feedback. An internal issue was created to fix it, in advance this should not affect any of the existing journeys in the product. Please let me know if you experience any issue despite of the error message.

vchirag-mulesoft commented 1 year ago

Hi @muenzpraeger,

This is just a follow-up to my previous comment. If you confirm, I would like to close out this issue with your permission.

Regards, MuleSoft Support

muenzpraeger commented 1 year ago

This can be closed. Thanks!