marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
103 stars 31 forks source link

TypeError: Cannot read properties of null #258

Open miqmago opened 1 year ago

miqmago commented 1 year ago

System Information

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. (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. (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')" } } ```