watcher icon indicating copy to clipboard operation
watcher copied to clipboard

FileSystemException: Directory listing failed

Open scheglov opened this issue 10 years ago • 1 comments

It seems that the problem happens for external users too. See https://github.com/dart-lang/sdk/issues/25039#issuecomment-161050268

The questions are the same as for internal users - is it expected, what the client should do, and how to distinguish it from other FileSystemException situations?

Dart analysis server, SDK version 1.13.0, server version 1.12.0, FATAL error: Failed to handle request: {clientRequestTime: 1448956052309, params: {included: [/Volumes/Daten/DevLocal/DevDart/BeanValidator.Dart, 

[!!! HERE I HAD TO CUT OUT THE DIR-LIST BECAUSE IT WAS WAY TO LONG FOR THIS POST !!!]

/Volumes/Daten/DevLocal/DevDart/WebApp.Base.UI.MDL/tool/templates, /Volumes/Daten/DevLocal/DevJava/MobileAdvertising/classes], packageRoots: {}}, method: analysis.setAnalysisRoots, id: 3}
FileSystemException: Directory listing failed, path = '/Volumes/Daten/DevLocal/DevDart/MaterialDesignLiteSite/samples/spa_todo/build/web/' (OS Error: No such file or directory, errno = 2)
#0      AnalysisServer.sendServerErrorNotification (package:analysis_server/src/analysis_server.dart:913)
#1      AnalysisServer.handleRequest.<anonymous closure> (package:analysis_server/src/analysis_server.dart:715)
#2      _rootRunBinary (dart:async/zone.dart:930)
#3      _CustomZone.runBinary (dart:async/zone.dart:818)
#4      runZoned.<anonymous closure> (dart:async/zone.dart:1220)
#5      _CustomZone.handleUncaughtError (dart:async/zone.dart:784)
#6      _nullErrorHandler (dart:async/stream_impl.dart:575)
#7      _rootRunBinary (dart:async/zone.dart:926)
#8      _CustomZone.runBinary (dart:async/zone.dart:818)
#9      _CustomZone.runBinaryGuarded (dart:async/zone.dart:724)
#10     _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358)
#11     _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:374)
#12     _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:279)
#13     _SyncBroadcastStreamController._sendError.<anonymous closure> (dart:async/broadcast_stream_controller.dart:396)
#14     _BroadcastStreamController._forEachListener (dart:async/broadcast_stream_controller.dart:331)
#15     _SyncBroadcastStreamController._sendError (dart:async/broadcast_stream_controller.dart:395)
#16     _BroadcastStreamController.addError (dart:async/broadcast_stream_controller.dart:267)
#17     _rootRunBinary (dart:async/zone.dart:926)
#18     _CustomZone.runBinary (dart:async/zone.dart:818)

scheglov avatar Dec 01 '15 18:12 scheglov