redhat-developer / redhat-developer/vscode-java

Extension does not start if the variable being used is on a network share

Đang mở
#3,820 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

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
  1. User without write rights on C:\
  2. Open a Java file
  3. 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:\

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện trên Windows 11 với Corretto 17, VS Code 1.94.2 và một người dùng không có quyền ghi vào C:, với biến liên quan được đặt thành \fs02. Trước tiên, hãy truy vết quá trình kích hoạt extension và cách xử lý biến đó trong đường dẫn bootstrap, sau đó bật các nhật ký troubleshooting được liên kết. Hoàn thành khi Java extension và các Java extension liên quan được kích hoạt mà không cố tạo C:\fs02.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, typescript, vscode
Lĩnh vực
developer-experience, devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.