Bug: Error: Cannot find loader for bootstrap
Status: RESOLVED
Priority: --
Resolution: WONTFIX
Created: 2020-06-11 17:34:31+00:00
Resolved: 2021-04-29 10:11:39+00:00

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

I'm trying to debug a freeze in Thunderbird Conversations and one of the errors I get in the output is quite unusual:

```
DebuggeeWouldRun: debuggee `resource://devtools/shared/base-loader.js:383' would run builtin-modules.js:221:11
ReferenceError: reference to undefined property "currentModifiedTime"
XPIProvider.jsm:502:16
1591896427903	addons.xpi-utils	WARN	addMetadata: Add-on wetransfer@extensions.thunderbird.net is invalid: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isFile]"  nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)"  location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: get :: line 235"  data: no] Stack trace: get()@resource://gre/modules/addons/XPIInstall.jsm:235
syncLoadManifest()@resource://gre/modules/addons/XPIInstall.jsm:754
addMetadata()@resource://gre/modules/addons/XPIDatabase.jsm:2711
processFileChanges()@resource://gre/modules/addons/XPIDatabase.jsm:3152
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:2946
startup()@resource://gre/modules/addons/XPIProvider.jsm:2406
callProvider()@resource://gre/modules/AddonManager.jsm:213
_startProvider()@resource://gre/modules/AddonManager.jsm:649
startup()@resource://gre/modules/AddonManager.jsm:873
startup()@resource://gre/modules/AddonManager.jsm:3470
observe()@resource://gre/modules/addonManager.js:70
1591896427904	addons.xpi-utils	WARN	Could not uninstall invalid item from locked install location
1591896427906	addons.xpi-utils	WARN	addMetadata: Add-on messagingmenu@mozilla.com is invalid: Error: File /usr/lib/thunderbird/extensions/messagingmenu@mozilla.com.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:671:11) JS Stack trace: loadManifest@XPIInstall.jsm:671:11
awaitPromise@XPIProvider.jsm:228:15
syncLoadManifest@XPIInstall.jsm:755:22
addMetadata@XPIDatabase.jsm:2711:32
processFileChanges@XPIDatabase.jsm:3152:26
checkForChanges@XPIProvider.jsm:2946:55
startup@XPIProvider.jsm:2406:12
callProvider@AddonManager.jsm:213:31
_startProvider@AddonManager.jsm:649:5
startup@AddonManager.jsm:873:14
startup@AddonManager.jsm:3470:26
observe@addonManager.js:70:29
1591896427906	addons.xpi-utils	WARN	Could not uninstall invalid item from locked install location
ReferenceError: reference to undefined property "signedState"
XPIDatabase.jsm:447:1
ReferenceError: reference to undefined property "timeStyle"
mozIntl.jsm:833:1
ReferenceError: reference to undefined property "resume"
node-properties.js:134:15
ReferenceError: reference to undefined property "o"
node-properties.js:124:7
ReferenceError: reference to undefined property "o"
node-properties.js:130:7
Error: Cannot find loader for bootstrap XPIProvider.jsm:1877:15
Error while loading 'jar:file:///usr/lib/thunderbird/extensions/messagingmenu@mozilla.com.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) Extension.jsm:513
    readJSON resource://gre/modules/Extension.jsm:513
    onStopRequest resource://gre/modules/NetUtil.jsm:128
1591896428453	addons.xpi	WARN	Exception running bootstrap method startup on messagingmenu@mozilla.com: Error: Error while loading 'jar:file:///usr/lib/thunderbird/extensions/messagingmenu@mozilla.com.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND)(resource://gre/modules/Extension.jsm:513:20) JS Stack trace: readJSON/</<@Extension.jsm:513:20
onStopRequest@NetUtil.jsm:128:9
```