Open ronnyvv opened 6 years ago
@ronnyvv does this stills happens after doing an app termination then start Atom again? If so, did you have opened file when Atom just started?
No, after restarting Atom I couldn't reproduce it with the same project. (I had a lot of files open (in tabs) for a long time when it did trigger)
@ronnyvv
It happened when closing a tab. I tried closing different tabs, including Close All Tabs from the menu and they all triggered the same exception.
Hey @liuderchi, I was able to clear out the ide-css cached code to prevent this same error happening with that package. Unfortunately, now it seems to be happening with ide-html. This error only seems to occur when I have a project open that has either css or html files included. I don't even necessarily have to have the files open in the editor just the project for this error to occur.
@ronnyvv sorry for the inconvenience.
Please try these steps to remove cached storage as temporarily workaround. Similar issues happen in ide-yaml, ide-css. We are trying to figure it out.
... prevent this same error happening with that package. Unfortunately, now it seems to be happening with ide-html.
@seanmhoffman IMO this issue is possibly related to package atom-language-client
which ide-html, ide-css, ide-yaml are ALL built upon.
Plus, there are similar issues for official ide packages also depending on atom-language-client
:
Other community ide-* packages
@liuderchi That seems pretty likely that atom-language-client
might be the underlying cause. I've uninstalled all of the ide-* packages in the meantime until the issue is resolved.
I have some free time next week that should allow me to take a deeper look at what is happening. Anything I find or solutions I come across I'll let you know.
Yeah we're seeing this across all ide-x packages. I wish I knew what was causing it. If anyone finds a solid repro please @ me so I can get on it.
@damieng FYI: This similar issue from ide-ruby#1 is talking about one solid repro from language_server-ruby by early typing before all parsing is done.
Just started happening for me. Seems to be sleep/hibernate caused? idk
@NullVoxPopuli please try the following workaround
Application: Open Your Config
debugLSP: true
under core property then saveWindow: Toggle Dev Tools
navigate to console tagWindow: reload
wait for a while ide-html
, open one html fileI get this error even after uninstalling the ide-html package, with puppet files open. Very strange. The error pops up every time I type any key (add a space for instance). No idea how to make it stop or go away. It's constant and unending. :(
@davidnewhall If you are using macOS please try these steps to clear Atom cache
[Enter steps to reproduce:]
Atom: 1.21.0 x64 Electron: 1.6.9 OS: "Fedora release Thrown From: ide-html package 0.3.0
Stack Trace
Uncaught Error: Connection is closed.
Commands
Non-Core Packages