micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.89k stars 460 forks source link

JS ERROR: TypeError: null has no properties #1351

Open unavaliabl3 opened 3 years ago

unavaliabl3 commented 3 years ago

journald spammed with JS ERROR: TypeError: null has no properties

Causing high CPU usage and input lagging

Log


 JS ERROR: TypeError: null has no properties
                                             _onFocusChanged@resource:///org/gnome/shell/ui/closeDialog.js:135:9
                                             actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2200:23
                                             onScrollEvent@/home/arthur/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1304:29

repeating at the speed of about 4000 times a minute

OS information

OS: Ubuntu 20.10 x86_64 Kernel: 5.8.0-28-generic Uptime: 1 day, 10 hours, 12 mins Packages: 4103 (dpkg) Shell: zsh 5.8 Resolution: 1920x1080 DE: GNOME 3.38.1 WM: Mutter WM Theme: Materia-dark-compact Theme: Materia-dark-compact [GTK2/3] Icons: Papirus-Dark [GTK2/3] Terminal: gnome-terminal CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M GPU: AMD ATI 05:00.0 Renoir Memory: 7808MiB / 15431MiB

alarbada commented 3 years ago

I suffer the same problem.

Apparently killall -3 gnome-shell partly solves it, but I'd expect a better solution than this.

maffelbaffel commented 3 years ago

Got the same problem.

roblatham00 commented 3 years ago

I don't know if "dash-to-dock" is the right project for this issue but I see it too

tonymartino commented 2 months ago

Still seeing this:

Aug 25 13:08:37 chainsaw.inside.msnomer.com gnome-shell[4758]: JS ERROR: TypeError: null has no properties
                                                               get settings@file:///home/tony/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js:1752:28
                                                               updateNotificationBadgeStyle@file:///home/tony/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/appIconIndicators.js:788:33
                                                               _loadExtensionStylesheet@resource:///org/gnome/shell/ui/extensionSystem.js:141:23
                                                               _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:259:18
                                                               _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:798:24
                                                               async*_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:827:20
                                                               async*ExtensionManager/<@resource:///org/gnome/shell/ui/extensionSystem.js:48:18
                                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                                               _sync@resource:///org/gnome/shell/ui/sessionMode.js:207:14
                                                               popMode@resource:///org/gnome/shell/ui/sessionMode.js:178:14
                                                               _continueDeactivate@resource:///org/gnome/shell/ui/screenShield.js:543:30
                                                               deactivate/<@resource:///org/gnome/shell/ui/screenShield.js:534:44
                                                               finish@resource:///org/gnome/shell/gdm/authPrompt.js:688:13
                                                               finish@resource:///org/gnome/shell/ui/unlockDialog.js:882:26
                                                               deactivate@resource:///org/gnome/shell/ui/screenShield.js:534:26
                                                               _getLoginSession/<@resource:///org/gnome/shell/ui/screenShield.js:152:24
                                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                                               _convertToNativeSignal@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:152:19
                                                               @resource:///org/gnome/shell/ui/init.js:21:20