Uncaught TypeError: Cannot read property 'onDidChangeIcon' of null
See original GitHub issueI’m just trying to open a “.log” file. The error is thrown only when opening the file, and not when the file is in view in the treeview.
Report:
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Unknown Windows Version Thrown From: file-icons package 2.0.12
Stack Trace
Uncaught TypeError: Cannot read property ‘onDidChangeIcon’ of null
At C:\Users\John\.atom\packages\file-icons\lib\service\icon-node.js:31
TypeError: Cannot read property 'onDidChangeIcon' of null
at new IconNode (C:\Users\John\.atom\packages\file-icons\lib\service\icon-node.js:31:12)
at new Tab (C:\Users\John\.atom\packages\file-icons\lib\consumers\tab.js:17:19)
at Tabs.add (C:\Users\John\.atom\packages\file-icons\lib\consumers\tabs.js:70:16)
at disposables.add.UI.delay.onOpenEditor.editor (C:\Users\John\.atom\packages\file-icons\lib\consumers\tabs.js:36:10)
at Immediate.setImmediate (C:\Users\John\.atom\packages\file-icons\lib\ui.js:82:40)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
Commands
-0:44.6.0 editor:move-to-beginning-of-word (input.hidden-input)
3x -0:43.6.0 editor:move-to-end-of-word (input.hidden-input)
-0:42.9.0 core:move-right (input.hidden-input)
16x -0:42.4.0 editor:move-to-end-of-word (input.hidden-input)
-0:39.2.0 editor:move-to-end-of-screen-line (input.hidden-input)
-0:38.2.0 core:move-up (input.hidden-input)
-0:38.2.0 core:move-right (input.hidden-input)
-0:37.3.0 core:save (input.hidden-input)
-0:28.5.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
-0:27.3.0 core:confirm (input.hidden-input)
9x -0:26.3.0 core:move-down (input.hidden-input)
7x -0:24.9.0 core:move-left (input.hidden-input)
-0:23.8.0 editor:select-to-beginning-of-word (input.hidden-input)
-0:23.4.0 core:backspace (input.hidden-input)
-0:22.2.0 autocomplete-plus:cancel (input.hidden-input)
2x -0:21.3.0 core:save (input.hidden-input)
Config
{
"core": {
"automaticallyUpdate": false,
"packagesWithKeymapsDisabled": [],
"telemetryConsent": "no",
"themes": [
"one-dark-ui",
"atom-dark-fusion-syntax"
]
},
"file-icons": {
"tabPaneIcon": false
}
}
Installed Packages
# Active themes
atom-dark-fusion-syntax 2.0.2
one-dark-ui 1.8.2
# Consumer packages
archive-view 0.62.0
find-and-replace 0.204.5
fuzzy-finder 1.4.0
tabs 0.103.1
tree-view 0.211.1
# Active packages (Core excluded)
auto-indent 0.5.0
color-picker 2.2.4
ctrl-dir-scroll 0.2.2
docblockr 0.9.1
file-icons 2.0.12
goto-definition 1.1.19
# Inactive packages
advanced-open-file 0.16.5
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:26 (10 by maintainers)
Top Results From Across the Web
Cannot read property 'onDidChangeIcon' of null · Issue #698 ...
In the instance that I'm experiencing right now there is only one file ( .yaml ) in the problematic directory, no sub folders....
Read more >Uncaught TypeError: Cannot read property 'on' of null [duplicate]
In your code, $ is used by prototype, $('.addtocart') is returning null as there are no elements with class .addtocart when this script...
Read more >Uncaught TypeError: Cannot read properties of null ... - Reddit
Hi! Im trying to fix the .js code but I can't see the error, I get the same message on the console no...
Read more >Cannot read properties of null (reading 'contains')error in react ...
TypeError : Cannot read properties of null (reading 'contains'), Need useEffect Cleanup,EventBubblingtypeerror cannot read property of null ...
Read more >Cannot read properties of undefined' - JavaScript Debugging
How To Fix ' Uncaught TypeError : Cannot read properties of ... "Uncaught Typerror: Cannot set properties of null (reading 'innerHTML')".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just installed the latest patch 2.0.13 using Atom 1.13.0 running on Windows 10. Problem is fixed on my end. No more annoying pop-ups! Thank you @Alhadis … Will provide a better bug report next time.
Hello,
As of 2.0.15 the problem is corrected. Thank you