-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 editor FileNotFoundException at startup #1935
Comments
We had some issues in the editor not following all the changes happening to the libraries. This has been fixed. Added Fixed label. |
copybara-service bot
pushed a commit
that referenced
this issue
Jun 7, 2023
Revisions updated by `dart tools/rev_sdk_deps.dart`. dartdoc (https://github.com/dart-lang/dartdoc/compare/0c8feac..449478c): 449478c7 Tue Jun 6 20:04:19 2023 -0700 Sam Rawlins Search: specify package rank in generation; distinguish non-core Dart libs (#3427) 81af1bf3 Tue Jun 6 17:31:02 2023 -0700 Janice Collins Prepare for dartdoc 6.3.0. (#3430) 2b7340d3 Tue Jun 6 17:30:40 2023 -0700 Sam Rawlins Explicitly export Kind; for internal customer (#3431) 896540c0 Mon Jun 5 19:39:10 2023 +0000 dependabot[bot] Bump github/codeql-action from 2.3.5 to 2.3.6 (#3429) lints (https://github.com/dart-lang/lints/compare/fc74ce0..4b79906): 4b79906 Tue Jun 6 15:15:22 2023 -0500 Parker Lougheed Link to 'dart fix' docs in table header (#132) b7766d6 Tue Jun 6 09:05:20 2023 -0700 Devon Carew add 'has quick-fix' checkboxes to the package's readme (#131) native (https://github.com/dart-lang/native/compare/c851e69..973f3ed): 973f3ed Tue Jun 6 10:26:58 2023 +0000 Daco Harkes [native_assets_cli] Add `dry_run` option (#59) webdev (https://github.com/dart-lang/webdev/compare/b10d62b..3d7f546): 3d7f546f Mon Jun 5 16:24:16 2023 -0700 Elliott Brooks Add Webdev installation test (#1935) 9297c663 Mon Jun 5 14:31:43 2023 -0700 Elliott Brooks Remove unnecessary `async` keywords(#2130) 6b112b06 Mon Jun 5 12:45:34 2023 -0700 Elliott Brooks Run DCM workflow against PR branch (#2131) Change-Id: I6728516c13c1d45f8bbd65c266076c6028ed45ef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307962 Reviewed-by: Devon Carew <[email protected]> Auto-Submit: Janice Collins <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]> Commit-Queue: Janice Collins <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally filed by [email protected]
I'm seeing a huge number of exceptions like the following when I start dart editor (r4808).
!ENTRY com.google.dart.tools.core 4 0 2012-03-01 10:03:08.146
!MESSAGE Cannot access elements in compilation unit Uint16ArrayWrappingImplementation.dart
!STACK 1
Dart Model Exception: java.io.FileNotFoundException: /home/mattsh/dart_editor/dart/libraries/htmlimpl/src/Uint16ArrayWrappingImplementation.dart (No such file or directory)
at com.google.dart.tools.core.internal.model.ExternalCompilationUnitImpl.readBuffer(ExternalCompilationUnitImpl.java:174)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.openBuffer(CompilationUnitImpl.java:1665)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.buildStructure(CompilationUnitImpl.java:1501)
at com.google.dart.tools.core.internal.model.ExternalCompilationUnitImpl.buildStructure(ExternalCompilationUnitImpl.java:150)
at com.google.dart.tools.core.internal.model.OpenableElementImpl.generateInfos(OpenableElementImpl.java:477)
at com.google.dart.tools.core.internal.model.DartElementImpl.openWhenClosed(DartElementImpl.java:520)
at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:298)
at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:283)
at com.google.dart.tools.core.internal.model.DartElementImpl.getChildren(DartElementImpl.java:237)
at com.google.dart.tools.core.internal.model.DartElementImpl.getChildrenOfType(DartElementImpl.java:249)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.getTypes(CompilationUnitImpl.java:1295)
at com.google.dart.tools.core.indexer.DartIndexer.initializeBundledLocations(DartIndexer.java:891)
at com.google.dart.tools.core.indexer.DartIndexer.getBundledClassLocations(DartIndexer.java:851)
at com.google.dart.tools.core.indexer.DartIndexer.getAllTypes(DartIndexer.java:171)
at com.google.dart.tools.core.indexer.DartIndexer.warmUpIndexer(DartIndexer.java:838)
at com.google.dart.tools.ui.DartUIStartup$StartupJob.indexerWarmup(DartUIStartup.java:93)
at com.google.dart.tools.ui.DartUIStartup$StartupJob.run(DartUIStartup.java:51)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: /home/mattsh/dart_editor/dart/libraries/htmlimpl/src/Uint16ArrayWrappingImplementation.dart (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileReader.<init>(FileReader.java:72)
at com.google.dart.compiler.UrlSource.getSourceReader(UrlSource.java:103)
at com.google.dart.tools.core.internal.model.ExternalCompilationUnitImpl.readBuffer(ExternalCompilationUnitImpl.java:166)
... 17 more
Caused by: java.io.FileNotFoundException: /home/mattsh/dart_editor/dart/libraries/htmlimpl/src/Uint16ArrayWrappingImplementation.dart (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileReader.<init>(FileReader.java:72)
at com.google.dart.compiler.UrlSource.getSourceReader(UrlSource.java:103)
at com.google.dart.tools.core.internal.model.ExternalCompilationUnitImpl.readBuffer(ExternalCompilationUnitImpl.java:166)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.openBuffer(CompilationUnitImpl.java:1665)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.buildStructure(CompilationUnitImpl.java:1501)
at com.google.dart.tools.core.internal.model.ExternalCompilationUnitImpl.buildStructure(ExternalCompilationUnitImpl.java:150)
at com.google.dart.tools.core.internal.model.OpenableElementImpl.generateInfos(OpenableElementImpl.java:477)
at com.google.dart.tools.core.internal.model.DartElementImpl.openWhenClosed(DartElementImpl.java:520)
at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:298)
at com.google.dart.tools.core.internal.model.DartElementImpl.getElementInfo(DartElementImpl.java:283)
at com.google.dart.tools.core.internal.model.DartElementImpl.getChildren(DartElementImpl.java:237)
at com.google.dart.tools.core.internal.model.DartElementImpl.getChildrenOfType(DartElementImpl.java:249)
at com.google.dart.tools.core.internal.model.CompilationUnitImpl.getTypes(CompilationUnitImpl.java:1295)
at com.google.dart.tools.core.indexer.DartIndexer.initializeBundledLocations(DartIndexer.java:891)
at com.google.dart.tools.core.indexer.DartIndexer.getBundledClassLocations(DartIndexer.java:851)
at com.google.dart.tools.core.indexer.DartIndexer.getAllTypes(DartIndexer.java:171)
at com.google.dart.tools.core.indexer.DartIndexer.warmUpIndexer(DartIndexer.java:838)
at com.google.dart.tools.ui.DartUIStartup$StartupJob.indexerWarmup(DartUIStartup.java:93)
at com.google.dart.tools.ui.DartUIStartup$StartupJob.run(DartUIStartup.java:51)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The text was updated successfully, but these errors were encountered: