Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RangeError in local reference contributor #24718

Closed
danrubel opened this issue Oct 23, 2015 · 1 comment
Closed

RangeError in local reference contributor #24718

danrubel opened this issue Oct 23, 2015 · 1 comment
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-completion Issues with the analysis server's code completion feature P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@danrubel
Copy link

Dart analysis server, SDK version 1.13.0-edge.76b7203c198dbfbd34dc57829fdbc7d687143c2c, server version 1.12.0, FATAL error: RangeError: Invalid value: Not in range 0..2687, inclusive: 2740

#0      _StringBase.startsWith (dart:core-patch/string_patch.dart:305)
#1      _LocalVisitor._LocalVisitor (package:analysis_server/src/services/completion/local_reference_contributor.dart:362)
#2      LocalReferenceContributor.computeFast (package:analysis_server/src/services/completion/local_reference_contributor.dart:35)
#3      DartCompletionManager.computeFast.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:analysis_server/src/services/completion/dart_completion_manager.dart:181)
#4      CompletionPerformance.logElapseTime (package:analysis_server/src/services/completion/completion_manager.dart:165)
#5      DartCompletionManager.computeFast.<anonymous closure>.<anonymous closure> (package:analysis_server/src/services/completion/dart_completion_manager.dart:180)
#6      ListMixin._filter (dart:collection/list.dart:282)
#7      Object&ListMixin.removeWhere (dart:collection/list.dart:268)
#8      DartCompletionManager.computeFast.<anonymous closure> (package:analysis_server/src/services/completion/dart_completion_manager.dart:179)
#9      CompletionPerformance.logElapseTime (package:analysis_server/src/services/completion/completion_manager.dart:165)
#10     DartCompletionManager.computeFast (package:analysis_server/src/services/completion/dart_completion_manager.dart:147)
#11     DartCompletionManager.computeSuggestions.<anonymous closure> (package:analysis_server/src/services/completion/dart_completion_manager.dart:240)
#12     CompletionPerformance.logElapseTime (package:analysis_server/src/services/completion/completion_manager.dart:165)
#13     DartCompletionManager.computeSuggestions (package:analysis_server/src/services/completion/dart_completion_manager.dart:239)
#14     CompletionManager.results.<anonymous closure>.<anonymous closure> (package:analysis_server/src/services/completion/completion_manager.dart:108)
#15     _rootRun (dart:async/zone.dart:903)
#16     _CustomZone.run (dart:async/zone.dart:802)
#17     _CustomZone.runGuarded (dart:async/zone.dart:708)
#18     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#19     _rootRun (dart:async/zone.dart:907)
#20     _CustomZone.run (dart:async/zone.dart:802)
#21     _CustomZone.runGuarded (dart:async/zone.dart:708)
#22     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#23     _microtaskLoop (dart:async/schedule_microtask.dart:43)
#24     _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
@danrubel danrubel added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-completion Issues with the analysis server's code completion feature labels Oct 23, 2015
@danrubel danrubel self-assigned this Oct 23, 2015
@bwilkerson bwilkerson added P1 A high priority bug; for example, a single project is unusable or has many test failures and removed Priority-Medium labels Nov 4, 2015
@danrubel
Copy link
Author

danrubel commented Jan 7, 2016

Fixed in LocalReferenceContributor as part of move to new completion API

@danrubel danrubel closed this as completed Jan 7, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. devexp-completion Issues with the analysis server's code completion feature P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

2 participants