redhat-developer / redhat-developer/vscode-java
Extension does not start if the variable being used is on a network share
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
The exception fails at starting, with an exception. I don't know what OS variable is used at bootstrap (maybe APPDATA?), but in my case that is set to a network share, and does not work as it seems it get chained to C:
Environment
- Operating System: Windows 11
- JDK version: Corrretto-17
- Visual Studio Code version: 1.94.2
- Java extension version: 1.35.1
Steps To Reproduce
- User without write rights on C:\
- Open a Java file
- Error output:
Java Extension fails to activate.
Error while activating Java: {"name":"Error","message":"Activating extension 'redhat.java' failed: EPERM: operation not permitted, mkdir 'C:\\fs02'."}. If vscode-java failed to activate, try these troubleshooting steps: https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Exception, the extension and all java-related extensions do not start
Expected Result
The extension should run
Additional Informations
\fs02\ is the starting path of the network share, that is not inside C:\
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema su Windows 11 con Corretto 17, VS Code 1.94.2 e un utente privo di accesso in scrittura a C:, con la variabile pertinente impostata su \fs02. Inizia tracciando l’attivazione dell’estensione e la gestione di quella variabile nel percorso di bootstrap, quindi abilita i log di troubleshooting collegati. Il lavoro è completato quando l’estensione Java e le estensioni Java correlate si attivano senza tentare di creare C:\fs02.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, typescript, vscode
- Ambito
- developer-experience, 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