redhat-developer / redhat-developer/vscode-java
Error: The Language Support for Java server crashed 5 times in the last 3 minutes. The server will not be restarted.
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
This extension cannot start successfully and popup this error message. I found some logs in the output, hope it can help:
[Info - 11:24:22 AM] Connection to server got closed. Server will restart.
[Info - 11:24:23 AM] Connection to server got closed. Server will restart.
[Warn - 11:24:24 AM] Dec 6, 2016 11:24:24 AM The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
[Info - 11:24:25 AM] Connection to server got closed. Server will restart.
[Warn - 11:24:26 AM] Dec 6, 2016 11:24:26 AM The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
[Info - 11:24:26 AM] Connection to server got closed. Server will restart.
[Warn - 11:24:27 AM] Dec 6, 2016 11:24:27 AM The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
[Error - 11:24:27 AM] Connection to server got closed. Server will not be restarted.
Environment
- Operating System: Windows 7 Enterprise
- JDK version: 1.8.0_40 (Setting JAVA_HOME environment variable only)
- Visual Studio Code version: 1.7.2
- Java extension version: 0.0.7
Steps To Reproduce
- Download and install vscode 1.7.2
- Search and install this extension: Language Support for Java(TM) by Red Hat
- Open a .java file to start this extension
- (Optional) Check the popup message and output logs
Additional Informations
I installed the same-version vscode and extension to another machine whose system is Windows 10, and the extension can work as expected.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,按照列出的步骤,使用 VS Code 1.7.2、Java extension 0.0.7、JDK 1.8.0_40 和 Windows 7 重现崩溃,然后检查 language-server 的输出,查看是否存在反复的连接关闭和工作区恢复警告。完成标准是 Java extension 成功启动,并且不再进入崩溃五次后的关闭状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100