marius-wieschollek/passwords-webextension

TypeError: Cannot read properties of null

Opened this issue · 0 comments

System Information

  • Extension Version: 2.2.6
  • App Version:
  • Browser and Version: Chrome 114.0.5735.198 (Compilació oficial) (arm64)
  • Client OS and Version: MacBook Air M2 2022 Ventura 13.1 (22C65)

Steps to reproduce

Randomly happens, seems to happen when computer loses connectivity and recovering later on it is unable to sync with nextcloud server.

Expected result

Passwords always available when account not modified

Actual result

After a while (I think when loosing connectivity to internet and recovering connectivity later on) there are no passwords on the extension and seems to be unable to connect with nextcloud server.

Browser log

Browser log
{
  "details": {
    "data": {},
    "message": "Cannot read properties of null (reading 'push')",
    "stack": "TypeError: Cannot read properties of null (reading 'push')\n    at I._tryManualAuth (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:771457)\n    at I._tryAuthorization (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:770478)\n    at async I.authorize (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:770193)\n    at async Object.addServer (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:773151)\n    at async Object.reloadServer (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:773787)\n    at async l.execute (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/ServerReload.js:1:389)\n    at async Object._executeController (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:864525)\n    at async Array.<anonymous> (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:860398)\n    at async Object._notifyListeners (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:823084)\n    at async Object._processMessage (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:822671)",
    "time": 1687965972287
  },
  "error": {
    "name": "TypeError",
    "stack": "TypeError: Cannot read properties of null (reading 'push')\n    at I._tryManualAuth (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:771457)\n    at I._tryAuthorization (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:770478)\n    at async I.authorize (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:770193)\n    at async Object.addServer (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:773151)\n    at async Object.reloadServer (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:773787)\n    at async l.execute (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/ServerReload.js:1:389)\n    at async Object._executeController (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:864525)\n    at async Array.<anonymous> (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:860398)\n    at async Object._notifyListeners (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:823084)\n    at async Object._processMessage (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:2:822671)",
    "string": "TypeError: Cannot read properties of null (reading 'push')",
    "message": "Cannot read properties of null (reading 'push')"
  }
}