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.

Đang mở
#112 70 bình luận 7 reaction 0 người được giao Xem trên GitHub

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

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

Mô tả

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
  1. Download and install vscode 1.7.2
  2. Search and install this extension: Language Support for Java(TM) by Red Hat
  3. Open a .java file to start this extension
  4. (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.

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

Trước tiên, hãy tái hiện sự cố bằng các bước đã nêu với VS Code 1.7.2, Java extension 0.0.7, JDK 1.8.0_40 và Windows 7, sau đó kiểm tra đầu ra của language-server để tìm các lần đóng kết nối lặp lại và các cảnh báo khôi phục workspace. Được xem là hoàn tất khi Java extension khởi động thành công và không còn đạt đến trạng thái tắt sau năm lần sự cố.

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
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.