This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught Error: Emitter has been disposed #7720
Copy link
Copy link
Closed
Description
[Enter steps to reproduce below:]
- ...
- ...
Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: Atom Core
Stack Trace
Uncaught Error: Emitter has been disposed
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:34
Error: Emitter has been disposed
at Emitter.module.exports.Emitter.on (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:34:15)
at GutterContainer.module.exports.GutterContainer.onDidAddGutter (/Applications/Atom.app/Contents/Resources/app.asar/src/gutter-container.js:78:27)
at TextEditor.module.exports.TextEditor.onDidAddGutter (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:509:35)
at TextEditorPresenter.module.exports.TextEditorPresenter.observeModel (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:251:39)
at new TextEditorPresenter (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:48:12)
at new TextEditorComponent (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:105:24)
at atom-text-editor.TextEditorElement.mountComponent (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:166:24)
at atom-text-editor.TextEditorElement.attachedCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:95:14)
at atom-pane-container.module.exports.PaneContainerElement.rootChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container-element.js:53:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
Commands
-2:45.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
-2:45.1.0 editor:newline (atom-text-editor.editor.is-focused)
20x -2:43.4.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
-2:08.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
11x -2:01.1.0 core:backspace (atom-text-editor.editor.is-focused)
2x -1:41.9.0 editor:newline (atom-text-editor.editor.is-focused)
11x -1:37.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
2x -1:17.9.0 editor:newline (atom-text-editor.editor.is-focused)
6x -1:16.6.0 core:backspace (atom-text-editor.editor.is-focused)
-1:14.3.0 editor:newline (atom-text-editor.editor.is-focused)
3x -1:13.1.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
-1:10.6.0 editor:newline (atom-text-editor.editor.is-focused)
6x -1:10.1.0 core:move-down (atom-text-editor.editor.is-focused)
-1:08.6.0 editor:newline (atom-text-editor.editor.is-focused)
27x -1:07.8.0 core:backspace (atom-text-editor.editor.is-focused)
-0:00.8.0 markdown-preview:toggle (div.markdown-preview.native-key-bindings)
Config
{
"core": {
"themes": [
"one-dark-ui",
"atom-dark-syntax"
]
},
"editor": {
"invisibles": {},
"fontSize": 13,
"softWrap": true
}
}Installed Packages
# User
No installed packages
# Dev
No dev packages
Activity
winstliu commentedon Jul 5, 2015
Hi @amaladolcevita, what were you doing when this error occured?
dvita commentedon Jul 5, 2015
Hi Wliu! I was editing a Markdown file and went to try and view the
Markdown preview when the error occurred. It's happened a few times today
when trying to view the markdown preview.
Thanks!
On Sun, Jul 5, 2015 at 9:29 PM Wliu [email protected] wrote:
benogle commentedon Jul 6, 2015
Does the markdown file have code blocks? Can you share the markdown doc? Is this consistently reproducible? I'm wondering if this is from an editor rendered in markdown preview.
jmarlena commentedon Oct 8, 2015
Hey, I also got this error while editing the articles below in a local instance of GitHub's help-docs (they do have some code snippets):
Tips for configuring a CNAME record with your DNS provider
Tips for configuring an a record with your DNS provider
I changed the title of these articles on a different branch and then launched Atom from the terminal after creating a new branch.
winstliu commentedon Dec 15, 2016
Thank you for your issue!
We haven't gotten a response to our questions in our comment #7720 (comment). With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
mikeerickson commentedon Jan 26, 2017
FWIW, I can reproduce this issue 100% of the time.
Atom -> View LicenseNot RespondingdialogAbortthrows the error in questionmikeerickson commentedon Jan 26, 2017
@50Wliu See above (forgot to tag you)
FWIW, I also get this
Not Respondingerror whenever I close a window (quite annoying) Just upgraded 1.13.1 today so we shall see if that improveswinstliu commentedon Jan 26, 2017
Yeah, it looks from a glance like you're running an old version of Atom. The warning message now reads
Atom will be unresponsive during the loading of very large files.If you see this again, please open a new issue!mikeerickson commentedon Jan 26, 2017
An old version? I just installed the latest release version (v1.13.1) today
mikeerickson commentedon Jan 26, 2017
The above issue appears consistently when I select Atom -> License
winstliu commentedon Jan 26, 2017
Like I said, can you please open a new issue? This issue seemed related to markdown-preview.
mikeerickson commentedon Jan 26, 2017
Yes, I can surely do that. My primary reason for extended reply was to state I AM using the latest version (you stated I was using an old version). I am not trying to get my issue reviewed under this issue
winstliu commentedon Jan 26, 2017
Sorry about that part, I was a bit confused when you said that you "just upgraded", which I took as meaning that your screenshot was from a prior version.
lock commentedon Apr 3, 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!