redhat-developer / redhat-developer/vscode-java
Error connecting to server
Chưa có ai nhận issue này.
- 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ả
Hi,
I've installed the extension for first time, and when it starts it shows an error "The Language Support for Java server crashed".
It opens the server logs indicating:
java.lang.IllegalAccessError: tried to access method org.eclipse.jdt.ls.core.internal.highlighting.SemanticHighlightings$AutoboxHighlighting.()V from class org.eclipse.jdt.ls.core.internal.highlighting.SemanticHighlightings
I've tried disabling semantic highlighting, and cleaning the workspace w/out success.
Environment
-
Operating System:
linux debian base distro : Linux XXXX 4.15.0-29deepin-generic -
JDK version:
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+13-Debian-2)
OpenJDK 64-Bit Server VM (build 11+13-Debian-2, 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-29deepin-generic -
Java extension version:
v0.65.0
Steps To Reproduce
- Install VSCode and the extension
- Open any .java file, in the bottom right there's a spinning circle that ends up showing the error
I am attaching the log from the server. Please let me know if I am missing any useful information.
Additional Informations
Not sure if it adds any context, but I initially got the Java Extension Pack by sync configurations from another windows based vscode. I use "Settings Sync" extension. After getting this issue, I manually removed these packages and installed only the Language Support one but the issue persists.
vscode-java.error.txt
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Xem lại tệp vscode-java.error.txt đính kèm và stack trace của SemanticHighlightings, sau đó tái hiện sự cố bằng cách mở bất kỳ tệp .java nào với các phiên bản VS Code, JDK và extension được liệt kê. Xác định lý do language server không khởi động và xác minh rằng việc mở một tệp Java hoàn tất mà không có lỗi được báo cáo.
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
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100