-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Crash running the analyzer with ML completions enabled. #39079
Labels
analyzer-completion
Issues with the analysis server's code completion feature
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Comments
@lambdabaa Could you take a look at this? |
I had a similar crash. Version information
Exception
Crash Report1571936305482 <= {"id":"163","result":{}} 1571936305505 => {"id":"164","method":"edit.getAssists","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21049,"length":0},"client 1571936305627 <= {"event":"analysis.errors","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","errors":[]}} 1571936305628 <= {"id":"164","result":{"assists":[]}} 1571936305635 <= {"event":"analysis.highlights","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","regions":[{"type":"DIRECTIVE","offset":16 1571936305640 <= {"event":"analysis.navigation","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","regions":[{"offset":173,"length":33,"targ 1571936305640 <= {"event":"analysis.closingLabels","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","labels":[{"offset":505,"length":300,"l 1571936305640 <= {"event":"analysis.outline","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","kind":"LIBRARY","outline":{"element":{"kind" 1571936305640 <= {"event":"analysis.overrides","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","overrides":[]}} 1571936305645 <= {"event":"flutter.outline","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","outline":{"kind":"DART_ELEMENT","offset":0,"l 1571936305648 <= {"event":"completion.availableSuggestions","params":{"changedLibraries":[{"id":1280,"uri":"file:///usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test 1571936305667 <= {"event":"analysis.implemented","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","classes":[],"members":[]}} 1571936306012 => {"id":"165","method":"edit.getAssists","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21049,"length":0},"client 1571936306016 <= {"id":"165","result":{"assists":[]}} 1571936306795 => {"id":"166","method":"edit.getAssists","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21084,"length":14},"clien 1571936306799 <= {"id":"166","result":{"assists":[]}} 1571936307926 => {"id":"167","method":"edit.getAssists","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21084,"length":20},"clien 1571936307929 <= {"id":"167","result":{"assists":[]}} 1571936308331 => {"id":"168","method":"edit.getAssists","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21084,"length":18},"clien 1571936308335 <= {"id":"168","result":{"assists":[]}} 1571936308900 => {"id":"169","method":"analysis.updateContent","params":{"files":{"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart":{"type":"add","content":" 1571936308900 => {"id":"170","method":"completion.getSuggestions","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","offset":21086},"clientR 1571936308903 <= {"id":"169","result":{}} 1571936309058 <= {"id":"170","result":{"id":"3"}} 1571936309059 <= {"event":"analysis.errors","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","errors":[{"severity":"ERROR","type":"STATIC_W 1571936309072 <= {"event":"analysis.highlights","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","regions":[{"type":"DIRECTIVE","offset":16 1571936309088 <= {"event":"analysis.navigation","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","regions":[{"offset":173,"length":33,"targ 1571936309090 <= {"event":"analysis.closingLabels","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","labels":[{"offset":505,"length":300,"l 1571936309093 <= {"event":"analysis.outline","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","kind":"LIBRARY","outline":{"element":{"kind" 1571936309093 <= {"event":"analysis.overrides","params":{"file":"/usr/local/google/home/gspencer/code/flutter/packages/flutter/test/material/page_test.dart","overrides":[]}} |
@jacob314 @gspencergoog Did you see this behavior on the latest flutter master channel? Or somewhere else? |
lambdabaa
added a commit
to flutter/engine
that referenced
this issue
Oct 24, 2019
I still don't totally understand why there are two revisions of the package specified here, but an older model is currently being distributed with a newer version of analysis server. That's causing dart-lang/sdk#39079.
devoncarew
added
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
analyzer-completion
Issues with the analysis server's code completion feature
analyzer-completion-ml
labels
Oct 24, 2019
Yes, latest Flutter master:
I've had it happen several more times, same stack trace. |
lambdabaa
added a commit
to flutter/engine
that referenced
this issue
Oct 25, 2019
…E4C (#13337) I still don't totally understand why there are two revisions of the package specified here, but an older model is currently being distributed with a newer version of analysis server. That's causing dart-lang/sdk#39079.
Thanks! This will be fixed once flutter/engine@c272b18 is picked up in the next roll. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
analyzer-completion
Issues with the analysis server's code completion feature
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Analyzer Feedback from IntelliJ
Version information
IDEA IU-192.6817.14
2.6.0-edge.cccb9ffb2ab3268389a08d20261861115864156c
IU-192.6817.14, JRE 11.0.4+10-b304.69x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.6, screens 1680x1050 Retina
Exception
For additional log information, please append the contents of
file:///private/var/folders/pl/5yqcvds916b39jxc_pb66y700025bq/T/report.txt.
The text was updated successfully, but these errors were encountered: