redhat-developer / redhat-developer/vscode-java
[error] [Extension Host] Error: Given URI does not belong to an existing Java source file.
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先从报告中的 stack trace 和 Java extension 版本开始,然后使用所述的 Windows、JDK 和 VS Code 环境复现错误。issue 的复现步骤、示例项目和日志均缺失;当打开 Java 文件不再产生错误,并且其符号出现在 outline view 中时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100