redhat-developer / redhat-developer/vscode-java

After switching to standard mode, language server exits

Đang mở
#1,563 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
547
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

[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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với log language-server đính kèm và tái hiện chuỗi được báo cáo: khởi chạy ở chế độ nhẹ, chuyển sang chế độ tiêu chuẩn, rồi quan sát các thông báo shutdown và exit xuất hiện sau đó. Được xem là hoàn tất khi server vẫn tiếp tục chạy sau khi chuyển chế độ; không có project mẫu hoặc file mã nguồn cụ thể nào được cung cấp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, typescript, vscode
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.