redhat-developer / redhat-developer/vscode-java

After switching to standard mode, language server exits

Aperta
#1,563 5 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

[provide a description of the issue]
Starting the server in lightweight mode, then switching to standard mode causes the server to exit after a few minutes.

Environment
  • Operating System:
    Linux Mint
    4.15.0-112-generic GNU/Linux

  • JDK version:
    java --version
    openjdk 11.0.8 2020-07-14
    OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
    OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, 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-112-generic

  • Java extension version:
    0.65.0

Steps To Reproduce
  1. Project is opened with language server in lightweight mode.
    Server seems to be working fine, messages are being sent and responses are being received OK.

  2. Switch language server to standard mode
    Server seems to start, only to exit after a few minutes.
    [Trace - 5:08:38 AM] Sending request 'shutdown - (4)'.
    [Trace - 5:08:38 AM] Received response 'shutdown - (4)' in 50ms.
    Result: {}

[Trace - 5:08:38 AM] Sending notification 'exit'.
No parameters provided.

[Please attach a sample project reproducing the error]
Sorry, unable to do so due to company restrictions.

[Please attach [logs]]
-1596705089486.log

Additional Informations

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

Inizia dal log allegato del language-server e riproduci la sequenza segnalata: avvia in modalità leggera, passa alla modalità standard e osserva le notifiche successive di shutdown ed exit. Il lavoro è completato quando il server continua a essere in esecuzione dopo il cambio di modalità; non viene fornito alcun progetto di esempio né alcun file sorgente specifico.

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
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.