I keep having this problem with GNOME Shell. The errors below are logged into the journal (viewed with journalctl -f). The only solution I've found is to log out of the GNOME session and start again.
Searching Google and this site produces lists of reports, but I cannot find any summary of (1) why does this happen? nor (2) What can be done to work-around or prevent the problem?
Also note that when it happens, UI responsiveness drops, often to the point of being barely usable.
JS ERROR: TypeError: windowActor is null _addWindowEffect@resource:///org/gnome/shell/ui/closeDialog.js:90:28 vfunc_show@resource:///org/gnome/shell/ui/closeDialog.js:162:14
P.S. Does JS mean Javascript, and if so, why is there Javascript in GNOME Shell?
--- update ---
Here is a pastebin of grep -i gnome-shell /var/log/syslog*: https://paste.ubuntu.com/p/MmNnRVQrzG/
Output of ls -al ~/.local/share/gnome-shell/extensions:
ls: cannot access '<snip>/.local/share/gnome-shell/extensions': No such file or directory
Output of ls -al /usr/share/gnome-shell/extensions/:
total 20
drwxr-xr-x 5 root root 4096 Apr 23 2020 .
drwxr-xr-x 7 root root 4096 Aug 18 06:47 ..
drwxr-xr-x 2 root root 4096 Aug 15 22:12 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 Jan 29 11:57 ubuntu-appindicators@ubuntu.com
drwxr-xr-x 3 root root 4096 Jan 29 11:58 ubuntu-dock@ubuntu.com
--- another update --- https://extensions.gnome.org/local/
