Crash on Create world / java.sql.SQLException
I attempt to run stable DH 2.2.1 / MC 1.21.1 for several days with basic Launchers: Vanilla, Fabric, Neoforge and different mod combinations but without any success. I also tried recommended DH mod pack presets for Modrinth, but that also failed. Solutions from #faq-problems-and-fixes didn't work for me as well.
My problem is actually same as described here in another post "Instant crash when attempting to load a world":
crash on world create with 0% message and "Errot Code -1"
Java Exception "java.lang.RuntimeException: java.sql.SQLException: Unable to get repo with connection string [jdbc:sqlite:C:\Users{COMPUTER_USERNAME}\AppData\Roaming\ModrinthApp\profiles\DH\saves\New World\data\DistantHorizons.sqlite]".
Trying to run DH nightly build 1.21.1, java 23 and as admin didn't help in my case. Game crashes on start already.
Specs:
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
NVIDIA GeForce GTX 1080 Ti
16GB DDR4
SSD
Crash report is attached
Thanks in advance for your help!
15 Replies
Does this happen to every world even new ones?
yes
If i try to create new world then crash, if I turn off DH, create world and turn DH on again, then on attempt to open created world same crash happens.
Can you try the nightly build from #links-n-downloads ?
i replaced DH stable with DistantHorizons-neoforge-2.3.0-b-dev-1.21.1.jar and got crash on start already
just tried same modpack for stable DH (Distant Horizons & Iris Shaders 0.1.1+1.21.1.neoforge) on another PC and it worked at once without any problems, it must be something in my system, but what?...
This is a different error
And it's in German
Which I can't read
Mod file: /C:/Users/gebem/AppData/Roaming/ModrinthApp/profiles/Distant Horizons & Iris Shaders (1)/mods/DistantHorizons-neoforge-2.3.0-b-dev-1.21.1.jar
Failure message: Distant Horizons (distanthorizons) encountered an error while dispatching the net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event
java.lang.RuntimeException: java.io.UncheckedIOException: java.nio.file.FileSystemException: C:\Users\gebem\AppData\Local\Temp: Die Datei oder das Verzeichnis ist besch채digt und nicht lesbar
Mod version: 2.3.0-b-dev
Mod issues URL: https://gitlab.com/jeseibel/distant-horizons/-/issues
Exception message: java.nio.file.FileSystemException: C:\Users\gebem\AppData\Local\Temp: The file or directory is corrupt and unreadable
GitLab
Issues · Distant-Horizons-Team / Distant Horizons · GitLab
This is a mod that adds a Level Of Detail (LOD) system to Minecraft. This implementation renders simplified chunks outside of the normal render distance allowing for an...
I checked if C:\Users\gebem\AppData\Local\Temp can be read/write from explorer and it works. Seems something is wrong with rights for MC
Maybe you could try making a new instance?
Or try a whole different minecraft launcher?
I tried Vanilla launcher and Cursed Forge for both Fabric and Neoforge DH mods packs, It's always the same crash with SQLException for Stable on world create, and FileSystemException for Nightly version on start.
I reinstalled Minecraft, reinstalled Modrinth but again no success
I think your PC must have some corrupted SQL drivers or something
Or maybe the anti virus is blocking the SQL driver?
Aren't these drivers part of java project itself? I don't have any drivers extra installed on Windows.
I think they are, but for some reason the SQL can’t connect
And you said the read/write permissions aren’t to blame
im not sure what else you can try
Thanks for your help. I'll report if I manage to identify the problem.