redhat-developer / redhat-developer/vscode-java
[error] [Extension Host] Error: Given URI does not belong to an existing Java source file.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
2024-10-02 16:13:20.410 [error] [Extension Host] Error: Given URI does not belong to an existing Java source file.
at c:\Users\vekarnat.vscode\extensions\redhat.java-1.35.1-win32-x64\dist\extension.js:2:1090351
at re (c:\Users\vekarnat.vscode\extensions\redhat.java-1.35.1-win32-x64\dist\extension.js:2:1090645)
at c:\Users\vekarnat.vscode\extensions\redhat.java-1.35.1-win32-x64\dist\extension.js:2:1085429
at Immediate. (c:\Users\vekarnat.vscode\extensions\redhat.java-1.35.1-win32-x64\dist\extension.js:2:1085449)
at processImmediate (node:internal/timers:478:21)
Environment
- Operating System: Windows 10 Enterprise
- JDK version: Adopt Open JDK 17
- Visual Studio Code version: 1.93.1
- Java extension version: 1.35.1
Steps To Reproduce
- [step 1]
- [step 2]
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Getting above error whenever java file is opened in editor even though file path is correct. When this error occurs, file symbols not populated in outline view.
Expected Result
This error should not come
Symbols of file should populate in outline view.
Additional Informations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported stack trace and the Java extension version, then reproduce the error using the stated Windows, JDK, and VS Code environment. The issue's reproduction steps, sample project, and logs are missing; done means opening a Java file no longer produces the error and its symbols appear in the outline view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100