NonExistingSource exception during sendAnalysisNotificationNavigation #24272
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
closed-cannot-reproduce
Closed as we were unable to reproduce the reported issue
P2
A bug or feature request we're likely to work on
From IntelliJ logs...
Dart analysis server, SDK version 1.11.1, server version 1.7.0, error: UnsupportedOperationException: /home//<....>/server.dart does not exist. null
#0 NonExistingSource.encoding (package:analyzer/src/generated/source.dart:344)
#1 CompilationUnitElementImpl.identifier (package:analyzer/src/generated/element.dart:1410)
#2 ElementLocationImpl.ElementLocationImpl.con1 (package:analyzer/src/generated/element.dart:3138)
#3 ElementImpl.location (package:analyzer/src/generated/element.dart:2768)
#4 DartUnitNavigationComputer._addRegion (package:analysis_server/src/computer/computer_navigation.dart:52)
#5 DartUnitNavigationComputer._addRegionForNode (package:analysis_server/src/computer/computer_navigation.dart:75)
#6 _DartUnitNavigationComputerVisitor.visitSimpleIdentifier (package:analysis_server/src/computer/computer_navigation.dart:218)
#7 SimpleIdentifier.accept (package:analyzer/src/generated/ast.dart:16160)
#8 AstNode._safelyVisitChild (package:analyzer/src/generated/ast.dart:2937)
#9 ClassDeclaration.visitChildren (package:analyzer/src/generated/ast.dart:4235)
#10 RecursiveAstVisitor.visitClassDeclaration (package:analyzer/src/generated/ast.dart:14574)
#11 ClassDeclaration.accept (package:analyzer/src/generated/ast.dart:4171)
#12 _DartUnitNavigationComputerVisitor.visitCompilationUnit (package:analysis_server/src/computer/computer_navigation.dart:127)
#13 CompilationUnit.accept (package:analyzer/src/generated/ast.dart:4779)
#14 DartUnitNavigationComputer.compute (package:analysis_server/src/computer/computer_navigation.dart:32)
#15 sendAnalysisNotificationNavigation. (package:analysis_server/src/operation/operation_analysis.dart:137)
#16 _sendNotification. (package:analysis_server/src/operation/operation_analysis.dart:188)
#17 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:152)
#18 _sendNotification (package:analysis_server/src/operation/operation_analysis.dart:186)
#19 sendAnalysisNotificationNavigation (package:analysis_server/src/operation/operation_analysis.dart:135)
#20 _DartNavigationOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:346)
#21 AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:731)
The text was updated successfully, but these errors were encountered: