You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hohwille opened this issue
Feb 10, 2025
· 0 comments
Labels
bugSomething isn't workingpluginsrelated to plugins (for Eclipse, Intellij, VSCode, etc.)updaterelated to updating software or the entire idevscodeMicrosoft visual studio codewindowsspecific for Microsoft Windows OS
Start: Install vscode
Could not determine file extension from URL https://update.code.visualstudio.com/1.97.0/win32-x64-archive/stable - guess was zip but may be incorrect.
Trying to download vscode-1.97.0-windows-x64.zip from https://update.code.visualstudio.com/1.97.0/win32-x64-archive/stable
Downloading 100% [=================================================================================================================================================================================================================] 141/141MiB (0:00:06 / 0:00:00) 23.6MiB/s
Checksum 0e6aa00e08ed92d9c6efecdb602cfe54f3cf4a004e9d8efa48b1bc24d62f5378 is correct.
Extracting ZIP file C:\Users\hohwille\Downloads\ide\default\vscode-1.97.0-windows-x64.zip to D:\projects\_ide\tmp\extract-vscode-1.97.0-windows-x64.zip
Extracting 100% [==================================================================================================================================================================================================================] 404/404MiB (0:00:07 / 0:00:00) 57.8MiB/s
Installation of vscode failed!
java.lang.IllegalStateException: Failed to delete D:\projects\IDEasy\plugins\vscode
at com.devonfw.tools.ide.io.FileAccessImpl.delete(FileAccessImpl.java:784)
at com.devonfw.tools.ide.tool.plugin.PluginBasedCommandlet.postInstall(PluginBasedCommandlet.java:102)
at com.devonfw.tools.ide.tool.LocalToolCommandlet.install(LocalToolCommandlet.java:98)
at com.devonfw.tools.ide.tool.ToolCommandlet.install(ToolCommandlet.java:244)
at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.updateSoftware(AbstractUpdateCommandlet.java:192)
at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.run(AbstractUpdateCommandlet.java:63)
at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:915)
at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:833)
at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:95)
at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:59)
at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:133)
at java.base@21.0.2/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
Caused by: java.nio.file.AccessDeniedException: D:\projects\IDEasy\plugins\vscode\angular.ng-template-19.0.3\angular.png
at java.base@21.0.2/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273)
at java.base@21.0.2/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:104)
at java.base@21.0.2/java.nio.file.Files.delete(Files.java:1152)
at com.devonfw.tools.ide.io.FileAccessImpl.deleteRecursive(FileAccessImpl.java:800)
at com.devonfw.tools.ide.io.FileAccessImpl.deleteRecursive(FileAccessImpl.java:795)
at com.devonfw.tools.ide.io.FileAccessImpl.deleteRecursive(FileAccessImpl.java:795)
at com.devonfw.tools.ide.io.FileAccessImpl.delete(FileAccessImpl.java:781)
... 11 more
Is this a file locking error?
I do not even have any instance of VSCode running.
There seems no lock on the file and in Windows Explorer I could easily delete the file.
So what is going wrong deleting the file via Java / native image?
The text was updated successfully, but these errors were encountered:
hohwille
added
bug
Something isn't working
plugins
related to plugins (for Eclipse, Intellij, VSCode, etc.)
update
related to updating software or the entire ide
vscode
Microsoft visual studio code
windows
specific for Microsoft Windows OS
labels
Feb 10, 2025
bugSomething isn't workingpluginsrelated to plugins (for Eclipse, Intellij, VSCode, etc.)updaterelated to updating software or the entire idevscodeMicrosoft visual studio codewindowsspecific for Microsoft Windows OS
Is this a file locking error?
I do not even have any instance of VSCode running.
There seems no lock on the file and in Windows Explorer I could easily delete the file.
So what is going wrong deleting the file via Java / native image?
The text was updated successfully, but these errors were encountered: