forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
954 stars 406 forks source link

Extension host terminated unexpectedly #3425

Closed ravibarnwal closed 2 years ago

ravibarnwal commented 3 years ago

I have setup my developer edition org using SFDX: Create Project with manifest and authorized org. When I am trying to retrieve source from manifest org using right click on package.xml, getting error Extension host terminated unexpectedly.

Developer console screenshot

image

ravibarnwal commented 3 years ago

I have tried with disabled all extensions and uninstall salesforce extension pack and again installed but didn't work.

randi274 commented 3 years ago

@ravibarnwal is this your first time running the command for the project? Have you made any changes to the manifest file?

ravibarnwal commented 3 years ago

Yes. I was running first time to retrieve the source code using manifest file. No I haven't made change to manifest file.

randi274 commented 3 years ago

@ravibarnwal did you also receive the error with only the vscode extension installed? I wanted to confirm since the screenshot shows a lot of other extensions working at the same time, and stackoverflow suggests it could be other extensions, like git: https://stackoverflow.com/questions/46457994/receiving-error-message-extension-host-terminated-unexpectedly-in-visual-stud

About how large is the code source in the org that you're trying to retrieve from?

ravibarnwal commented 3 years ago

@randi274 I have only Salesforce development related plugin installed see attached screenshot.

About how large is the code source in the org that you're trying to retrieve from? -- This is my developer org so not much source code.

I am not sure how git extension is showing in developer console.

installed_extension Developerconsole

randi274 commented 3 years ago

It's weird since it does look like git is running somehow! Could you check your extensions folder to see if git is included, then remove that folder (at least temporarily)? This isn't an error we've logged before, so my thinking is it might be another extension, especially since you don't have much code in the org.

ravibarnwal commented 3 years ago

I don't have other extension installed. You can see screenshot. Also I tried with deleting cached files under these folder.

image image

rcoringrato-sfdc commented 3 years ago

@ravibarnwal Can you post the messages that appear in the Salesforce CLI OUTPUT panel when you run the retrieve operation?

ravibarnwal commented 3 years ago

There is no error in this output section and also Salesforce CLI option getting hidden after getting error. See screenshot.

image

rcoringrato-sfdc commented 3 years ago

@ravibarnwal Can you try closing and then reopening VSCode to see if the extension will activate?

ravibarnwal commented 3 years ago

Yes, after closing and reopening vscoder extension is getting activated again but again error is coming up.

On Fri, Aug 6, 2021, 00:37 rcoringrato-sfdc @.***> wrote:

@ravibarnwal https://github.com/ravibarnwal Can you try closing and then reopening VSCode to see if the extension will activate?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/3425#issuecomment-893713760, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY6VRXUJRRTAYAUWFPKO23T3LON3ANCNFSM5AQBNX4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

xyc commented 3 years ago

@ravibarnwal Could you let us know what the Windows version you are using is?

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.

ravibarnwal commented 3 years ago

Sorry for late response. I am using windows 10.

ravibarnwal commented 3 years ago

image

AnanyaJha commented 3 years ago

Hi @ravibarnwal are you still running into this issue consistently locally? Does it happen every time you retrieve?

ravibarnwal commented 3 years ago

Hi @AnanyaJha Yes I am still facing this issue. It is happening whenever I am retrieving code from org by package.xml in manifest folder. Now sometime it is only showing running SFDX: Retrieve Source from Org in notification popup and keep running. This is my package.xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

* ApexClass * ApexComponent * ApexPage * ApexTrigger * AuraDefinitionBundle * LightningComponentBundle * StaticResource 52.0
RitamAgrawal commented 2 years ago

@ravibarnwal Are you still facing the same issue? If yes, then which version of salesforce extension are you using?

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.