-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fatal analysis server error requesting statement completion #33034
Labels
analyzer-completion
Issues with the analysis server's code completion feature
Comments
Probably not; inserting a 5 second delay after sending the edit doesn't seem to stop the issue. |
I can reproduce the problem in a unit test. |
dart-bot
pushed a commit
that referenced
this issue
May 3, 2018
…renthesis. Bug: #33034 Change-Id: I87a47e5ddc41596b4bcd0c07d250a7afb00546ef Reviewed-on: https://dart-review.googlesource.com/53680 Reviewed-by: Steve Messick <messick@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Is it reasonable to bump the server version so I can tell when we have the fix for this? Otherwise if users hit it we'll be prompting them to send error reports. |
dart-bot
pushed a commit
that referenced
this issue
May 3, 2018
Bug: #33034 Change-Id: I1dc4bfb97d2fae7a4c57baa056749fa520f7ea88 Reviewed-on: https://dart-review.googlesource.com/53684 Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I sent an edit that replaced the document with 34 characters that look like this:
I sent a
getStatementCompletion
request after thetrue
and got a fatal server error:Versions
Analyzer Info
The analyzer was launched using the arguments:
Exception (fatal)
Failed to handle request: {id: 14, method: edit.getStatementCompletion, params: {file: /Users/dantup/Dev/Dart-Code/test/test_projects/hello_world/lib/empty.dart, offset: 20}}
Diagnostics requested after the error occurred are:
@bwilkerson @scheglov I get this both on stable (1.24) and a recent Flutter build. I wonder if it's similar to the refactor issue we saw (it didn't wait for the edits to be applied)? This is in a test, so there was very little time between the edit and the completion request.
The text was updated successfully, but these errors were encountered: