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

Server crash if world is a symbolic link as of 20w14a

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 20w14a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      Starting with 20w14a, if the world folder is a symbolic link to the actual world, the server crashes:

      [11:23:07] [main/FATAL]: Failed to start the minecraft server

      java.nio.file.FileAlreadyExistsException: ./world

      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:94) ~[?:?]

      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]

      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]

      at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:389) ~[?:?]

      at java.nio.file.Files.createDirectory(Files.java:689) ~[?:?]

      at java.nio.file.Files.createAndCheckIsDirectory(Files.java:796) ~[?:?]

      at java.nio.file.Files.createDirectories(Files.java:742) ~[?:?]

      at acr.a(SourceFile:21) ~[minecraft_server.20w14a.jar:?]

      at cxp$a.<init>(SourceFile:196) ~[minecraft_server.20w14a.jar:?]

      at cxp.c(SourceFile:185) ~[minecraft_server.20w14a.jar:?]

      at net.minecraft.server.MinecraftServer.main(SourceFile:940) [minecraft_server.20w14a.jar:?]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              steveswales Steve Swales
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: