Skip to content
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

Analyzer Feedback from IntelliJ #51876

Closed
EArminjon opened this issue Mar 28, 2023 · 10 comments
Closed

Analyzer Feedback from IntelliJ #51876

EArminjon opened this issue Mar 28, 2023 · 10 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on

Comments

@EArminjon
Copy link

EArminjon commented Mar 28, 2023

Analyzer didn't work / stop work since today.

The analyzer restart after have indexed files. I tried to uninstall pc / reboot / uninstall ide...
I didn't find how to downgrade internal plugin version. I think plugin have an issue.

Didn't know how to have log from an IDE plugin.

Version information

  • IDEA IU-223.8836.41
  • 2.18.2
  • IU-223.8836.41, JRE 17.0.6+1-b653.34x64 JetBrains s.r.o., OS Mac OS X(aarch64) v13.2.1, screens 3456.0x2234.0, 1920.0x1080.0 Retina
@EArminjon
Copy link
Author

On vsCode i got the following logs :

[Info  - 13:39:25] Connection to server got closed. Server will restart.
[Info  - 13:39:32] Connection to server got closed. Server will restart.
[Info  - 13:39:39] Connection to server got closed. Server will restart.
[Info  - 13:39:46] Connection to server got closed. Server will restart.
[Error - 13:39:53] The Dart Analysis Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

@EArminjon
Copy link
Author

EArminjon commented Mar 28, 2023

Solution was to delete the ~/.dartServer folder.
Without vscode i will have not found the solution. This is critical.

@incendial
Copy link
Contributor

incendial commented Mar 28, 2023

Can you check if there is anything in the logs in VS Code? You might see something like this:
Screenshot 2023-03-28 at 15 55 22

or here in LSP section in Output
Screenshot 2023-03-28 at 15 56 36

@EArminjon
Copy link
Author

EArminjon commented Mar 28, 2023

Can you check if there is anything in the logs in VS Code? You might see something like this: Screenshot 2023-03-28 at 15 55 22

or here in LSP section in Output Screenshot 2023-03-28 at 15 56 36

I deleted VsCode after that, i use only intelij and Android studio and both got the error without log any thing...

@lrhn lrhn added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Mar 28, 2023
@bwilkerson
Copy link
Member

@scheglov I've seen this exception locally as well, but don't have a reproduction case. I don't know whether this will give you any more information.

@bwilkerson bwilkerson added the P2 A bug or feature request we're likely to work on label Mar 30, 2023
@scheglov
Copy link
Contributor

Unfortunately no, this does not help to track the bug down.
I know that it happens, but I don't know exactly how to reproduce it.

@EArminjon
Copy link
Author

EArminjon commented Mar 30, 2023

My dartServer was containing many files : more than 200 000 maybe 1 millions. Maybe, when the folder is too big issue can appear ?

An other way is maybe an important file was corrupted or put at read only or something like that.
What happen if dart analyzer is doing an important job and user (me) shutdown the computer ?

@bwilkerson
Copy link
Member

I run with far fewer files open and I see it periodically, so number of files doesn't appear to be a factor (or at least it takes fewer than 200,000).

@incendial
Copy link
Contributor

I think I introduced some misunderstanding: I shared the example image to show how to open the logs file, but there is no connection between the exception shown on my screenshot and the one @EArminjon had (since we have no log file).

@srawlins
Copy link
Member

Sorry we were unable to fix this in a timely manner. If you see a crash like this again, you can report it again with logs, and we can try to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

6 participants