marius-wieschollek / passwords-webextension

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

Passwords not syncing - sync error "Cannot read properties of null (reading 'hasItems')" #240

Open kenherbert opened 2 years ago

kenherbert commented 2 years ago

System Information

Server:

 Nextcloud Version: 24.0.5.1
 PHP Version: 8.0.10
 Database and Version: MariaDB 10.3.31
 Server OS and Version: Ubuntu 20.04 x64
 Passwords Version: 2022.9.20

Client:

 Browser and Version: Brave 1.43.93
 Client OS and Version: MacOS 12.5.1

Steps to reproduce

  1. Trigger password sync (manually or automatically)

Expected result

Passwords should sync

Actual result

Passwords do not sync, receive error "Cannot read properties of null (reading 'hasItems')" in the log

kenherbert commented 2 years ago

Note that this issue comes and goes. It did not work for (maybe) a week, then worked for 2 days, now doesn't work again with a slightly different error: "Cannot read properties of null (reading 'push')"

zenlord commented 1 year ago

I see this error very often as well. I'm getting used to this extension just not working at all, and am surprised the few times that it is working. My environment is entirely different than the OP's, so probably not related to the environment at all, but maybe an entry in our database that is causing this problem?

System Information Server:

Nextcloud Version: 27.0.2 PHP Version: 8.2 Database and Version: Postgresql 13 Server OS and Version: Debian Bullseye Passwords Version: 2023.9.30

Client:

Browser and Version: Google Chrome 116.0 Client OS and Version: Windows 10

PS: while drafting this bug report, the Chrome extension crashed. I reloaded it and it again found all my passwords. Maybe this is related to not shutting down the browser all that often (and a session going stale?)