redhat-developer / redhat-developer/vscode-java

Error connecting to server

Aperta
#1,566 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
2.3k
Fork
546
Merge medio
20h 1m
PR unite (30g)
11

Descrizione

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
  1. Install VSCode and the extension
  2. 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Esamina il file vscode-java.error.txt allegato e lo stack trace di SemanticHighlightings, quindi riproduci il crash aprendo un qualsiasi file .java con le versioni indicate di VS Code, JDK ed estensione. Determina perché il language server non si avvia e verifica che l’apertura di un file Java venga completata senza l’errore segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, typescript, vscode
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.