Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted Config will cause ViaFabricPlus to crash on start-up #699

Open
1zun4 opened this issue Jan 25, 2025 · 0 comments
Open

Corrupted Config will cause ViaFabricPlus to crash on start-up #699

1zun4 opened this issue Jan 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@1zun4
Copy link

1zun4 commented Jan 25, 2025

General Information

Hey, I still get reports from people with the following issue:

com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $
	at knot//com.google.gson.internal.bind.TypeAdapters$34$1.read(TypeAdapters.java:1152)
	at knot//com.google.gson.Gson.fromJson(Gson.java:1361)
	at knot//com.google.gson.Gson.fromJson(Gson.java:1262)
	at knot//com.google.gson.Gson.fromJson(Gson.java:1171)
	at knot//com.google.gson.Gson.fromJson(Gson.java:1107)
	at knot//com.viaversion.viafabricplus.save.AbstractSave.init(AbstractSave.java:57)
	at knot//com.viaversion.viafabricplus.save.SaveManager.init(SaveManager.java:53)
	at knot//com.viaversion.viafabricplus.ViaFabricPlusImpl.init(ViaFabricPlusImpl.java:124)
	at knot//net.minecraft.client.main.Main.handler$beb000$viafabricplus$bootstrap(Main.java:536)
	at knot//net.minecraft.client.main.Main.main(Main.java:215)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Full log: https://paste.ccbluex.net/12553dff5

Bug Description

This bug was expected to be fixed with ecfd264 - but seems it did not do anything.

Steps to Reproduce

Try loading corrupted config file.

Expected Behavior

Return to stock config

@1zun4 1zun4 added the bug Something isn't working label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant