Internal error: Bad state: Expected existing element #56922
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This error is threw very often with different files
Dart analysis issue
Internal error: Bad state: Expected existing element: root::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart::@Unit::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart
Version information
Details
Internal error: Bad state: Expected existing element: root::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart::@Unit::package:CONFIDENTIAL_INFO/domain/models/schedule/schedule_calendar.dart
#0 LinkedElementFactory.elementOfReference (package:analyzer/src/summary2/linked_element_factory.dart:225:7)
#1 LinkedElementFactory.elementOfReference (package:analyzer/src/summary2/linked_element_factory.dart:216:25)
#2 ResolutionReader._readRawElement (package:analyzer/src/summary2/bundle_reader.dart:2502:28)
#3 ResolutionReader.readElement (package:analyzer/src/summary2/bundle_reader.dart:2008:19)
#4 ResolutionReader.readType (package:analyzer/src/summary2/bundle_reader.dart:2149:21)
#5 ResolutionReader.readRequiredType (package:analyzer/src/summary2/bundle_reader.dart:2111:12)
#6 ResolutionReader._readRecordType. (package:analyzer/src/summary2/bundle_reader.dart:2515:15)
#7 SummaryDataReader.readTypedList. (package:analyzer/src/summary2/data_reader.dart:144:18)
#8 new _List.generate (dart:core-patch/array.dart:113:28)
#9 SummaryDataReader.readTypedList (package:analyzer/src/summary2/data_reader.dart:143:12)
#10 ResolutionReader.readTypedList (package:analyzer/src/summary2/bundle_reader.dart:2188:20)
#11 ResolutionReader._readRecordType (package:analyzer/src/summary2/bundle_reader.dart:2512:23)
#12 ResolutionReader.readType (package:analyzer/src/summary2/bundle_reader.dart:2169:18)
#13 ResolutionReader.readRequiredType (package:analyzer/src/summary2/bundle_reader.dart:2111:12)
#14 ResolutionReader._readTypeList. (package:analyzer/src/summary2/bundle_reader.dart:2535:14)
#15 SummaryDataReader.readTypedList. (package:analyzer/src/summary2/data_reader.dart:144:18)
#16 new _List.generate (dart:core-patch/array.dart:113:28)
#17 SummaryDataReader.readTypedList (package:analyzer/src/summary2/data_reader.dart:143:12)
#18 ResolutionReader.readTypedList (package:analyzer/src/summary2/bundle_reader.dart:2188:20)
#19 ResolutionReader._readTypeList (package:analyzer/src/summary2/bundle_reader.dart:2534:12)
#20 ResolutionReader.readType (package:analyzer/src/summary2/bundle_reader.dart:2140:27)
#21 ResolutionReader.readRequiredType (package:analyzer/src/summary2/bundle_reader.dart:2111:12)
#22 ExtensionElementLinkedData._read (package:analyzer/src/summary2/bundle_reader.dart:399:33)
#23 ElementLinkedData.read (package:analyzer/src/summary2/bundle_reader.dart:257:5)
#24 ExtensionElementImpl.augmented (package:analyzer/src/dart/element/element.dart:2989:17)
#25 ExtensionsExtensions.havingMemberWithBaseName (package:analyzer/src/dart/resolver/applicable_extensions.dart:146:37)
#26 _ImportLibraryContainingExtension.compute (package:analysis_server/src/services/correction/dart/import_library.dart:494:10)
#27 FixProcessor._addFromProducers.compute (package:analysis_server/src/services/correction/fix_processor.dart:111:24)
#28 FixProcessor._addFromProducers (package:analysis_server/src/services/correction/fix_processor.dart:147:17)
#29 FixProcessor.compute (package:analysis_server/src/services/correction/fix_processor.dart:76:5)
#30 computeFixes (package:analysis_server/src/services/correction/fix_internal.dart:1812:8)
#31 EditGetFixesHandler._computeDartFixes (package:analysis_server/src/handler/legacy/edit_get_fixes.dart:192:21)
#32 EditGetFixesHandler.handle (package:analysis_server/src/handler/legacy/edit_get_fixes.dart:76:26)
#33 LegacyAnalysisServer.handleRequest.. (package:analysis_server/src/legacy_analysis_server.dart:576:11)
#34 OperationPerformanceImpl.runAsync (package:analyzer/src/util/performance/operation_performance.dart:174:14)
#35 LegacyAnalysisServer.handleRequest. (package:analysis_server/src/legacy_analysis_server.dart:557:7)
Debug log
The text was updated successfully, but these errors were encountered: