Repository navigation
Uncaught exception round up #7740
Description
I took a look at the reported uncaught exceptions and broke them down into a couple categories.
Add Guards
These are ones that looked like they weren't guarding adequately for different inputs that could happen. These appear to the easiest to fix at first glance.
Core
- Uncaught Error: connect EAFNOSUPPORT #4957
- Uncaught TypeError: Cannot set property 'localAddress' of undefined #5468
- Uncaught Error: Encoding not recognized: 'utf-8-bom' (searched as: 'utf8bom') #5593
- Uncaught TypeError: undefined is not a function on Undo operations for special panes #6587
- Syntax Error in Theme crashes Atom #7282
- Uncaught TypeError: Cannot read property 'endsWith' of undefined, using Jekyll #7714
Packages
- Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('local function') contains HTML space characters, which are not valid in tokens. autocomplete-plus#353
- Uncaught TypeError: Cannot read property 'toLowerCase' of undefined autocomplete-plus#475
- Uncaught TypeError: Cannot read property 'editors' of undefined autocomplete-plus#480 (affecting 555 people)
- Uncaught TypeError: Cannot read property 'displayBuffer' of undefined autocomplete-plus#488
- Uncaught TypeError: Cannot read property 'length' of undefined find-and-replace#402
- Uncaught TypeError: Cannot read property 'length' of null fuzzy-finder#86
- Uncaught TypeError: Arguments to path.join must be strings fuzzy-finder#110
- Uncaught Error: Encoding not recognized: 'windows866' (searched as: 'windows866') encoding-selector#23
- Uncaught TypeError: path must be a string markdown-preview#264
- Uncaught TypeError: Arguments to path.join must be strings markdown-preview#270
- Uncaught TypeError: undefined is not a function notifications#42
- Uncaught TypeError: Cannot read property 'replace' of nullPlease report this to https://github.c... notifications#79
- update error settings-view#536
- Uncaught TypeError: Cannot read property 'indexOf' of null tabs#151
- Uncaught TypeError: Cannot read property 'dispose' of undefined tabs#183 (affecting 535 people)
Text Editor
These seem to originate from either the model or view for the text editor.
Core
- Uncaught TypeError: Cannot read property 'selectLine' of undefined #5311
- Uncaught TypeError: Cannot read property 'isComment' of undefined #5905
- Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 4 is larger than or equal to the node's length (3). #5997
- Uncaught TypeError: Cannot read property 'getMaxScreenColumn' of undefined #6117
- Uncaught TypeError: Cannot read property 'tokens' of undefined #6118
- Uncaught TypeError: Cannot read property 'screenDelta' of undefined #6119
- Uncaught TypeError: Cannot read property 'split' of undefined #6831
- Uncaught TypeError: Cannot convert undefined or null to object #6973
- Uncaught Error: Encountered an invalid scope end id. Popped -33, expected to pop -43. #7063
- Uncaught Error: No screen line exists when converting buffer row to screen row #7070
- Uncaught Error: Encountered an invalid scope end id. Popped -1, expected to pop -77. #7198
- Uncaught TypeError: Cannot read property 'findWrapColumn' of undefined #7248
- Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 501 is larger than or ... #7465
- Uncaught Error: Encountered an invalid scope end id. Popped -117, expected to pop -65. #7582
- Uncaught Error: Emitter has been disposed #7720
Packages
- Uncaught TypeError: Cannot read property 'tokenAtBufferColumn' of undefined bracket-matcher#119
- Uncaught Error: No screen line exists when converting buffer row to screen row bracket-matcher#136
- Uncaught TypeError: Cannot read property 'getTokenIterator' of undefined bracket-matcher#144
- Uncaught TypeError: Cannot read property 'getBufferRange' of undefined find-and-replace#343
- Uncaught Error: No screen line exists when converting buffer row to screen row git-diff#57
- Uncaught Error: This TextEditor has been destroyed tabs#122
- Uncaught Error: This TextEditor has been destroyed whitespace#71
Text Buffer
These appear to originate from errors within the text-buffer repository.
Core
- Uncaught TypeError: Cannot read property 'selectWord' of undefined #6753
- Uncaught TypeError: Cannot read property '0' of null #7352
- Uncaught TypeError: Invalid Point: (NaN, 20) #7398
- Uncaught Error: EISDIR: illegal operation on a directory, read #7409
- Uncaught TypeError: Invalid Point: (NaN, 17) #7672 (affecting 140 people)
- Uncaught TypeError: Cannot read property '174' of null #7678
Packages
- Uncaught Error: EBUSY, resource busy or locked 'H:\_REPO\deploy\scripts\patchMaker\post.http' atom-dark-syntax#11
- Uncaught TypeError: Cannot read property 'matchesParams' of undefined bracket-matcher#142
- Feature Request - goto "path/to/my/file:line:pos" go-to-line#22 (affecting 140 people)
- Uncaught TypeError: Invalid Point: (NaN, -1) go-to-line#23
Process/Task
These appear to be from spawning processes or tasks
Core
- Uncaught TypeError: undefined is not a function #4775
- Uncaught TypeError: Cannot read property 'removeAllListeners' of undefined #7459 (affecting 600 people)
- Failed to spawn command /Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper. Make sure /Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper is installed and on your PATH #7594
Packages
3rd party packages
These appear to be from third-party packages and not fixable from within Atom. These might be closeable with just a comment.
- Uncaught Error: ENOTEMPTY: directory not empty, rmdir '/tmp/AtomLinter11565-7287-ykeinr' #7721
- Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new... status-bar#86
Invalid cases
These appear to be errors from corrupted models and other conditions that should never happen.
- Uncaught TypeError: Cannot read property 'scopeName' of undefined #6235
- Uncaught TypeError: Cannot read property 'getScopeDescriptor' of undefined snippets#103
- Uncaught TypeError: Cannot read property 'scopeName' of undefined whitespace#79
Require errors
These appear to be errors from calling require.
Core
- Unexpected token in dialog.js:1 #6276
- Uncaught Error: /usr/local/share/atom/resources/app.asar/src/browser/context-menu.js:1(function ... #7591
Packages
- Uncaught Error: Cannot find module 'shell'Error: Cannot find module 'shell' at Function.Modu... tabs#192
- Uncaught Error: Cannot find module 'dialog'Error: Cannot find module 'dialog' at Function.Module._resolveFilename (module.js:351:15) at Function.Module._load (module.js:293:25) at Module.require (module.js:380:17) at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79) at EventEmitter.emit (events.js:119:17) at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23) at EventEmitter.emit (events.js:119:17) tree-view#399
File I/O
These appear to be errors from reading or writing files.
Core
- "Uncaught Error: ESPIPE, invalid seek" when saving to FTP mounted with gvfs #2539
- Uncaught Error: EINTR, interrupted system call #4467
- Uncaught Error: EPERM, operation not permitted '/Users/MKadlec/Library/Caches/TemporaryItems/Outlook Temp/#3681__Fixes_and_improvements.patch' #5307
- Uncaught Error: EEXIST, file already exists #5640
- Uncaught Error: EACCES, permission denied '/Users/cavenmitchell/Documents/dump/kiste' #5999
- Uncaught Error: EACCES, permission denied '/home/jeff/repos/crud/package.json' #6046
- Uncaught Error: ENOENT, not found in /opt/atom/share/atom/resources/atom.asar #6140
- Uncaught Error: EIO: i/o error, open 'U:\new_p4\build' #6348
- Uncaught Error: EIO: i/o error, write #6799
- Uncaught Error: ENOENT: no such file or directory, open '/Users/pipo/Nourish Care/organization_app/organisations/app/controllers/clients_controller.rb' #6838
- Uncaught Error: ENOENT: no such file or directory, open '/home/matthew/Android/DU/.repo/local_manifests/sources.xml' #7133
- Uncaught Error - EACCES: permission denied #7321
- Uncaught Error: ENOTSUP: operation not supported on socket, write #7651
Packages
- Uncaught Error: EACCES, permission denied '/home/wompt/ang2test/quickstart/app.es6' autosave#29
- Uncaught Error: ENOENT: no such file or directory, OPEN /home/ely/Documents/Coding/Bash Mincraft Installer/Enkouyami s Bash Minecraft Installer autosave#33
- Uncaught Error: EPERM: operation not permitted, open 'C:\Users\jysperm\Git\jysperm\RootPanel\.gitignore' autosave#36
- Uncaught Error: ENOENT: no such file or directory, open '/Users/Chango/Downloads/Atom.app/Contents/Resources/app.asar' settings-view#523
- Uncaught Error: EIO, i/o error '/home/user/IdeaProjects/Try/web/index.xhtml' tree-view#412
- Uncaught Error: ENOENT, no such file or directory '/Users/ars/0.atom/packages/atom-beautify/' tree-view#416
- Uncaught Error: EBUSY: resource busy or locked, rename 'C:\Users\nowakmix\Desktop\Work Log\ex_unittest' -> 'C:\Users\nowakmix\Desktop\Work Log\ex_unittest\ex_unittest' tree-view#419
- Uncaught Error: ENOENT, no such file or directory '/home/matt/projects/ncm/lib/tasks/node.rake' tree-view#425
- Uncaught Error: EPERM: operation not permitted, rename 'A' -> 'B' tree-view#436
- Uncaught Error: EACCES: permission denied, mkdir '/Users/xxx0.yyy' tree-view#448
- Uncaught Error: ENOENT, not found in /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/atom.asar tree-view#465
- Uncaught Error: UNKNOWN: unknown error, mkdir '\server\share\somedir\b' tree-view#470
- Uncaught Error: EACCES, permission denied '/Users/s0.kubota' tree-view#409
No Idea
These are real head scratchers. Any insight appreciated.
Core
- Uncaught Error: EIO, read #4792
- Uncaught #<Object> #6089
- Saving network file - "Uncaught RangeError: Maximum call stack size exceeded" #6102
- Uncaught Error: UnknownSystemError: Unknown system error, uv_pipe_open #6632
- Error when doing ctrl-f #7155
- Error when previous session file was opened from network share that is not available #7203
- Uncaught RangeError: Invalid string length #7210
- Uncaught Exception: The workspace can only contain one instance of item [object Object] #7307
- Uncaught Error: ENOENT: no such file or directory, lstat '/Users/ferge/Library/Application Suppor... #7399
Packages
- Uncaught TypeError: Cannot read property 'length' of undefined autocomplete-atom-api#6
- Uncaught TypeError: Cannot read property 'getPath' of null autocomplete-atom-api#7
- Uncaught Error: Pane has been destroyed command-palette#47
- Uncaught Error: Replacing non-existent child markdown-preview#236
- Uncaught Error: Module did not self-register. symbols-view#110
- Uncaught Error: Pane has been destroyed tabs#108
- Uncaught Error: EINVAL, invalid argument '/run/user/1000/gvfs/smb-share:server=server,share=kunden-arbeitsdateien/garant/internet/backup-waybackmachine/datensicherung/en/Services - Garant.html' tree-view#408
Activity
kevinsawicki commentedon Jul 6, 2015
Feel free to edit the above list, it isn't inclusive of all the uncaught exceptions, just a first pass at the most recent ones.
kevinsawicki commentedon Jul 7, 2015
Added number of people impacted to a few of these by pulling from bugsnag
winstliu commentedon Jul 7, 2015
#6210 should probably be added, but I'm not sure what category to put it under (though there haven't been any reports of it lately, so hopefully it's been fixed?).
kubetz commentedon Jul 10, 2015
#7210 (No Idea → Core) seems to be caused by the V8 which has limits for single string allocation.
More information in this V8 issue comment:
Note: 2^28 is not 512MB, but 256MB.
swrobel commentedon Mar 31, 2016
Any progress on the Theme-related issue #7282? It just struck me and it's rather frustrating.
stale commentedon Aug 29, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
lock commentedon Mar 30, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!