-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Analysis server error causes WebStorm to stop analyzing sources #25035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Only way to get analysis back to working is to restart WebStorm. |
#24856 might be related. |
#25012 also seems related. I worked a while on https://github.com/bwu-dart/bwu_datagrid/tree/polymer1 today and didn't have any issues at all anymore. In bwu_datagrid I burned down all reported issues (incl. strong mode hints) and was mostly done (I wasn't able to fix about 10). |
Do you have |
yes, strong-mode always enabled |
@scheglov yep this is with strong mode as well. |
I tried setting strong_mode to false in .analysis_options and then I'm getting issues with |
@jmesserly @leafpetersen Could you please check the @pq Are the linter issues fixes fixed in this version? @donny-dont Hm... |
@scheglov that's good if I'm not using the linter or strong mode. Bad otherwise 😉 |
I just got the following Exception in IJ/Dart plugin:
|
I pulled down bwu_docker and spent some time poking at it in Intellij trying to reproduce the InfiniteLoop exception. I haven't seen any errors yet. @zoechi @donny-dont @MikeMitterer are there any specific combinations of repo/files/edits that you can point me at to reproduce? |
@leafpetersen its all around having .analysis_options and turning on strong mode or really any of the lints. I don't see .analysis_options in bwu_docker. |
@donny-dont Sorry, should have mentioned that I added my own .analysis_options with strong mode on it. What else is in your .analysis_options? You're on WebStorm? I'm currently using Intellij, so I can try downloading WebStorm if needed, but I'd be a little surprised if that made the difference. |
@leafpetersen -- I use WebStorm and haven't ever noticed any difference w.r.t. IntelliJ. What matters is the Dart plugin version & the SDK version. |
Dart version for me has always been latest dev. Think @zoechi does bleeding edge. |
I didn't get analysis server exceptions today so far as well. (latest bleeding edge). |
If I "pub update" on one of my Dart-Modules it pushes DA up to 100% for about 12mins!!!! |
E.g. If DA is on 100% it takes ~30secs until IntelliJ shows an error or a warning already reported in the DA-Tab |
I just saw this one: #25239 |
p.s. y'all are brave! :) ... I'm trying to use strong-mode in IntelliJ to get analyzer itself strong-mode clean. Definitely has some rough edges. Now that we're dogfooding, hopefully we can get them smoothed out. |
I didn't have any serious issues the last ~3 days with bleeding_edge but I it might be related what projects I'm working on and what other projects are opened at the same time. This changes frequently. |
We just fixed a few bugs that might help, definitely give it a try when the next dev build lands (something later than 1.14.0-dev.5.0) |
And we just fixed a few more -- if you had a strong mode and a non-strong mode project open, confusion happened in the SDK. Once the next dev build lands, give it another shot and let us know if this reoccurs. Tentatively I'm going to assume it's been fixed. But we can always reopen (or open a new bug, as needed). Cheers. |
This may contain some info for hunting down what's been described in https://groups.google.com/a/dartlang.org/forum/#!topic/misc/pQCl_cGA_q0. Also see #24856
Whenever I encounter this WebStorm needs to be restarted to get back any analysis. Below is the event log from WebStorm. Platform is Windows with 1.14.0-dev.1.0.
The text was updated successfully, but these errors were encountered: