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

Crash on open if "Saves" is a link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w49b, Minecraft 18w05a, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w19b, Minecraft 18w20c, Minecraft 1.13
    • Fix Version/s: Minecraft 18w31a
    • Labels:
      None
    • Environment:

      Linux (amd64) version 4.13.0-0.bpo.1-amd64

    • Confirmation Status:
      Community Consensus

      Description

      The bug

      Minecraft no longer starts if "saves" folder is a link as it tries to create it and an exception occurs, making the game crash.

      Note: I use this "trick" to share games between Windows and Linux platform.

      Crash report

      Description: Initializing game
      
      java.lang.RuntimeException: java.nio.file.FileAlreadyExistsException: /home/alain/.minecraft/saves
      	at bix.<init>(SourceFile:36)
      	at biu.<init>(SourceFile:38)
      	at bmm.an(SourceFile:450)
      	at bmm.a(SourceFile:366)
      	at net.minecraft.client.main.Main.main(SourceFile:134)
      Caused by: java.nio.file.FileAlreadyExistsException: /home/alain/.minecraft/saves
      	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 bix.<init>(SourceFile:33)
      	... 4 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Biscotti Alain Cabiran
              • Votes:
                16 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: