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

Exception from assist contributor: DefaultAssistContributor RangeError: Value not in range: 4 #25219

Closed
scheglov opened this issue Dec 10, 2015 · 2 comments
Assignees
Labels
analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.

Comments

@scheglov
Copy link
Contributor

Dart analysis server, SDK version 1.14.0-edge.eab11aaac5add1b4146cfef32ac4f15054b352b4, server version 1.14.0, error: Exception from assist contributor: DefaultAssistContributor
RangeError: Value not in range: 4
#0      _StringBase.substring (dart:core-patch/string_patch.dart:365)
#1      AssistProcessor._addProposal_convertDocumentationIntoBlock (package:analysis_server/src/services/correction/assist_internal.dart:417:34)
#2      AssistProcessor.compute.<compute_async_body> (package:analysis_server/src/services/correction/assist_internal.dart:96:5)
#3      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
#4      _rootRun (dart:async/zone.dart:903)
#5      _CustomZone.run (dart:async/zone.dart:802)
#6      _CustomZone.runGuarded (dart:async/zone.dart:708)
#7      _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#8      _rootRun (dart:async/zone.dart:907)
#9      _CustomZone.run (dart:async/zone.dart:802)
#10     _CustomZone.runGuarded (dart:async/zone.dart:708)
#11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#12     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#13     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#14     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#15     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)


java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:127)
    at com.jetbrains.lang.dart.analyzer.DartAnalysisServerService$1.serverError(DartAnalysisServerService.java:206)
    at com.google.dart.server.internal.BroadcastAnalysisServerListener.serverError(BroadcastAnalysisServerListener.java:180)
@scheglov scheglov added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-server FixIt-15Q4 labels Dec 10, 2015
@scheglov scheglov self-assigned this Dec 10, 2015
@scheglov
Copy link
Contributor Author

scheglov added a commit that referenced this issue Dec 10, 2015
@scheglov
Copy link
Contributor Author

f93d4fd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Projects
None yet
Development

No branches or pull requests

1 participant