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

Dart Analysis Server crash on flutter plugin development #37148

Closed
leoneparise opened this issue Jun 3, 2019 · 2 comments
Closed

Dart Analysis Server crash on flutter plugin development #37148

leoneparise opened this issue Jun 3, 2019 · 2 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.

Comments

@leoneparise
Copy link

leoneparise commented Jun 3, 2019

I'm developing a new plugin for flutter framework. When I do a pod install, which create a .symlinks into example/ios folder, it crashes the Dart Analysis Server.

Is there a way to prevent the analyzer to follow the .symlinks folder?.

Analyzer Feedback from IntelliJ

Version information

  • IDEA AI-183.6156.11.34.5522156
  • 2.3.0-edge.a1668566e563aef64025d0af88a099cbbe847b7e
  • AI-183.6156.11.34.5522156, JRE 1.8.0_152-release-1343-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.5, screens 1680x1050 Retina

Exception

Dart analysis server, SDK version 2.3.0-edge.a1668566e563aef64025d0af88a099cbbe847b7e, server version 1.26.0, error: FileSystemException(path=/Users/leone/Development/Workspaces/Other/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/wallet_core/example/ios/.symlinks/plugins/path_provider/example/android/app/src/main/java/io/flutter/plugins/pathproviderexample/MainActivity; message=Directory listing failed)
#0      _PhysicalFolder.getChildren (package:analyzer/file_system/physical_file_system.dart:334:7)
#1      _OverlayFolder.getChildren (package:analyzer/file_system/overlay_file_system.dart:334:10)
#2      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1144:32)
#3      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#4      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#5      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#6      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#7      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#8      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#9      ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#10     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#11     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#12     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#13     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#14     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#15     ContextManagerImpl._createContext.checkManifestFilesIn (package:analysis_server/src/context_manager.dart:1152:33)
#16     ContextManagerImpl
@vsmenon vsmenon added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Jun 3, 2019
@DanTup
Copy link
Collaborator

DanTup commented Jun 5, 2019

This is the same issue as #36919.

@DanTup DanTup closed this as completed Jun 5, 2019
@DanTup
Copy link
Collaborator

DanTup commented Jun 6, 2019

It turns out this issue is fixed, but the fix hasn't made the Flutter stable channel. You could try switching to beta/dev as a short-term fix until the fix reaches stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants