mojira.dev
MC-122667

File already exists exception (saves folder) symlink issue

The game crashes at launch.

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 11/28/17 8:03 PM
Description: Initializing game

java.lang.RuntimeException: java.nio.file.FileAlreadyExistsException: C:\Users\user\AppData\Roaming\.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: C:\Users\user\AppData\Roaming\.minecraft\saves
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81)
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
	at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504)
	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


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at bix.<init>(SourceFile:36)
	at biu.<init>(SourceFile:38)
	at bmm.an(SourceFile:450)

-- Initialization --
Details:
Stacktrace:
	at bmm.a(SourceFile:366)
	at net.minecraft.client.main.Main.main(SourceFile:134)

-- System Details --
Details:
	Minecraft Version: 17w48a
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 72761616 bytes (69 MB) / 134217728 bytes (128 MB) up to 1073741824 bytes (1024 MB)
	JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 17w48a
	LWJGL: 3.1.2 build 29
	OpenGL: Intel(R) HD Graphics 530 GL version 4.4.0 - Build 21.20.16.4550, Intel
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: 8x Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

Linked issues

Comments 9

this is the full crash report. it crashes on launch

Do you actually have a thing there which is not a regular folder? like a file?

I have the saves folder Symbolic-Linked to my Dropbox, but this has worked before, I don't know why it stopped working. (Sometimes it works, sometimes it doesn't)
A few days ago it worked, now it doesnt. (Version: 18w09a)
Is there anyway to fix this without removing the Symbolic-Link?

on windows 7
with 18w10d when you make a new symlink (delete the old) with /d /j option it work
(without /j it crash)

version 1.13 release is effected

Having same error with Symbolic Link to Dropbox for saves for Java 1.13 using Windows 10.

Please note that this ticket has been closed as a duplicate of MC-123021.

AlexejheroYTB

(Unassigned)

Unconfirmed

crash, exception, saves, symlink

Minecraft 17w48a, Minecraft 18w09a

Retrieved