Skip to content

Dart Analyzer Error #38399

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

Closed
Arefalhaj opened this issue Sep 15, 2019 · 2 comments
Closed

Dart Analyzer Error #38399

Arefalhaj opened this issue Sep 15, 2019 · 2 comments

Comments

@Arefalhaj
Copy link

Analyzer Feedback from IntelliJ

Version information

  • IDEA WS-192.6603.19
  • 2.5.0
  • WS-192.6603.19, JRE 11.0.3+12-b304.56x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1366x768

Exception

Dart analysis server, SDK version 2.5.0, server version 1.27.2, error: Could not initialize the library map from [E:\android\sdk\lib\_internal\sdk_library_metadata\lib\libraries.dart, E:\android\sdk\lib\_internal\libraries.dart]

FileSystemException(path=E:\android\sdk\lib\_internal\libraries.dart; message=Cannot open file)
#0      _PhysicalFile.readAsStringSync (package:analyzer/file_system/physical_file_system.dart:212:7)
#1      _OverlayFile.readAsStringSync (package:analyzer/file_system/overlay_file_system.dart:249:18)
#2      FolderBasedDartSdk.initialLibraryMap (package:analyzer/src/dart/sdk/sdk.dart:623:41)
#3      new FolderBasedDartSdk (package:analyzer/src/dart/sdk/sdk.dart:493:18)
#4      ContextBuilder.findSdk.<anonymous closure> (package:analyzer/src/context/builder.dart:411:36)
#5      _HashMap.putIfAbsent (dart:collection-patch/collection_patch.dart:137:29)
#6      DartSdkManager.getSdk (package:analyzer/src/generated/sdk.dart:146:19)
#7      ContextBuilder.findSdk (package:analyzer/src/context/builder.dart:410:23)
#8      ContextBuilder.createSourceFactory (package:analyzer/src/context/builder.dart:288:19)
#9      ContextBuilder.buildDriver (package:analyzer/src/context/builder.dart:185:16)
#10     ServerContextManagerCallbacks.addAnalysisDriver (package:analysis_server/src/analysis_server.dart:776:48)
#11     ContextManagerImpl._createContext (package:analysis_server/src/context_manager.dart:1154:19)
@srawlins
Copy link
Member

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

@srawlins
Copy link
Member

Duplicate of #38157

@srawlins srawlins marked this as a duplicate of #38157 Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants