text:
When trying to delete metadata: Cannot read property 'getElementsByMetadataFilePath' of undefined

Summary
We have a CI process that creates developer sandboxes for users through the force:org:create command. When the org is created we login and delete some environment (production) specific information, for example NamedCredentials. We first retrieve the metadata with a retrieve command and then delete it with a delete command. This used to work, but now this is broken. The retrieve is working as planned, but when i try to do detele the metadata locally or in Azure Devops cli gives the following error:
ERROR running force:source:delete:  Cannot read property 'getElementsByMetadataFilePath' of undefined
Steps To Reproduce:

sfdx force:project:create --projectname $(USERSTORY) --template empty
sfdx force:auth:jwt:grant --clientid '$(CONSUMERKEY)' --username $(SANDBOX_USERNAME) --jwtkeyfile $(serverKey.secureFilePath) --instanceurl https://test.salesforce.com -a $(USERSTORY) -s
sfdx force:source:retrieve -m "NamedCredential, RemoteSiteSetting, CspTrustedSite" -u $(USERSTORY)
sfdx force:source:delete -m "NamedCredential, RemoteSiteSetting, CspTrustedSite" -u $(USERSTORY) -r

Expected result
The retrieved metadata is deleted in the project and the org
Actual result
ERROR running force:source:delete:  Cannot read property 'getElementsByMetadataFilePath' of undefined
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.84.2-a2868a68d5 win32-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.1 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.5 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.5 (core)
analytics 1.12.1 (core)
auth 1.4.6 (core)
config 1.2.3 (core)
generator 1.1.3 (core)
salesforcedx 50.13.3 (core)
├─ user 1.0.5 (core)
├─ limits 1.0.2 (core)
├─ schema 1.0.3 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
├─ apex 0.1.4 (core)
├─ custom-metadata 1.0.11 (core)
├─ templates 50.4.0 (core)
└─ salesforce-alm 50.13.1 (core)
OS and version:
Windows 10

Hi @Dane86NN Thanks for filing this, certainly seems like a bug. Can you add --dev-debug to the delete command and paste the output?

sfdx:SfdxProjectJson INFO Reading config file: C:\Users\M98F393.sfdx\sfdx-project.json +928ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +7ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\schemas\sfdx-project.schema.json +915ms
sfdx:SfdxProjectJson WARN The config file: C:\Users\M98F393.sfdx\sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +55ms
sfdx:SfdxProjectJson INFO Reading config file: C:\Users\M98F393.sfdx\sfdx-project.json +84ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +4ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\schemas\sfdx-project.schema.json +101ms
sfdx:SfdxProjectJson WARN The config file: C:\Users\M98F393.sfdx\sfdx-project.json is not schema valid
sfdx:SfdxProjectJson Due to: Validation errors:
sfdx:SfdxProjectJson should have required property 'packageDirectories' +38ms
sfdx:SfdxProjectJson INFO Reading config file: C:\projects\PBKW12295\sfdx-project.json +3ms
sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +5ms
sfdx:SchemaValidator DEBUG Schema loaded for C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\schemas\sfdx-project.schema.json +48ms
ERROR running force:source:delete:  Cannot read property 'getElementsByMetadataFilePath' of undefined
*** Internal Diagnostic ***
TypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined
at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:241:57
at Array.forEach ()
at AggregateSourceElement.markForDelete (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:234:18)
at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:182:25
at Array.some ()
at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:177:40
at Array.forEach ()
at SourceDeployApi._handleDelete (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:176:37)
at SourceDeployApi.doDeploy (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:86:54)
at async SourceDeleteCommand.execLegacyCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\ToolbeltCommand.js:149:29)
at async SourceDeleteCommand.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\commands\force\source\delete.js:27:16)
at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\command\lib\sfdxCommand.js:81:40)
at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\config\lib\config.js:173:24)
at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\command\lib\main.js:27:9)
at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\command\lib\command.js:43:20)
at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)
Outer stack:
at Function.wrap (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\core\lib\sfdxError.js:171:27)
at SourceDeleteCommand.catch (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\ToolbeltCommand.js:248:46)
at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\command\lib\sfdxCommand.js:85:13)
at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\config\lib\config.js:173:24)
at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\command\lib\main.js:27:9)
at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@oclif\command\lib\command.js:43:20)
at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)

sfdx:SourceDeleteCommand ERROR [
sfdx:SourceDeleteCommand   '\u001b[1mERROR running force:source:delete: \u001b[22m',
sfdx:SourceDeleteCommand   "\u001b[31mCannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m",
sfdx:SourceDeleteCommand   '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m*** Internal Diagnostic \u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m\u001b[39m\n' +
sfdx:SourceDeleteCommand     "\u001b[31mTypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m\n" +
sfdx:SourceDeleteCommand     '\u001b[31m    at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:241:57\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at Array.forEach ()\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at AggregateSourceElement.markForDelete (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\aggregateSourceElement.js:234:18)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:182:25\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at Array.some ()\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:177:40\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at Array.forEach ()\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeployApi._handleDelete (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:176:37)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeployApi.doDeploy (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\lib\source\sourceDeployApi.js:86:54)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand.execLegacyCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\ToolbeltCommand.js:149:29)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\commands\force\source\delete.js:27:16)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\command\lib\sfdxCommand.js:81:40)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\config\lib\config.js:173:24)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\main.js:27:9)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\command.js:43:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31mOuter stack:\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at Function.wrap (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\core\lib\sfdxError.js:171:27)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeleteCommand.catch (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\salesforce-alm\dist\ToolbeltCommand.js:248:46)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@salesforce\command\lib\sfdxCommand.js:85:13)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Config.runCommand (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\config\lib\config.js:173:24)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Main.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\main.js:27:9)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Main._run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules\@oclif\command\lib\command.js:43:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m    at async Object.run (C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\dist\cli.js:32:20)\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m***\u001b[39m\n' +
sfdx:SourceDeleteCommand     '\u001b[31m\u001b[39m'
sfdx:SourceDeleteCommand ] +3s
sfdx:core TRACE Setup child 'Org' logger instance +2s
sfdx:core TRACE Setup child 'Aliases' logger instance +3ms
sfdx:Aliases INFO Reading config file: C:\Users\M98F393.sfdx\alias.json +5s
@oclif/config start postrun hook +5s
@oclif/config postrun hook done +51ms
sfdx:core TRACE Setup child 'AuthInfo' logger instance +154ms
sfdx:core TRACE Setup child 'crypto' logger instance +46ms
sfdx:crypto DEBUG retryStatus: undefined +5s
sfdx:core TRACE Setup child 'keyChain' logger instance +52ms
sfdx:keyChain DEBUG platform: win32 +5s
sfdx:core TRACE Setup child 'KeychainConfig' logger instance +46ms
sfdx:KeychainConfig INFO Reading config file: C:\Users\M98F393.sfdx\key.json +5s
sfdx:core TRACE Setup child 'AuthInfoConfig' logger instance +51ms
sfdx:AuthInfoConfig INFO Reading config file: C:\Users\M98F393.sfdx\cicd@nn.nl.json +5s
sfdx:AuthInfo INFO Updated auth info for username: cicd@nn.nl +5s
sfdx:AuthInfo INFO Returning fields for a connection using JWT config. +46ms
sfdx:core TRACE Setup child 'connection' logger instance +100ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://login.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +4s
sfdx:connection WARN [
sfdx:connection   'Failed to set the latest API version:',
sfdx:connection   { name: 'URL_NOT_RESET', errorCode: 'URL_NOT_RESET' }
sfdx:connection ] +165ms
sfdx:connection DEBUG request: {"method":"GET","url":"https://login.salesforce.com/services/data/v42.0/query?q=SELECT CreatedDate%2CEdition%2CExpirationDate FROM ActiveScratchOrg WHERE ScratchOrg%3D'00D7Y0000001cPN'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +45ms
lazy-require saving type cache to C:\Users\M98F393\AppData\Local\sfdx\module-types.json +9s
lazy-require no changes to save +2ms
sfdx:analytics Spawning "C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\bin\node.exe C:\Users\M98F393\AppData\Local\sfdx\client\7.84.2-a2868a68d5\node_modules@salesforce\plugin-analytics\processes\upload C:\Users\M98F393\AppData\Local\sfdx C:\Users\M98F393\AppData\Local\Temp\sfdx-analytics\analytics-0ddf430bd53be9cc908b05073da15e77f7007e87.log" +6s

Hi guys!
I have the same issue here.
sfdx force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
Executing: /home/xunda/.local/share/sfdx/client/bin/sfdx force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
Executing: SFDX_BINPATH=/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx.js force:source:delete --sourcepath /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls --noprompt --dev-debug
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5 +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/oclif.manifest.json +2ms
  @oclif/config:sfdx-cli using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/oclif.manifest.json +0ms
  @oclif/config reading user plugins pjson /home/xunda/.local/share/sfdx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/package.json +1ms
  @oclif/config loading plugins [
  '@oclif/plugin-autocomplete',
  '@oclif/plugin-commands',
  '@oclif/plugin-help',
  '@oclif/plugin-not-found',
  '@oclif/plugin-plugins',
  '@oclif/plugin-update',
  '@oclif/plugin-warn-if-update-available',
  '@oclif/plugin-which',
  '@salesforce/plugin-generator',
  '@salesforce/plugin-analytics',
  '@salesforce/plugin-config',
  '@salesforce/plugin-alias',
  '@salesforce/plugin-auth',
  '@salesforce/sfdx-trust',
  'salesforcedx'
] +10ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/package.json +13ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/package.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/package.json +2ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/package.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +6ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/.oclif.manifest.json +1ms
  @oclif/config:@salesforce/plugin-config loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands +0ms
  snapdragon:compiler initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/compiler.js +0ms
  snapdragon:parser initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/parser.js +1ms
  snapdragon:compiler initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/compiler.js +4ms
  snapdragon:parser initializing /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/snapdragon/lib/parser.js +1ms
  @oclif/config:@salesforce/plugin-config found commands [ 'config:get', 'config:list', 'config:set', 'config:unset' ] +13ms
  @oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/get.js +1ms
  sfdx:core TRACE Setup child 'core:config' logger instance +0ms
  @oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/list.js +326ms
  @oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/set.js +1ms
  @oclif/config:@salesforce/plugin-config require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/commands/config/unset.js +3ms
  @oclif/config:@salesforce/plugin-alias loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands +0ms
  @oclif/config:@salesforce/plugin-alias found commands [ 'alias:list', 'alias:set', 'alias:unset' ] +1ms
  @oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/list.js +0ms
  @oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/set.js +3ms
  @oclif/config:@salesforce/plugin-alias require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-alias/lib/commands/alias/unset.js +1ms
  @oclif/config:@salesforce/plugin-auth loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands +0ms
  @oclif/config:@salesforce/plugin-auth found commands [
  'auth:list',
  'auth:logout',
  'auth:device:login',
  'auth:jwt:grant',
  'auth:sfdxurl:store',
  'auth:web:login'
] +1ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/list.js +1ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/logout.js +3ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/device/login.js +12ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/jwt/grant.js +5ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/sfdxurl/store.js +3ms
  @oclif/config:@salesforce/plugin-auth require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-auth/lib/commands/auth/web/login.js +4ms
  @oclif/config:@oclif/plugin-autocomplete using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-commands using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-commands/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-help using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-not-found using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-plugins using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-plugins/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-update using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-which using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-which/oclif.manifest.json +0ms
  @oclif/config:@salesforce/plugin-analytics using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/oclif.manifest.json +0ms
  @oclif/config:@salesforce/sfdx-trust using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-trust/oclif.manifest.json +0ms
  @oclif/config:salesforcedx using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/oclif.manifest.json +0ms
  @oclif/config loading plugins [
  'salesforce-alm',
  '@salesforce/plugin-templates',
  '@salesforce/sfdx-plugin-lwc-test',
  '@salesforce/plugin-custom-metadata',
  '@salesforce/plugin-apex',
  '@salesforce/plugin-user',
  '@salesforce/plugin-schema',
  '@salesforce/plugin-limits'
] +550ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +530ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforcedx/package.json +0ms
  @oclif/config:@salesforce/plugin-generator using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/.oclif.manifest.json +0ms
  @oclif/config loading plugins [
  '@oclif/plugin-help',
  '@oclif/plugin-warn-if-update-available',
  '@oclif/plugin-not-found'
] +3ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +2ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/package.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/package.json +3ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/package.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/package.json +0ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/package.json +1ms
  @oclif/config reading core plugin /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/package.json +1ms
  @oclif/config:@oclif/plugin-help using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-generator/node_modules/@oclif/plugin-help/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/oclif.manifest.json +7ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/oclif.manifest.json +2ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +2ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +2ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/oclif.manifest.json +1ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/.oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config loadJSON /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +1ms
  @oclif/config:@salesforce/plugin-user loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands +0ms
  @oclif/config:@salesforce/plugin-user found commands [
  'force:user:create',
  'force:user:display',
  'force:user:list',
  'force:user:password:generate',
  'force:user:permset:assign'
] +1ms
  @oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/create.js +1ms
  @oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/display.js +3ms
  @oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/list.js +2ms
  @oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/password/generate.js +2ms
  @oclif/config:@salesforce/plugin-user require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-user/lib/commands/force/user/permset/assign.js +2ms
  @oclif/config:@salesforce/plugin-schema loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands +0ms
  @oclif/config:@salesforce/plugin-schema found commands [ 'force:schema:sobject:describe', 'force:schema:sobject:list' ] +1ms
  @oclif/config:@salesforce/plugin-schema require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands/force/schema/sobject/describe.js +0ms
  @oclif/config:@salesforce/plugin-schema require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-schema/lib/commands/force/schema/sobject/list.js +4ms
  @oclif/config:@salesforce/plugin-limits loading IDs from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/lib/commands +0ms
  @oclif/config:@salesforce/plugin-limits found commands [ 'force:limits:api:display' ] +1ms
  @oclif/config:@salesforce/plugin-limits require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-limits/lib/commands/force/limits/api/display.js +1ms
  @oclif/config:@salesforce/plugin-templates using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-templates/oclif.manifest.json +0ms
  @oclif/config:@salesforce/sfdx-plugin-lwc-test using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/sfdx-plugin-lwc-test/oclif.manifest.json +0ms
  @oclif/config:salesforce-alm using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/oclif.manifest.json +0ms
  @oclif/config:@salesforce/plugin-custom-metadata using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-custom-metadata/oclif.manifest.json +0ms
  @oclif/config:@salesforce/plugin-apex using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-apex/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-not-found using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-not-found/oclif.manifest.json +0ms
  @oclif/config:@oclif/plugin-warn-if-update-available using manifest from /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +0ms
  @oclif/config config done +75ms
  sfdx                        OS: +0ms
  sfdx                  platform: linux +1ms
  sfdx              architecture: x64 +1ms
  sfdx                   release: 5.4.0-60-generic +0ms
  sfdx                     shell: zsh +0ms
  sfdx                      NODE: +0ms
  sfdx                   version: 12.18.3 +0ms
  sfdx                       CLI: +0ms
  sfdx                   version: 7.84.2-a2868a68d5 +0ms
  sfdx                   channel: stable +0ms
  sfdx                       bin: sfdx +0ms
  sfdx                      data: /home/xunda/.local/share/sfdx +0ms
  sfdx                     cache: /home/xunda/.cache/sfdx +0ms
  sfdx                    config: /home/xunda/.config/sfdx +0ms
  sfdx                       ENV: +1ms
  sfdx              NODE_OPTIONS: <not set> +0ms
  sfdx   SFDX_AUTOUPDATE_DISABLE: <not set> +0ms
  sfdx              SFDX_BINPATH: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx +0ms
  sfdx        SFDX_COMPILE_CACHE: <not set> +0ms
  sfdx   SFDX_DISABLE_AUTOUPDATE: <not set> +0ms
  sfdx                  SFDX_ENV: development +0ms
  sfdx            SFDX_INSTALLER: true +0ms
  sfdx    SFDX_LAZY_LOAD_MODULES: true +0ms
  sfdx         SFDX_NPM_REGISTRY: <not set> +0ms
  sfdx           SFDX_REDIRECTED: 1 +0ms
  sfdx              SFDX_S3_HOST: <not set> +0ms
  sfdx  SFDX_UPDATE_INSTRUCTIONS: <not set> +0ms
  sfdx                      ARGS: +0ms
  sfdx                         0: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node +0ms
  sfdx                         1: /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/sfdx.js +0ms
  sfdx                         2: force:source:delete +0ms
  sfdx                         3: --sourcepath +0ms
  sfdx                         4: /home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls +0ms
  sfdx                         5: --noprompt +0ms
  lazy-require loading type cache from /home/xunda/.cache/sfdx/module-types.json +0ms
  lazy-require loaded type cache +1ms
  lazy-require parsing type cache +0ms
  lazy-require parsed type cache +1ms
  lazy-require enabled +0ms
  @oclif/config start init hook +14ms
  sfdx:@salesforce/plugin-config:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-config/lib/hooks/init/load_config_meta +0ms
  sfdx:core TRACE Setup child 'plugin-config:load_config_meta' logger instance +216ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for sfdx-cli +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-config +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-alias +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-auth +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-autocomplete +1ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-commands +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-help +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-not-found +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-plugins +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-update +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-warn-if-update-available +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @oclif/plugin-which +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-analytics +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-trust +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for salesforcedx +1ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-generator +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-user +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-schema +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-limits +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-templates +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/sfdx-plugin-lwc-test +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for salesforce-alm +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-custom-metadata +0ms
  sfdx:plugin-config:load_config_meta INFO No config meta found for @salesforce/plugin-apex +0ms
  sfdx:@oclif/plugin-update:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-update/lib/hooks/init +0ms
  sfdx:@oclif/plugin-warn-if-update-available:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update +0ms
  sfdx:@salesforce/plugin-analytics:hooks:init start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsInit.js +0ms
  sfdx:@salesforce/plugin-config:hooks:init done +35ms
  sfdx:@salesforce/plugin-analytics:hooks:init done +1ms
  sfdx:@oclif/plugin-update:hooks:init done +29ms
  sfdx:@oclif/plugin-warn-if-update-available:hooks:init done +6ms
  @oclif/config init hook done +37ms
  sfdx init version: @oclif/command@1.8.0 argv: [ 'force:source:delete', '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +0ms
  @oclif/config runCommand force:source:delete [ '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +4ms
  @oclif/config:salesforce-alm require /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js +61ms
  @oclif/config start prerun hook +181ms
  sfdx:@salesforce/plugin-analytics:hooks:prerun start /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/lib/hooks/analyticsPrerun.js +0ms
  sfdx:core TRACE Setup child 'Config' logger instance +227ms
  sfdx:core TRACE Setup child 'Config' logger instance +1ms
  sfdx:Config INFO Reading config file: /home/xunda/.sfdx/sfdx-config.json +0ms
  sfdx:Config INFO Reading config file: /home/xunda/projetos/rci-dx/.sfdx/sfdx-config.json +1ms
  sfdx:analytics Usage acknowledgement file already exists +0ms
  sfdx:analytics Using analytics logging file /tmp/sfdx-analytics/analytics-b9d8c8613ff6cfa7fe15352541e882093b9f0db3.log +1ms
  sfdx:@salesforce/plugin-analytics:hooks:prerun done +15ms
  @oclif/config prerun hook done +16ms
  sfdx:core TRACE Setup child 'SourceDeleteCommand' logger instance +9ms
  sfdx:force:source:delete init version: @oclif/command@1.8.0 argv: [ '--sourcepath', '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls', '--noprompt' ] +0ms
  sfdx:SourceDeleteCommand INFO Running command [SourceDeleteCommand] with flags [{"sourcepath":["/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls"],"noprompt":true,"loglevel":"warn","wait":{"quantity":33,"unit":0}}] and args [{}] +0ms
  sfdx:core TRACE Setup child 'Org' logger instance +5ms
  sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
  sfdx:Aliases INFO Reading config file: /home/xunda/.sfdx/alias.json +0ms
  sfdx:core TRACE Setup child 'AuthInfo' logger instance +2ms
  sfdx:core TRACE Setup child 'crypto' logger instance +2ms
  sfdx:crypto DEBUG retryStatus: undefined +0ms
  sfdx:core TRACE Setup child 'keyChain' logger instance +1ms
  sfdx:keyChain DEBUG platform: linux +0ms
  sfdx:core TRACE Setup child 'KeychainConfig' logger instance +4ms
  sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +0ms
  sfdx:core TRACE Setup child 'KeychainConfig' logger instance +2ms
  sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2ms
  sfdx:core TRACE Setup child 'AuthInfoConfig' logger instance +2ms
  sfdx:AuthInfoConfig INFO Reading config file: /home/xunda/.sfdx/wonder@user.com.json +0ms
  sfdx:AuthInfo INFO Updated auth info for username: wonder@user.com +0ms
  sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +0ms
  sfdx:core TRACE Setup child 'connection' logger instance +4ms
  sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +0ms
  sfdx:connection DEBUG response for org versions: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] +951ms
  sfdx:core TRACE Setup child 'SourceDeployApi' logger instance +1s
  sfdx:core TRACE Setup child 'SourceDeployApi' logger instance +2ms
  sfdx:SourceDeployApi DEBUG mode: 1 +0ms
  sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +1ms
  sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/projetos/rci-dx/sfdx-project.json +0ms
  sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +3ms
  sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +0ms
  sfdx:core TRACE Setup child 'SourceWorkspaceAdapter' logger instance +17ms
  sfdx:core TRACE Setup child 'SourcePathStatusManager' logger instance +19ms
  sfdx:core TRACE Setup child 'FileMoves' logger instance +1ms
  sfdx:core TRACE Setup child 'Workspace' logger instance +1ms
  sfdx:core TRACE Setup child 'Workspace' logger instance +1ms
  sfdx:Workspace INFO Reading config file: /home/xunda/projetos/rci-dx/.sfdx/orgs/wonder@user.com/sourcePathInfos.json +0ms
  sfdx:Workspace DEBUG Initializing stateless workspace +2ms
  sfdx:core TRACE Setup child 'SourceLocations' logger instance +6ms
  sfdx:SourceWorkspaceAdapter DEBUG this.wsPath: /home/xunda/projetos/rci-dx +0ms
  sfdx:SourceWorkspaceAdapter DEBUG this.defaultPackagePath: force-app +0ms
  sfdx:SourceWorkspaceAdapter DEBUG this.defaultSrcDir: /home/xunda/projetos/rci-dx/force-app/main/default +1ms
  sfdx:SourceWorkspaceAdapter DEBUG this.fromConvert: true +1ms
  sfdx:SourceWorkspaceAdapter DEBUG this.isStateless: true +0ms
  sfdx:core TRACE Setup child 'SourceUtil' logger instance +10ms
  sfdx:SourceUtil INFO Created output directory '/tmp/sdx_sourceDeploy_1612484823880' +0ms
  sfdx:core TRACE Setup child 'SourceElementsResolver' logger instance +5ms
  sfdx:SourceDeployApi INFO Deploying metadata in sourcepath '/home/xunda/projetos/rci-dx/force-app/main/default/classes/CreateOrSyncCaseRestServiceTest.cls' to org: 'wonder@user.com' +61ms
  sfdx:core TRACE Setup child 'SourceUtil' logger instance +713ms
  sfdx:core TRACE Setup child 'SfdxProjectJson' logger instance +3ms
  sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/.sfdx/sfdx-project.json +773ms
  sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
  sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +774ms
  sfdx:SfdxProjectJson WARN The config file: /home/xunda/.sfdx/sfdx-project.json is not schema valid
  sfdx:SfdxProjectJson Due to: Validation errors:
  sfdx:SfdxProjectJson should have required property 'packageDirectories' +6ms
  sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/.sfdx/sfdx-project.json +1ms
  sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
  sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +8ms
  sfdx:SfdxProjectJson WARN The config file: /home/xunda/.sfdx/sfdx-project.json is not schema valid
  sfdx:SfdxProjectJson Due to: Validation errors:
  sfdx:SfdxProjectJson should have required property 'packageDirectories' +3ms
  sfdx:SfdxProjectJson INFO Reading config file: /home/xunda/projetos/rci-dx/sfdx-project.json +0ms
  sfdx:SfdxProjectJson TRACE Setup child 'SchemaValidator' logger instance +1ms
  sfdx:SchemaValidator DEBUG Schema loaded for /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/schemas/sfdx-project.schema.json +4ms
ERROR running force:source:delete:  Cannot read property 'getElementsByMetadataFilePath' of undefined
*** Internal Diagnostic ***

TypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined
    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:241:57
    at Array.forEach (<anonymous>)
    at AggregateSourceElement.markForDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:234:18)
    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:182:25
    at Array.some (<anonymous>)
    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:177:40
    at Array.forEach (<anonymous>)
    at SourceDeployApi._handleDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:176:37)
    at SourceDeployApi.doDeploy (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:82:54)
    at async SourceDeleteCommand.execLegacyCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:149:29)
    at async SourceDeleteCommand.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js:27:16)
    at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)
    at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)
    at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)
    at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)
    at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)
Outer stack:
    at Function.wrap (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/core/lib/sfdxError.js:171:27)
    at SourceDeleteCommand.catch (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:248:46)
    at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:85:13)
    at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)
    at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)
    at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)
    at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)
******

  sfdx:SourceDeleteCommand ERROR [
  sfdx:SourceDeleteCommand   '\u001b[1mERROR running force:source:delete: \u001b[22m',
  sfdx:SourceDeleteCommand   "\u001b[31mCannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m",
  sfdx:SourceDeleteCommand   '\u001b[31m\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m*** Internal Diagnostic ***\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m\u001b[39m\n' +
  sfdx:SourceDeleteCommand     "\u001b[31mTypeError: Cannot read property 'getElementsByMetadataFilePath' of undefined\u001b[39m\n" +
  sfdx:SourceDeleteCommand     '\u001b[31m    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:241:57\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at Array.forEach (<anonymous>)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at AggregateSourceElement.markForDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/aggregateSourceElement.js:234:18)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:182:25\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at Array.some (<anonymous>)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:177:40\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at Array.forEach (<anonymous>)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeployApi._handleDelete (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:176:37)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeployApi.doDeploy (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/lib/source/sourceDeployApi.js:82:54)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand.execLegacyCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:149:29)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/commands/force/source/delete.js:27:16)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:81:40)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31mOuter stack:\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at Function.wrap (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/core/lib/sfdxError.js:171:27)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at SourceDeleteCommand.catch (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/salesforce-alm/dist/ToolbeltCommand.js:248:46)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async SourceDeleteCommand._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/command/lib/sfdxCommand.js:85:13)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Config.runCommand (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/config/lib/config.js:173:24)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Main.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/main.js:27:9)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Main._run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@oclif/command/lib/command.js:43:20)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m    at async Object.run (/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/dist/cli.js:32:20)\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m******\u001b[39m\n' +
  sfdx:SourceDeleteCommand     '\u001b[31m\u001b[39m'
  sfdx:SourceDeleteCommand ] +2s
  sfdx:core TRACE Setup child 'Org' logger instance +24ms
  sfdx:core TRACE Setup child 'Aliases' logger instance +1ms
  sfdx:Aliases INFO Reading config file: /home/xunda/.sfdx/alias.json +2s
  @oclif/config start postrun hook +2s
  @oclif/config postrun hook done +1ms
  sfdx:core TRACE Setup child 'AuthInfo' logger instance +6ms
  sfdx:core TRACE Setup child 'crypto' logger instance +2ms
  sfdx:crypto DEBUG retryStatus: undefined +2s
  sfdx:core TRACE Setup child 'keyChain' logger instance +2ms
  sfdx:keyChain DEBUG platform: linux +2s
  sfdx:core TRACE Setup child 'KeychainConfig' logger instance +1ms
  sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2s
  sfdx:core TRACE Setup child 'KeychainConfig' logger instance +3ms
  sfdx:KeychainConfig INFO Reading config file: /home/xunda/.sfdx/key.json +2ms
  sfdx:AuthInfo INFO Updated auth info for username: wonder@user.com +2s
  sfdx:AuthInfo INFO Returning fields for a connection using OAuth config. +0ms
  sfdx:core TRACE Setup child 'connection' logger instance +3ms
  sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +1s
  sfdx:connection DEBUG response for org versions: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] +731ms
  sfdx:connection DEBUG request: {"method":"GET","url":"https://wonder--environment.my.salesforce.com/services/data/v51.0/query?q=SELECT%20CreatedDate%2CEdition%2CExpirationDate%20FROM%20ActiveScratchOrg%20WHERE%20ScratchOrg%3D'00D2f0000000uoe'","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +2ms
  lazy-require saving type cache to /home/xunda/.cache/sfdx/module-types.json +4s
  lazy-require no changes to save +1ms
  sfdx:analytics Spawning "/home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/bin/node /home/xunda/.local/share/sfdx/client/7.84.2-a2868a68d5/node_modules/@salesforce/plugin-analytics/processes/upload /home/xunda/.cache/sfdx /tmp/sfdx-analytics/analytics-b9d8c8613ff6cfa7fe15352541e882093b9f0db3.log" +3s

Exact same issue here.
sfdx --version returns sfdx-cli/7.84.2-a2868a68d5 win32-x64 node-v12.18.3
VS Code Extension is version 50.16.0
Steps to repro:

Make a dev sandbox
Run sfdx update
Open VSCode, and run the following commands:
SFDX: Create a project with manifest -> Standard
SFDX: authorise an org -> Sandbox
Right-click on package.xml -> SFDX: retrieve source in manifest from org
Right-click on an Apex class file -> SFDX: delete from project and org
VSCode's output panel shows ERROR running force:source:delete:  Cannot read property 'getElementsByMetadataFilePath' of undefined

Workaround: downgrade your plugin sfdx plugin:install salesforcedx@50.12.0
As I can see, 50.12.0 is the last properly working version of salesforcedx

sfdx plugin:install salesforcedx@50.12.0

FYI there's a typo in the command. should be-
sfdx plugins:install salesforcedx@50.12.0

FYI there's a typo in the command.

Fixed. Thanks :)

Hey there,
any updates regarding this issue?

No update other than I increased the priority of this since it's a regression.  Working on a fix asap.

Is there any workaround in the meantime?

A couple of posts up there is a workaround, install other version of dx. I have implemented a workaround in our pipeline with a good old destructive package and a mdapi deploy command. Works, but i'm not really happy with the solution :)

Having the same issue. Can confirm that downgrading to 50.12.0 resolved it as a workaround.

Same issue here. I'm also unable to re-deploy existing pages. The deploy error tells me "That page name is already in use, please choose a different one." This just started happening.

Hi @pbergner @Dane86NN @mwhisker if you have a npm based installation you can run npm install sfdx-cli@latest-rc -g and that version should contain a fix for the source:delete issue
@volkanunsal that sounds like a different issue be best tracked under a new issue

closing this since the fix shipped.

authors: Dane86NN WillieRuemmele florian-interaktiv jakubburkiewicz mentux mshanemc mwanchap mwhisker pbergner samhowle shetzel volkanunsal


text:
Unable to get Junit test result format when running Apex tests

Summary
Error "Invalid time value" occurs when executing force:apex:test:run or force:apex:test:report with the result format specified as -r junit
Steps To Reproduce:
MyTest.cls
@IsTest(isParallel = true)
class MyTest {
    @IsTest
    static void shouldFail() {
        System.assertEquals(1, 1 + 1);
    }

    @IsTest
    static void shouldPass() {
        System.assertEquals(2, 1 + 1);
    }
}

Run apex test and specify result format as junit:
sfdx force:apex:test:run --wait -1 -r junit -t MyTest

Expected result
Expected test results written to standard output in Junit format
Actual result
Results are output as JSON and error occurs
$ sfdx force:apex:test:run --wait -1 -r junit -t MyTest
{
  "summary": {
    "outcome": "Failed",
    "testsRan": 2,
    "passing": 1,
    "failing": 1,
    "skipped": 0,
    "passRate": "50%",
    "failRate": "50%",
    "skipRate": "0%",
    "testStartTime": "Thu Jun 24 2021 12:30:14 p.m.",
    "testExecutionTimeInMs": 34,
    "testTotalTimeInMs": 34,
    "commandTimeInMs": 287,
    "hostname": "https://example--alandev01.my.salesforce.com",
    "orgId": "00D1F000000YO2SUAW",
    "username": "alan.morey@example.net.alandev01",
    "testRunId": "7071F0000208syH",
    "userId": "00530000003ZbzsAAC"
  },
  "tests": [
    {
      "id": "07M1F00000Mb95RUAR",
      "queueItemId": "7091F000002PGCzQAO",
      "stackTrace": "Class.Assert.fail: line 95, column 1\nClass.Assert.failNotEquals: line 145, column 1\nClass.Assert.equals: line 127, column 1\nClass.Assert.equals: line 108, column 1\nClass.MyTest.shouldFail: line 5, column 1",
      "message": "System.AssertException: Assertion Failed: Expected: <1>, Actual: <2>",
      "asyncApexJobId": "7071F0000208syHQAQ",
      "methodName": "shouldFail",
      "outcome": "Fail",
      "apexLogId": null,
      "apexClass": {
        "id": "01p1F00000JCxPPQA1",
        "name": "MyTest",
        "namespacePrefix": null,
        "fullName": "MyTest"
      },
      "runTime": 14,
      "testTimestamp": "2021-06-24T19:30:15.000+0000",
      "fullName": "MyTest.shouldFail",
      "diagnostic": {
        "exceptionMessage": "System.AssertException: Assertion Failed: Expected: <1>, Actual: <2>",
        "exceptionStackTrace": "Class.Assert.fail: line 95, column 1\nClass.Assert.failNotEquals: line 145, column 1\nClass.Assert.equals: line 127, column 1\nClass.Assert.equals: line 108, column 1\nClass.MyTest.shouldFail: line 5, column 1",
        "className": "Assert",
        "compileProblem": "",
        "lineNumber": 95,
        "columnNumber": 1
      }
    },
    {
      "id": "07M1F00000Mb95SUAR",
      "queueItemId": "7091F000002PGCzQAO",
      "stackTrace": null,
      "message": null,
      "asyncApexJobId": "7071F0000208syHQAQ",
      "methodName": "shouldPass",
      "outcome": "Pass",
      "apexLogId": null,
      "apexClass": {
        "id": "01p1F00000JCxPPQA1",
        "name": "MyTest",
        "namespacePrefix": null,
        "fullName": "MyTest"
      },
      "runTime": 20,
      "testTimestamp": "2021-06-24T19:30:38.000+0000",
      "fullName": "MyTest.shouldPass"
    }
  ]
}
Encountered an error when processing test results
RangeError: Invalid time value
    at Date.toISOString (<anonymous>)
    at JUnitReporter.format (/home/alan/.local/share/sfdx/client/7.107.0-621a7d2/node_modules/@salesforce/apex-node/lib/src/reporters/junitReporter.js:19:65)
    at Run.logJUnit (/home/alan/.local/share/sfdx/client/7.107.0-621a7d2/node_modules/@salesforce/plugin-apex/lib/commands/force/apex/test/run.js:164:30)
    at Run.<anonymous> (/home/alan/.local/share/sfdx/client/7.107.0-621a7d2/node_modules/@salesforce/plugin-apex/lib/commands/force/apex/test/run.js:83:30)
    at Generator.next (<anonymous>)
    at fulfilled (/home/alan/.local/share/sfdx/client/7.107.0-621a7d2/node_modules/@salesforce/plugin-apex/node_modules/tslib/tslib.js:112:62)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Additional information
Same result occurs when using force:apex:test:report
sfdx force:apex:test:report --wait -1 -r junit -i 7071F0000208syH

If the output directory flag is also specified, the output is slightly different but the result is still an error.
$ sfdx force:apex:test:run -r junit -w -1 -t MyTest -d test-results
WARNING: WARNING: In the Summer ’21 release, we'll rename or remove some of the output files that are created when you run force:apex:test:run or force:apex:test:report with the --outputdir (-d) parameter.  This breaking change could impact your CI/CD scripts if they reference specific filenames. See https://sfdc.co/apex-test-updates for details

ERROR running force:apex:test:run:  Invalid time value

No output files are written and the output directory test-results does not gets created.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.107.0 linux-x64 node-v14.17.1
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
 sfdx plugins --core
@alan-morey/sfdx-plugin 0.0.0 (link) /home/alan/repos/alan-morey-sfdx-plugin
@oclif/plugin-autocomplete 0.3.0
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.2 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-update 1.4.0-3 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-diff 0.0.6
@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
@salesforce/sfdx-scanner 2.9.2
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.10 (core)
apex 0.2.2 (core)
apexlink 1.3.2
auth 1.6.1 (core)
config 1.2.8 (core)
custom-metadata 1.0.12 (core)
data 0.4.12 (core)
generator 1.1.7 (core)
gr-sfdx-plugin 0.0.0 (link) /home/alan/repos/salesforce/gr-sfdx-plugin
limits 1.2.1 (core)
org 1.6.7 (core)
salesforce-alm 52.0.2 (core)
schema 1.0.7 (core)
sfdx-cli 7.107.0 (core)
telemetry 1.2.2 (core)
templates 52.0.0 (core)
user 1.3.0 (core)

OS and version: Ubuntu 18.04.5 LTS

@alan-morey are you still facing this issue with a current CLI? I tried to reproduce this issue just now on my mac with the CLI version 7.126.0, and the junit looks good for me (test code snippet failing as expected).

@randi274 Yes, still facing this issue. Yesterday I upgraded to latest  and still problem persists
 CLI Version :
        sfdx-cli/7.127.0

 Architecture:
        linux-x64

 Node Version :
        node-v14.18.1

 Plugin Version:
        @oclif/plugin-autocomplete 0.3.0 (core)
        @oclif/plugin-commands 1.3.0 (core)
        @oclif/plugin-help 3.2.5 (core)
        @oclif/plugin-not-found 1.2.4 (core)
        @oclif/plugin-plugins 1.10.2 (core)
        @oclif/plugin-update 1.5.0 (core)
        @oclif/plugin-warn-if-update-available 1.7.0 (core)
        @oclif/plugin-which 1.0.3 (core)
        @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
        alias 1.1.22 (core)
        apex 0.3.0 (core)
        auth 1.7.5 (core)
        config 1.2.47 (core)
        custom-metadata 1.0.12 (core)
        data 0.6.4 (core)
        generator 1.2.1 (core)
        gr-sfdx-plugin 0.0.0 (link) /home/alan.morey/repos/salesforce/gr-sfdx-plugin
        limits 1.2.3 (core)
        org 1.9.0 (core)
        salesforce-alm 53.4.2 (core)
        schema 1.0.10 (core)
        sfdx-cli 7.127.0 (core)
        source 1.4.0 (core)
        telemetry 1.2.8 (core)
        templates 52.6.0 (core)
        trust 1.0.11 (core)
        user 1.5.2 (core)

 OS and Version:
        Linux 5.4.0-89-generic

Taking a deeper look into this, I have an actual JSON response example as follows:
{
  "summary": {
    "outcome": "Passed",
    "testsRan": 2,
    "passing": 2,
    "failing": 0,
    "skipped": 0,
    "passRate": "100%",
    "failRate": "0%",
    "skipRate": "0%",
    "testStartTime": "Tue Nov 23 2021 9:19:29 a.m.",
    "testExecutionTimeInMs": 70,
    "testTotalTimeInMs": 70,
    "commandTimeInMs": 3146,
    "hostname": "https://example--devint.my.salesforce.com",
    "orgId": "00D7j000000H2CDEA0",
    "username": "automata@example.net.devint",
    "testRunId": "7077j00001fzuLf",
    "userId": "00530000003aGEGAA2"
  },
  "tests": [
    {
      "id": "07M7j000006OhAfEAK",
      "queueItemId": "7097j000000lAOcAAM",
      "stackTrace": null,
      "message": null,
      "asyncApexJobId": "7077j00001fzuLfAAI",
      "methodName": "of_shouldGenerateKeyForComponentsTreatingNullAsEmptyString_whenGivenNullComponents",
      "outcome": "Pass",
      "apexLogId": null,
      "apexClass": {
        "id": "01p14000001G6QZAA0",
        "name": "CompositeKeyTest",
        "namespacePrefix": null,
        "fullName": "CompositeKeyTest"
      },
      "runTime": 21,
      "testTimestamp": "2021-11-23T17:19:30.000+0000",
      "fullName": "CompositeKeyTest.of_shouldGenerateKeyForComponentsTreatingNullAsEmptyString_whenGivenNullComponents"
    },
    {
      "id": "07M7j000006OhAgEAK",
      "queueItemId": "7097j000000lAOcAAM",
      "stackTrace": null,
      "message": null,
      "asyncApexJobId": "7077j00001fzuLfAAI",
      "methodName": "of_shouldGenerateKeyForComponents_whenGivenArguments",
      "outcome": "Pass",
      "apexLogId": null,
      "apexClass": {
        "id": "01p14000001G6QZAA0",
        "name": "CompositeKeyTest",
        "namespacePrefix": null,
        "fullName": "CompositeKeyTest"
      },
      "runTime": 49,
      "testTimestamp": "2021-11-23T17:19:51.000+0000",
      "fullName": "CompositeKeyTest.of_shouldGenerateKeyForComponents_whenGivenArguments"
    }
  ]
}

I see summary.testStartTime seems to have different date/time format "Tue Nov 23 2021 9:19:29 a.m." when compared to a test result, tests[0].testTimestamp has "2021-11-23T17:19:30.000+0000".
Based on the error I am receiving:
Encountered an error when processing test results
RangeError: Invalid time value
    at Date.toISOString (<anonymous>)
    at JUnitReporter.format (/home/alan.morey/.npm-packages/lib/node_modules/sfdx-cli/node_modules/@salesforce/apex-node/src/reporters/junitReporter.ts:32:61)
    at Run.logJUnit (/home/alan.morey/.npm-packages/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/src/commands/force/apex/test/run.ts:348:26)
    at Run.<anonymous> (/home/alan.morey/.npm-packages/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/src/commands/force/apex/test/run.ts:240:16)
    at Generator.next (<anonymous>)
    at fulfilled (/home/alan.morey/.npm-packages/lib/node_modules/sfdx-cli/node_modules/@salesforce/plugin-apex/node_modules/tslib/tslib.js:112:62)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Having a look at the junitReport.ts:32 source:
output += `timestamp="${new Date(summary.testStartTime).toISOString()}" `;

We can see that summary.testStartTime is passed to Date constructor but since the date is not valid for parsing, when .toISOString() is called on that date instance the error is raised.
Maybe when the JSON response is being built, it's not correctly formatting the summary.testStartTime same as the testTimestamp?

Thanks for the callout on the time value you were using @alan-morey, that does seem to be the root cause here! I stubbed out the value Tue Nov 23 2021 9:19:29 a.m. in a local environment, and was able to generate the error. It seems like the Date class is not happy with converting that format. On a mac, the same date would read as Tue Nov 23 2021 9:19:29 PM, and if I convert a.m. -> PM it works fine. That should be enough info to log it as a bug and into the backlog. We'll update here once we've got a fix on hand for it!

Thanks for the info @alan-morey, @randi274
The issue seems to be with https://github.com/forcedotcom/salesforcedx-apex/blob/22c9014ab1c6d5af9df385e3221827b72a5bdaa7/packages/apex-node/src/utils/dateUtil.ts#L21

I was able to trigger the error by configuring the locale time string to return with a.m., p.m. - e.g. using Ireland english locale with a 12 hour clock seems to do it
date.toLocaleTimeString('en-ie', { hourCycle: 'h12'})

The reason behind the error occurring in linux only might be because the linux machine has a different locale and time setting.

Strangely this issue doesn't occur with node12 for some reason - just FYI

$ docker run -it --rm node:12
Welcome to Node.js v12.22.7.
Type ".help" for more information.
>  date = new Date()
2021-12-18T04:29:19.372Z
> testStartTime=`${date.toDateString()} ${date.toLocaleTimeString('en-ie', { hourCycle: 'h12'})}`
'Sat Dec 18 2021 4:29:19 AM'
> new Date(testStartTime).toISOString()
'2021-12-18T04:29:19.000Z'

But the Invalid time value error occurs with node14

$ docker run -it --rm node:14
Welcome to Node.js v14.18.2.
Type ".help" for more information.
> date = new Date()
2021-12-18T04:30:53.902Z
> testStartTime=`${date.toDateString()} ${date.toLocaleTimeString('en-ie', { hourCycle: 'h12'})}`
'Sat Dec 18 2021 4:30:53 a.m.'
> new Date(testStartTime).toISOString()
Uncaught RangeError: Invalid time value
    at Date.toISOString (<anonymous>)

A potential solution would be to force the locale to en-US. This should still respect the timezone and only affect the format. @alan-morey Can you please check if the following code works as expected in the linux machine where the error occurs? I will also try to get hold of a linux vm/container, set locale and test it out.

> date = new Date()
2021-12-18T04:30:53.902Z
> testStartTime=`${date.toDateString()} ${date.toLocaleTimeString('en-US')}`
'Sat Dec 18 2021 4:30:53 AM'
> new Date(testStartTime).toISOString()
'2021-12-18T04:30:53.000Z'

Another option would be to use UTC time string, but they are not as readable - so would prefer the above solution

> testStartTime=`${date.toDateString()} ${date.toTimeString()}`
'Sat Dec 18 2021 04:30:53 GMT+0000 (Coordinated Universal Time)'
> new Date(testStartTime).toISOString()
'2021-12-18T04:30:53.000Z'

@alan-morey Can you please post the output of the locale command from the linux machine with the issue so that I can set the same locale and try to replicate the issue.

@mohanraj-r
My machine locale is as follows:
$ locale
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=

@mohanraj-r  When the output is to JSON, I think the testStartTime should be formatted as an ISO datetime string, probably using UTC too. To remain consistent with other fields that are datetime strings in the test result. This way all datetimes in a JSON output are given in a predictable format, making it easier for consuming and deserializing back to to some kind of Date or DateTime objects in target programming languages.
However, if the output is just plain text to standard output, then using the user's locale does make sense for more human friendly reading.

Agree @alan-morey was thinking the same
locale formatted doesn't seem to belong in JSON / Junit format. It probably belongs in human reporter. ISO would make sense for JSON output.
I am finally able to reproduce the error by setting the locale in env (even in osx)
# Works without error with default locale (en_US)
$ node -e 'console.log(new Date(new Date().toLocaleString()))'
2021-12-21T03:46:54.000Z
# Errors when locale is set to `en_CA`
$ LC_ALL=en_CA node -e 'console.log(new Date(new Date().toLocaleString()))'
Invalid Date

I will do some more final verification and start on a fix.

Hi there,
Was this ever resolved? I am finding the same issue in CICD (Linux machine).
Command:
sfdx force:apex:test:run -t  -r junit -d
Output:
ERROR running force:apex:test:run:  Invalid time value
Seems to be working fine on my Mac, just on CICD it's not working for the last week (Linux based machines)

Fixed the issue, I started using a docker container recently and noticed the previous comments about Language and Locale not being set. Setting these environment variables in the image fixed the issue for me too!
For those on linux based CICD or using containers with SFDX CLI. Ensure locale is being set using something like this:
`
RUN apt-get install -y locales &&
sed -i '/en_GB.UTF-8/s/^# //g' /etc/locale.gen &&
locale-gen
ENV LANG="en_GB.UTF-8"
ENV LC_COLLATE="en_GB.UTF-8"
ENV LC_CTYPE="en_GB.UTF-8"
ENV LC_MESSAGES="en_GB.UTF-8"
ENV LC_MONETARY="en_GB.UTF-8"
ENV LC_NUMERIC="en_GB.UTF-8"
ENV LC_TIME="en_GB.UTF-8"
`

Any idea about how to fix that with an alpine linux image ?

For those who are still stuck, I made a workaround in sfdx-hardis latest docker image
It contains sfdx-cli & other plugins
If you have your own dockerfile, feel free to copy my ugly hack at the end of the Dockerfile -> https://github.com/hardisgroupcom/sfdx-hardis/blob/main/Dockerfile

Closing this since it should be fixed with https://github.com/forcedotcom/salesforcedx-apex/pull/334
Please re-open if you're still seeing the issue after updating to v2.1.2

source: gharchive/issue

authors: HyruleConsulting alan-morey mohanraj-r nvuillam randi274 shetzel

repo: forcedotcom/salesforcedx-apex

license_type: permissive

license_source: github-api


text:
SOQL Builder: Support NULL checks and/or empty string

Summary
I am trying to create a query using the SOQL builder in VSCode and I cannot find a way to filter by null values.
If I try to write null or NULL, it tells me that I need to enclose it in single quotes.

If I try to write '' (empty string), it puts the value in the query as '\'\''

None of the operators seem to indicate is null, either.

Steps To Reproduce:

Open the SOQL Builder
Set the From, Fields, Order By, etc.
Add a filter, try to add null as the value in the box.

Expected result
I would expect to either have an is null/is not null operator, or allow to set the value to null in the filter value section.
Actual result
I am not able to filter results by null values.
Salesforce Extension Version in VS Code: v57.7.0
SFDX CLI Version: sfdx-cli/7.194.1 darwin-x64 node-v18.13.0
OS and version: macOS 13.2.1

Is there another issue that is related to this that IS being worked on? This is a very important feature to have for performing SOQL queries. I'm shocked that it still isn't supported in the extension.

@simonds Thanks for bringing this to our attention again, @djs5008 sorry for the delay, this slipped through the cracks!
We are working on a fix for this now, I'll update this issue with progress soon.

@djs5008 @simonds Thanks for your patience here, happy to say this should be fixed in version 61.1.2 of the SF extensions. Please let me know if there are any issues, I am going to close this issue.

authors: djs5008 jonnyhork simonds

repo: forcedotcom/soql-tooling


text:
Dcom

Is it possible to modify these com code examples into DCOM.Any Suggestion can i have in csharp or c++

If you're referring to distributed COM, meaning COM calls over a network, then I have never tried it myself. I therefore cannot answer your question. Sorry.

authors: elagrija forderud

repo: forderud/ComSamples

license: MIT


text:
🛑 2am.top is down

In 515cf33, 2am.top (https://2am.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 2am.top is back up in 1ea6ea6 after 26 days, 17 hours, 52 minutes.


text:
Fix variable name in comment of Result#recover function

The even better solution would probably be to rename the function argument from errorToValue to failureToValue because the whole Result4k type does not use the term error, however I was not sure if that may be a breaking change that we do not want to introduce so it's a start to at least fix the reference in the comment.

I think we should actually do the breaking change - it's quite unlikely to actually bust much as there is only a single parameter so the likelihood of people naming it is low :)

source: gharchive/pull-request

authors: christxph daviddenton

repo: fork-handles/forkhandles


text:
侧滑返回后怎么监听回调

之前有些页面是自定义的导航栏和返回按钮，在返回按钮的事件中执行了一些必要操作，现在侧滑返回时怎么办？

(void)didMoveToParentViewController:(UIViewController*)parent; 系统提供的API

authors: XiangWen splsylp

repo: forkingdog/FDFullscreenPopGesture

license: mit

license_source: bigquery


text:
Error in callback for watcher when dynamically load model

Hi!
I have an app:
new Vue({
    el: '#app',
    data: { forms: { mainform: {} } }
});

and component
<mainform v-bind:form="forms.mainform"></mainform>

which is:
{
    props: ['form'],
    template: `
    <form v-if="validForm" ref="mainForm">
        <formly-form :form="form.form" :model="form.model" :fields="form.fields"></formly-form>
        <button>Submit</button>
    </form>`,
   computed: {
       validForm: function(){ return this.form.fields; }
   },
}

Then in some part of code I do:
axios.get('/api/forms/' + formid).then(function(resp){
    Vue.set(vm.$root.forms, 'mainform', resp.data);
});

Server reply is in json:
{
    'model': { 'name': 'qwe',},
    'form': {},
    'fields': [{
        'key': 'name',
        'type': 'input',
        'required': True,
        'templateOptions': {
            'label': 'label for name',
        }
    }]
}

The first time I do axios.get form is set up correct, but when I try to update it to another form from server I get an error:
[Vue warn]: Error in callback for watcher "form.$errors": "TypeError: can't convert undefined to object"

found in

---> <FormlyForm>
       <Mainform>
         <Root> vue.js:597:7
TypeError: "can't convert undefined to object"
	created http://localhost:3000/static/vendor/vue-formly/vue-formly.js:7:4424
	run http://localhost:3000/static/vendor/vue/vue.js:3231:11
	flushSchedulerQueue http://localhost:3000/static/vendor/vue/vue.js:2981:5
	nextTick http://localhost:3000/static/vendor/vue/vue.js:1839:9
	flushCallbacks http://localhost:3000/static/vendor/vue/vue.js:1760:14

Hmm, this sounds similar to #38 if it were me I would try a few different things:

force the form to re-render when you change the fields. You could do something like using a dynamic key, seen here: https://codepen.io/anon/pen/NOEorm which means that whenever you change the fields it will re-run all the startup methods that set the required data
use a v-if="!loading" statement so that the form isn't trying to process things while you change it's data.
instead of overwriting the fields etc, use a different form, e.g:

<template>
<mainform :form="forms[currentForm]"></mainform>
</template>
<script>
export default {
   data(){
      return {
         forms: {
            mainForm: {...}
         },
         currentForm: 'mainForm'
      }
   },
   methods: {
      loadNewForm(newForm){
         axios.get(`/someroute/${newForm}`)
            .then(response => {
               this.$set(this.forms, newForm, response.data)
               this.currentForm = newForm
            })
      }
   }
}
</script>

If you use number 3, then you wouldn't have to use number 1, instead make the key something like: form-${formKey} or something like that.
Does that make sense? Hopefully it helps. I've just assumed a few parts of functionality ( such as loading a new form ) but that might help you to re-work it for your needs.

Thanx!
For me 1 + 3 methods worked together:

I use this.forms as a dict for all forms
I use this.currentForm as a :key for <formly-form>
When fetched from server I update only this.forms[this.currentForm].fields (instead of fields + form + model) if the form already exists in this.forms

Though if I skip 2 or 3 step I get an error

authors: matt-sanders shsmad

repo: formly-js/vue-formly


text:
Triage impact related to CAI field name changes for sourceRange/sourceRanges

[ ] Please determine and open issues if there are changes required for Forseti CAI Inventory Image
[ ] Please determine and open issues if there are changes required for Forseti Firewall and other scanners
[ ] Please determine and open issues if there are changes required in the Policy Library

Hello Cloud Asset Inventory Customer,  We are writing to let you know that Cloud Asset Inventory is releasing some asset field name updates starting on September 10, 2019. Initially, both updated field names and existing names will be returned together. The previous naming of the re-named asset fields will no longer be returned in about 6 months. We suggest you review whether these field names are compatible with your tools to avoid possible service disruption.  What do I need to know?  We are making these name changes because in a number of Cloud Asset Inventory resources, some field names in the asset returned by Cloud Asset Inventory differ from their corresponding public APIs. Take the compute.googleapis.com/Firewall asset for example:                   Cloud Asset Inventory export result   firewalls.get API result       "sourceRange":["10.128.0.0/9"]}   "sourceRanges":["10.128.0.0/9"]}       In order to be consistent with each service’s public API format, we are updating those inconsistent field names. You can review the mapping table for more information.  We are making this change in phases so you will have time to adjust to the updated field names:  Phase 1  From September 10, 2019, we will be adding the updated field names alongside with existing fields. The content of the fields is identical to the current ones, only field names will be modified. We expect this change to be backwards compatible for all our customers.  Phase 2  We will remove the fields with deprecated names in about 6 months, we will send you another notification to remind you of the deprecation.  What do I need to do?  Although we are expecting the asset field names change to be backwards compatible with all our customers, please review the list of updated asset field names.  If you have any current data processing with dependencies on any field names to be updated, you should update these fields as soon as possible to avoid possible service disruption.  If you have any questions or require assistance, please reply to this email to contact Google Cloud Support.  Thank you for being a valued Cloud Asset Inventory customer.
Cloud Asset Inventory export result | firewalls.get API result | "sourceRange":["10.128.0.0/9"]} | "sourceRanges":["10.128.0.0/9"]}

Cloud Asset Inventory export result | firewalls.get API result
"sourceRange":["10.128.0.0/9"]} | "sourceRanges":["10.128.0.0/9"]}

Link to the field name announcement documenting the changes that were made live on 9/10/2019.

authors: dekuhn gkowalski-google

repo: forseti-security/forseti-security


text:
add target="_blank"

默认在新标签打开文章

@ykqmain 我把这个做成配置，默认还是不要新标签打开

authors: forsigner ykqmain

repo: forsigner/fexo


text:
Breaks and Lunch parts show up multiple times in track

e.g. Lunch Lunch Lunch Lunch. - Once is enough, I guess.

Hehe... Yeah one is enough... Already working on this

Fixed !

authors: batraabhishek mariobehling

repo: fossasia/fossasia-companion-android


text:
chore: Add spotless plugin

Fixes #1716
Checklist:

[x] I have checked for PMD and check-style issues
[x] I have read the Contribution & Best practices Guide and my PR follows them.
[x] My branch is up-to-date with the Upstream development branch.

Changes: Added the spotless plugin according to gradle documentation

@liveHarshit did what needed to be done. Please review now.

@iamareebjamal Can you please tell what kind of changes should I do?

This is formatting the project with 2 spaces. Have you seen a Java project with 2 spaces?

@iamareebjamal @liveHarshit how can I solve these circleci issues? Please review.

Check unit tests

com.eventyay.organizer.core.event.list.EventsViewModelTest > shouldLoadEventsSuccessfully FAILED
    java.lang.ExceptionInInitializerError
        Caused by: java.lang.NullPointerException at EventsViewModelTest.java:46

com.eventyay.organizer.core.event.list.EventsViewModelTest > shouldShowEventError FAILED
    java.lang.NoClassDefFoundError

com.eventyay.organizer.core.event.list.EventsViewModelTest > shouldRefreshEventsSuccessfully FAILED
    java.lang.NoClassDefFoundError

454 tests completed, 3 failed

> Task :app:testPlayStoreDebugUnitTest FAILED

FAILURE: Build failed with an exception.

@naman653 I have restarted the build, it should pass.

@ShridharGoel what was causing the issue?

what was causing the issue?

@naman653 Sometimes CircleCI fails for the first time due to some tests but passes when the build is restarted.
@iamareebjamal Any idea why this happens?

The wrong formatting is in the cases when the length of a line is exceeded which is by default is 120 characters per line.

The wrong formatting is in the cases when the length of a line is exceeded which is by default is 100 characters per line.

}, throwable -> error.setValue(
@naman653 This doesn't exceed 100 characters. Should have been in one line instead of three lines.

Can you suggest something anything to make this appropriate. I couldn't find anything else.

@iamareebjamal we can close this

authors: ShridharGoel adityastic iamareebjamal liveHarshit naman653

repo: fossasia/open-event-organizer-android


text:
Adds OpenTech Summit 2016 sample to overview site

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.

Short description of what this resolves:
Adds OpenTech Summit 2016 sample to overview site.
Screenshot:

Server Link: https://open-event-webapp.herokuapp.com/
API Endpoint: https://raw.githubusercontent.com/agbilotia1998/open-event/ots16/sample/OTS16
Fixes #1998

@geekyd @ParthS007 @shubham3211 please review, we need to merge https://github.com/fossasia/open-event/pull/283 before merging this PR. Thanks :)

can you please check why the build is failing @agbilotia1998  ?

@aayusharora we need to merge  fossasia/open-event#283 before mergin this PR  :)

@geekyd @ParthS007 please review https://github.com/fossasia/open-event/pull/285

repo: fossasia/open-event-webapp