B4J Question java.nio.file.FileAlreadyExistsException?

KL7000F

Member
Licensed User
Longtime User
Hello,

I get the following error when creating a package.
However, I cannot find this file anywhere. Where is the error?

B4X:
Running: C:\Java\bin\jar
java.nio.file.FileAlreadyExistsException: .\jartmp17796880034582065008.tmp -> jar.jar
    at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87)
    at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
    at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:395)
    at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:288)
    at java.base/java.nio.file.Files.move(Files.java:1421)
    at jdk.jartool/sun.tools.jar.Main.validateAndClose(Main.java:466)
    at jdk.jartool/sun.tools.jar.Main.run(Main.java:372)
    at jdk.jartool/sun.tools.jar.Main.main(Main.java:1676)
 

KL7000F

Member
Licensed User
Longtime User
Hello,

I think it's a problem with my Synology NAS. TMP files are created somewhere there and cause problems.
On a regular SSD/HDD it is possible to create a package.
 
Upvote 0
Top