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

InterfaceTypeSuggestionBuilder exception #24270

Closed
danrubel opened this issue Sep 2, 2015 · 1 comment
Closed

InterfaceTypeSuggestionBuilder exception #24270

danrubel opened this issue Sep 2, 2015 · 1 comment
Assignees
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. P2 A bug or feature request we're likely to work on

Comments

@danrubel
Copy link

danrubel commented Sep 2, 2015

Dart analysis server, SDK version 1.12.0-dev.5.10, server version 1.9.0, FATAL error: The null object does not have a getter 'library'.

NoSuchMethodError: method not found: 'library'

Receiver: null
Arguments: []
#0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2 InterfaceTypeSuggestionBuilder.suggestionsFor (package:analysis_server/src/services/completion/suggestion_builder.dart:422)
#3 _PrefixedIdentifierSuggestionBuilder.visitVariableElement (package:analysis_server/src/services/completion/prefixed_element_contributor.dart:435)
#4 GeneralizingElementVisitor.visitLocalElement (package:analyzer/src/generated/element.dart:5625)
#5 GeneralizingElementVisitor.visitParameterElement (package:analyzer/src/generated/element.dart:5646)
#6 ParameterElementImpl.accept (package:analyzer/src/generated/element.dart:8783)
#7 _PrefixedIdentifierSuggestionBuilder.computeFull (package:analysis_server/src/services/completion/prefixed_element_contributor.dart:372)
#8 PrefixedElementContributor.computeFull (package:analysis_server/src/services/completion/prefixed_element_contributor.dart:48)
#9 DartCompletionManager.computeFull.... (package:analysis_server/src/services/completion/dart_completion_manager.dart:204)
#10 CompletionPerformance.logElapseTime (package:analysis_server/src/services/completion/completion_manager.dart:167)
#11 DartCompletionManager.computeFull... (package:analysis_server/src/services/completion/dart_completion_manager.dart:203)
#12 List.forEach (dart:core-patch/growable_array.dart:234)
#13 DartCompletionManager.computeFull.. (package:analysis_server/src/services/completion/dart_completion_manager.dart:199)
#14 CompletionPerformance.logElapseTime (package:analysis_server/src/services/completion/completion_manager.dart:167)
#15 DartCompletionManager.computeFull. (package:analysis_server/src/services/completion/dart_completion_manager.dart:193)

@danrubel danrubel added Type-Defect 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 labels Sep 2, 2015
@danrubel danrubel self-assigned this Sep 2, 2015
@danrubel
Copy link
Author

Duplicate of #24630

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on and removed Priority-Medium labels Mar 1, 2016
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. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

2 participants