microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.59k stars 29.03k forks source link

Not Able to Switch Salesforce Org through "Change Default Org" option #189530

Closed Shubham-Gupta01 closed 1 year ago

Shubham-Gupta01 commented 1 year ago

Type: Bug

I am not able to Switch Salesforce Org through "Change Default Org" option

  1. Create a Salesforce Project with manifest
  2. Authorize with multiple orgs on the same project
  3. Try to Switch the autorized org through "Change Default Org" option
  4. getting error 'Unexpected end of JSON input' and not able to switch the org.

VS Code version: Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T20:49:41.224Z) OS version: Windows_NT ia32 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.77GB (16.43GB free)| |Process Argv|--crash-reporter-id 465f756c-bfa4-42e8-9fd7-b27a827d894f| |Screen Reader|yes| |VM|0%|
Extensions (18) Extension|Author (truncated)|Version ---|---|--- lwccodemate|aru|1.0.4 apex-pmd|chu|0.5.9 vscode-eslint|dba|2.4.2 prettier-vscode|esb|10.1.0 lana|Fin|1.6.0 lwc-salesforce|Nik|2.3.0 vscode-xml|red|0.26.1 salesforce-vscode-slds|sal|1.4.8 salesforcedx-vscode|sal|58.9.1 salesforcedx-vscode-apex|sal|58.9.1 salesforcedx-vscode-apex-debugger|sal|58.9.1 salesforcedx-vscode-apex-replay-debugger|sal|58.9.1 salesforcedx-vscode-core|sal|58.9.1 salesforcedx-vscode-expanded|sal|58.9.1 salesforcedx-vscode-lightning|sal|58.9.1 salesforcedx-vscode-lwc|sal|58.9.1 salesforcedx-vscode-soql|sal|58.9.1 salesforcedx-vscode-visualforce|sal|58.9.1
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vstes627:30244334 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30792226 vscaat:30438848 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 2e4cg342:30602488 89544117:30613380 vscrpc:30673769 2i9eh265:30646982 showlangstatbar:30737416 vsctsb:30748421 03d35959:30757346 7ij38806:30736111 pythonfmttext:30731395 pythoncmv:30756943 fixshowwlkth:30771522 showindicator:30785052 pythongtdpath:30769146 i26e3531:30792625 gsofa:30797621 pythonnosmt12:30797651 pythonnoceb:30797650 e537b577:30795824 dsvsc013:30795093 dsvsc014:30804076 ```
gjsjohnmurray commented 1 year ago

/causedByExtension

vscodenpa commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!