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

Analyzer error: Failed to handle request: {id: 5, method: analysis.setAnalysisRoots, ... #39458

Closed
giorgiofran opened this issue Nov 20, 2019 · 3 comments
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@giorgiofran
Copy link

Analyzer Feedback from IntelliJ

Version information

  • IDEA WS-192.7142.35
  • 2.6.1
  • WS-192.7142.35, JRE 11.0.4+10-b304.77x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080

Exception

Dart analysis server, SDK version 2.6.1, server version 1.27.3, FATAL error: Failed to handle request: {id: 5, method: analysis.setAnalysisRoots, params: {included: [C:\Users\G\Projects\Dart.2\condominium\condominium_web, C:\Users\G\Projects\Dart.2\ledger\ledger_web, C:\Users\G\Projects\Dart.2\vidya\vidya_web], excluded: [C:\Users\G\Projects\Dart.2\condominium\condominium_web\.idea, C:\Users\G\Projects\Dart.2\condominium\condominium_web\.dart_tool, C:\Users\G\Projects\Dart.2\condominium\condominium_web\.pub, C:\Users\G\Projects\Dart.2\condominium\condominium_web\.tmp, C:\Users\G\Projects\Dart.2\condominium\condominium_web\build, C:\Users\G\Projects\Dart.2\condominium\condominium_web\old, C:\Users\G\Projects\Dart.2\condominium\condominium_web\temp, C:\Users\G\Projects\Dart.2\condominium\condominium_web\tmp, C:\Users\G\Projects\Dart.2\ledger\ledger_web\.dart_tool, C:\Users\G\Projects\Dart.2\ledger\ledger_web\.pub, C:\Users\G\Projects\Dart.2\ledger\ledger_web\build, C:\Users\G\Projects\Dart.2\ledger\ledger_web\old, C:\Users\G\Projects\Dart.2\vidya\vidya_web\.dart_tool, C:\Users\G
[report.txt](https://github.com/dart-lang/sdk/files/3867948/report.txt)
\Projects\Dart.2\vidya\vidya_web\.pub, C:\Users\G\Projects\Dart.2\vidya\vidya_web\build, C:\Users\G\Projects\Dart.2\vidya\vidya_web\old]}, clientRequestTime: 1574234937738}
FileSystemException: Directory watcher closed unexpectedly, path = 'C:\Users\G\Projects\Dart.2\condominium\condominium_web'
#0      _FileSystemWatcher._listenOnSocket.<anonymous closure> (dart:io-patch/file_patch.dart:307:11)
#1      _ExpandStream._handleData (dart:async/stream_pipe.dart:248:23)
#2      _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:164:13)
#3      _rootRunUnary (dart:async/zone.dart:1136:13)
#4      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#5      _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#8      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:764:19)
#9      _StreamController._add (dart:async/stream_controller.dart:640:7)
#10     _StreamController.add (dart:async/stream_controller.dart:586:5)
#11     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1384:35)
#12     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:890:18)
#13     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#15     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#16     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

For additional log information, please append the contents of
file://C:\Users\G\AppData\Local\Temp\report.txt.

@giorgiofran
Copy link
Author

report.txt

@srawlins srawlins added analyzer-crash-report Issues which have been reported due to an analysis server crash area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Nov 20, 2019
@srawlins
Copy link
Member

Thanks for reporting this issue! This was previously reported at #38853; please follow along there.

@srawlins
Copy link
Member

Duplicate of #38853

@srawlins srawlins marked this as a duplicate of #38853 Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-crash-report Issues which have been reported due to an analysis server crash area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants