redhat-developer / redhat-developer/vscode-java

After switching to standard mode, language server exits

未关闭
#1,563 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

[provide a description of the issue]
Starting the server in lightweight mode, then switching to standard mode causes the server to exit after a few minutes.

Environment
  • Operating System:
    Linux Mint
    4.15.0-112-generic GNU/Linux

  • JDK version:
    java --version
    openjdk 11.0.8 2020-07-14
    OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
    OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)

  • Visual Studio Code version:
    Version: 1.47.3
    Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
    Date: 2020-07-23T15:51:39.791Z
    Electron: 7.3.2
    Chrome: 78.0.3904.130
    Node.js: 12.8.1
    V8: 7.8.279.23-electron.0
    OS: Linux x64 4.15.0-112-generic

  • Java extension version:
    0.65.0

Steps To Reproduce
  1. Project is opened with language server in lightweight mode.
    Server seems to be working fine, messages are being sent and responses are being received OK.

  2. Switch language server to standard mode
    Server seems to start, only to exit after a few minutes.
    [Trace - 5:08:38 AM] Sending request 'shutdown - (4)'.
    [Trace - 5:08:38 AM] Received response 'shutdown - (4)' in 50ms.
    Result: {}

[Trace - 5:08:38 AM] Sending notification 'exit'.
No parameters provided.

[Please attach a sample project reproducing the error]
Sorry, unable to do so due to company restrictions.

[Please attach [logs]]
-1596705089486.log

Additional Informations

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从附带的 language-server 日志开始,复现所报告的序列:以轻量模式启动,切换到标准模式,并观察之后的 shutdown 和 exit 通知。完成的标准是服务器在模式切换后仍保持运行;未提供示例项目或特定源文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。