-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Invalid value: Not in range 0..10, inclusive: 11 #35551
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
Comments
@scheglov this looks like a duplicate of #34534, but #34534 says it was fixed by e648d63, and this bug report is from 88e6fe0, which is a later commit. Can you investigate and see if this bug has the same root cause as #34534? If so we should mark this as a duplicate of #34534 and re-open #34534. Marking as P1 since #34534 was P1. If we determine that it's a different root cause we may downgrade it to P2. |
Sigh, no I was wrong. |
We need this data. RE #35551 [email protected], [email protected] Change-Id: I55e4a83f07eda618e857ac8a577c254a51a82219 Reviewed-on: https://dart-review.googlesource.com/c/89400 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
I don't know how to reproduce this issue. So, I have to add logging to gather more information. [email protected], [email protected] Bug: #35551 Change-Id: I6c7de530a76998697577bd088f74bd2e9ac79cc4 Reviewed-on: https://dart-review.googlesource.com/c/89420 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
Unfortunately we accidentally reduced usefulness of exception dump files, and now they include only the content of immediately library that caused the problem, but not the transitive closure of all files. And I'm not able to reproduce with dumps from either of you :-( I've added fixes for including all files, and additional info into the bleeding edge Dart SDK. So, hopefully eventually I will get more information, and maybe ideas how to reproduce this problem. |
can I help? |
If you know how to reproduce this issue, it would help a lot. |
Yes it does. Especially when I use autoformat. I'll try to make a MCV example. |
@scheglov added logging to help diagnose this issue, so we are going to wait for it to recur with a version of the analyzer that includes the logging. |
Thanks to @kevmoo I can reproduce this now on |
…API signature changes. [email protected], [email protected] Fixes #35551 Change-Id: If4db0907fc62bdd12f528fe1a61895f6a18ec210 Reviewed-on: https://dart-review.googlesource.com/c/90520 Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
Analyzer Feedback from IntelliJ
Version information
IDEA IU-183.5153.8
2.2.0-edge.88e6fe0f673e3d88f06fb6797103f9a9305961d9
IU-183.5153.8, JRE 1.8.0_152-release-1343-b26x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.6, screens 1920x1200, 1920x1200
Exception
For additional log information, please append the contents of
file:///private/var/folders/ky/g0rzgjmj7l54b8kc89n1mxxm0000gn/T/report1.txt.
Dart analysis server, SDK version 2.2.0-edge.88e6fe0f673e3d88f06fb6797103f9a9305961d9, server version 1.21.1, error: Analysis failed: /Users/long1eu/projects/AndroidStudioProjects/dance_app/danceapp_common/lib/actions/update_steps.dart
RangeError (index): Invalid value: Not in range 0..10, inclusive: 11
#0 List.[] (dart:core/runtime/libarray.dart:12:52)
#1 _UnitResynthesizer.getReferenceInfo (package:analyzer/src/summary/resynthesize.dart:1461:43)
#2 _UnitResynthesizer.buildType (package:analyzer/src/summary/resynthesize.dart:1367:38)
#3 SummaryResynthesizerContext.resolveTypeRef (package:analyzer/src/summary/resynthesize.dart:472:30)
#4 ClassElementImpl.interfaces (package:analyzer/src/dart/element/element.dart:697:28)
#5 _OverrideChecker._findAllGenericInterfaces.visitTypeAndSupertypes (package:analyzer/src/task/strong/checker.dart:1520:17)
#6 _OverrideChecker._findAllGenericInterfaces (package:analyzer/src/task/strong/checker.dart:1524:27)
#7 _OverrideChecker._checkForCovariantGenerics (package:analyzer/src/task/strong/checker.dart:1288:24)
#8 _OverrideChecker.check (package:analyzer/src/task/strong/checker.dart:1231:5)
#9 CodeChecker.visitClassDeclaration (package:analyzer/src/task/strong/checker.dart:248:22)
#10 ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1765:49)
#11 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:8351:20)
#12 CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2437:21)
#13 CodeChecker.visitCompilationUnit (package:analyzer/src/task/strong/checker.dart:268:10)
#14 LibraryAnalyzer._computeVerifyErrors (package:analyzer/src/dart/analysis/library_analyzer.dart:321:13)
#15 LibraryAnalyzer.analyzeSync.. (package:analyzer/src/dart/analysis/library_analyzer.dart:124:9)
#16 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection/runtime/libcompact_hash.dart:367:8)
#17 LibraryAnalyzer.analyzeSync. (package:analyzer/src/dart/analysis/library_analyzer.dart:123:13)
#18 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15)
#19 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:122:34)
#20 LibraryAnalyzer.analyze. (package:analyzer/src/dart/analysis/library_analyzer.dart:88:14)
#21 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15)
#22 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:87:43)
#23 AnalysisDriver._computeAnalysisResult. (package:analyzer/src/dart/analysis/driver.dart:1430:63)
#24 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15)
#25 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1409:20)
#26 AnalysisDriver.performWork (package:analyzer/src/dart/analysis/driver.dart:1203:17)
#27 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2114:24)
#28 AnalysisDriverScheduler.start (package:analyzer/src/dart/analysis/driver.dart:2055:5)
#29 new AnalysisServer (package:analysis_server/src/analysis_server.dart:236:29)
#30 SocketServer.createAnalysisServer (package:analysis_server/src/socket_server.dart:79:26)
#31 StdioAnalysisServer.serveStdio (package:analysis_server/src/server/stdio_server.dart:37:18)
#32 Driver.startAnalysisServer. (package:analysis_server/src/server/driver.dart:519:21)
#33 _rootRun (dart:async/zone.dart:1124:13)
#34 _CustomZone.run (dart:async/zone.dart:1021:19)
#35 _runZoned (dart:async/zone.dart:1516:10)
#36 runZoned (dart:async/zone.dart:1463:12)
#37 Driver._captureExceptions (package:analysis_server/src/server/driver.dart:585:12)
#38 Driver.startAnalysisServer (package:analysis_server/src/server/driver.dart:517:7)
#39 Driver.start (package:analysis_server/src/server/driver.dart:414:7)
#40 main (file:///b/rr/tmpWBWkCz/w/src/third_party/dart/pkg/analysis_server/bin/server.dart:12:11)
#41 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#42 main (file:///b/rr/tmpWBWkCz/w/src/third_party/dart/pkg/analysis_server/bin/server.dart:10:10)
#43 _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:287:32)
#44 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
The text was updated successfully, but these errors were encountered: