Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-133859

Using an alias for the backups folder can crash Minecraft

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b
    • Unconfirmed

      In anticipation of starting up a new survival world for 1.13, I decided to try out the new Backup World feature, which looked very promising. My plan was to create an alias for the backups folder, then move the original into my Dropbox folder, leaving the alias within the minecraft folder. The goal here is to have Dropbox automatically back up my Minecraft backups, for an extra level of security as well as flexibility. I have done this with other apps before, such as iTunes, but Minecraft will not cooperate:

      • If I try to create a backup with an alias folder named "backups", the game crashes. Attached is a crash report generated after one such attempt.
      • If I try to create a backup with an alias folder named anything else, the game creates a new folder named "backups" and stores the backup there, thus effectively nullifying my attempts to have Dropbox automatically back up my worlds.
      (1.13-pre10) [^crash-2018-07-17_16.45.42-client.txt]
      Description: mouseClicked event handler
      
      java.lang.RuntimeException: java.nio.file.FileAlreadyExistsException: ###/minecraft/backups
      	at cbr.h(SourceFile:51)
      	at cmm.a(SourceFile:150)
      	at cmm$3.a(SourceFile:73)
      	at cgh.mouseClicked(SourceFile:103)
      	at chd.mouseClicked(SourceFile:46)
      	at cfi.b(SourceFile:83)
      	at cjq.a(SourceFile:430)
      	at cfi.a(SourceFile:83)
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3029)
      	at cfq.a(SourceFile:308)
      	at cfg.c(SourceFile:872)
      	at cfg.a(SourceFile:392)
      	at net.minecraft.client.main.Main.main(SourceFile:144)
      Caused by: java.nio.file.FileAlreadyExistsException: ###/minecraft/backups
      	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      	at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
      	at java.nio.file.Files.createDirectory(Files.java:674)
      	at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
      	at java.nio.file.Files.createDirectories(Files.java:727)
      	at cbr.h(SourceFile:49)
      	... 14 more
      

            Unassigned Unassigned
            MacchuPicchu96 MacchuPicchu96
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: