redhat-developer / redhat-developer/vscode-java
Error connecting to server
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.3k
- Forks
- 546
- Merge medio
- 20 h 1 min
- PR fusionados (30 d)
- 11
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Revisa el archivo vscode-java.error.txt adjunto y el stack trace de SemanticHighlightings, y luego reproduce el fallo abriendo cualquier archivo .java con las versiones indicadas de VS Code, JDK y la extensión. Determina por qué el servidor de lenguaje no se inicia y verifica que la apertura de un archivo Java se complete sin el error indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, typescript, vscode
- Área
- devtools
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100