redhat-developer / redhat-developer/vscode-java
Extension does not start if the variable being used is on a network share
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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:\
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Windows 11、Corretto 17、VS Code 1.94.2、および C: への書き込みアクセス権を持たないユーザーで再現し、該当する変数を \fs02. に設定します。まず、拡張機能のアクティベーションと、ブートストラップパスでのその変数の処理を追跡し、次にリンクされたトラブルシューティングログを有効にします。Java 拡張機能と関連する Java 拡張機能が、C:\fs02 の作成を試みずにアクティベートされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100