Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VSCode] - Error cannot read properties of undefined (reading 'uri') #6274

Open
mohamed18123 opened this issue Dec 18, 2024 · 4 comments
Open

Comments

@mohamed18123
Copy link

mohamed18123 commented Dec 18, 2024

Does this occur consistently?

Repro steps:

1.

2.

Action: autoStartDesignTime

Error type: TypeError

Error Message: Cannot read properties of undefined (reading 'uri')

Version: 4.107.4

OS: win32

OS Release: 10.0.22631

Product: Visual Studio Code

Product Version: 1.96.0

Language: en

Call Stack¨NBSP;

¨NBSP;

@ccastrotrejo ccastrotrejo self-assigned this Dec 20, 2024
@ccastrotrejo ccastrotrejo changed the title probleme [VSCode] - Error cannot read properties of undefined (reading 'uri') Dec 20, 2024
@ccastrotrejo ccastrotrejo marked this as a duplicate of #6284 Dec 20, 2024
@ccastrotrejo ccastrotrejo marked this as a duplicate of #6289 Dec 20, 2024
@ccastrotrejo ccastrotrejo marked this as a duplicate of #6280 Dec 20, 2024
@ccastrotrejo
Copy link
Contributor

Hi all thanks for raising this issue. I have a couple of questions.

  • Does this happen everytime you open vscode extension with the Logic Apps Standard extension activated?
  • When this error happened, did you have a logic app project opened in vscode?

@github-actions github-actions bot changed the title [VSCode] - Error cannot read properties of undefined (reading 'uri') probleme Dec 20, 2024
@ccastrotrejo ccastrotrejo changed the title probleme [VSCode] - Error cannot read properties of undefined (reading 'uri') Dec 23, 2024
Copy link

github-actions bot commented Jan 2, 2025

We requested more information to triage this issue. If the issue goes more than 7 days with no more information it'll be automatically closed.

@github-actions github-actions bot added the stale label Jan 2, 2025
@diogocatossi
Copy link

diogocatossi commented Jan 7, 2025

Hey there. I'm experiencing the same issue.

If VSCode opens empty, single file or a folder there's no error.
It only happens when opening a workspace.
This is regardless of having a Logic Apps opened or not.

Error:
Cannot read properties of undefined (reading 'uri')
Image

From ExtHost.log I can see the following trace:
2025-01-07 13:53:55.284 [error] TypeError: Cannot read properties of undefined (reading 'uri') at tryGetLogicAppProjectRoot (c:\Users\catossid\.vscode\extensions\src\app\utils\verifyIsProject.ts:45:84) at verifyLocalConnectionKeys (c:\Users\catossid\.vscode\extensions\src\app\utils\appSettings\connectionKeys.ts:16:31) 2025-01-07 13:53:55.336 [error] TypeError: Cannot read properties of undefined (reading 'uri') at tryGetLogicAppProjectRoot (c:\Users\catossid\.vscode\extensions\src\app\utils\verifyIsProject.ts:45:84) at promptParameterizeConnections (c:\Users\catossid\.vscode\extensions\src\app\commands\parameterizeConnections.ts:30:31)

@github-actions github-actions bot removed the stale label Jan 7, 2025
@ccastrotrejo
Copy link
Contributor

Hi @diogocatossi thanks for letting us know this issue. We have seen this issue, and there is an ongoing effort on fixing this issue and making this experience more friendly in the following PR #6310

As for now whenever there are multiple Logic App projects there is a wizard like this so you can select the logic app project on it. Were you able to see it and select the proper project folder?
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants