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

failed to stat a resource for file watching #695

Open
Eskibear opened this issue Oct 27, 2022 · 2 comments · May be fixed by #696
Open

failed to stat a resource for file watching #695

Eskibear opened this issue Oct 27, 2022 · 2 comments · May be fixed by #696
Labels
bug Something isn't working upstream

Comments

@Eskibear
Copy link
Member

Repro steps: Open spring-petclinic.

MainThreadFileSystem#$watch(): failed to stat a resource for file watching (extension: vscjava.vscode-java-dependency, path: file:///c:/Users/yanzh/Desktop/spring-petclinic/target/generated-sources/annotations, recursive: true, session: 0.2511242984362432): EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\yanzh\Desktop\spring-petclinic\target\generated-sources\annotations'
@jdneo jdneo transferred this issue from microsoft/vscode-java-test Oct 27, 2022
@jdneo jdneo added the bug Something isn't working label Oct 27, 2022
@Eskibear
Copy link
Member Author

Also occur in vscode-java-test extension.

ERR MainThreadFileSystem#$watch(): failed to stat a resource for file watching (extension: vscjava.vscode-java-dependency, path: file:///c:/Users/yanzh/Desktop/spring-petclinic/target/generated-sources/annotations, recursive: true, session: 0.21007677817315185): EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\yanzh\Desktop\spring-petclinic\target\generated-sources\annotations'

ERR MainThreadFileSystem#$watch(): failed to stat a resource for file watching (extension: vscjava.vscode-java-dependency, path: file:///c:/Users/yanzh/Desktop/spring-petclinic/target/generated-test-sources/test-annotations, recursive: true, session: 0.5921958898854154): EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\yanzh\Desktop\spring-petclinic\target\generated-test-sources\test-annotations'

ERR MainThreadFileSystem#$watch(): failed to stat a resource for file watching (extension: vscjava.vscode-java-test, path: file:///c:/Users/yanzh/Desktop/spring-petclinic/target/generated-test-sources/test-annotations, recursive: true, session: 0.48545096781711017): EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\yanzh\Desktop\spring-petclinic\target\generated-test-sources\test-annotations'

@jdneo jdneo linked a pull request Oct 28, 2022 that will close this issue
@jdneo
Copy link
Member

jdneo commented Oct 31, 2022

I found that though there is an error in the console, the file watcher works as expected after the folder is created on disk.

I filed an issue upstream: microsoft/vscode#165025

Let's wait and see the response.

@jdneo jdneo added the upstream label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants