redhat-developer / redhat-developer/vscode-java
Error connecting to server
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 547
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
添付された vscode-java.error.txt と SemanticHighlightings のスタックトレースを確認し、記載されている VS Code、JDK、拡張機能のバージョンで任意の .java ファイルを開いてクラッシュを再現します。Language Server が起動に失敗する理由を特定し、Java ファイルを開く処理が報告されたエラーなしで完了することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100