Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotswapping throws file access exceptions into the console on windows #12

Open
Yoghurt4C opened this issue Feb 2, 2022 · 0 comments
Open

Comments

@Yoghurt4C
Copy link

from my limited testing:
-on archiloom 0.10.0 the reload succeeds but no changes are applied at runtime, two identical file access errors are printed into the console
-on archiloom 0.11.0 the reload succeeds and changes runtime classes but still prints the file access errors

[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: java.nio.file.FileSystemException: %appdata%\Local\Temp\838308561030404975.jar: The process cannot access the file because it is being used by another process
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at dev.architectury.transformer.TransformerRuntime.lambda$main$6(TransformerRuntime.java:178)
[16:18:21] [Thread-0/INFO] (Minecraft) [STDERR]: 	at dev.architectury.transformer.PathModifyListener.run(PathModifyListener.java:56)
[16:18:26] [Thread-0/INFO] (Minecraft) [STDERR]: java.nio.file.FileSystemException: %appdata%\Local\Temp\838308561030404975.jar: The process cannot access the file because it is being used by another process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant