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

Installer crash due to json issue #34

Open
TheFruxz opened this issue Mar 13, 2023 · 0 comments
Open

Installer crash due to json issue #34

TheFruxz opened this issue Mar 13, 2023 · 0 comments

Comments

@TheFruxz
Copy link

After pressing the button to start the installation, this error occurs:

Installing Minecraft client of version 1.19.3 with loader version 0.18.3
Creating profile launch json
Creating new profile
Failed to install client
java.util.concurrent.CompletionException: org.quiltmc.installer.lib.json5.exception.MalformedSyntaxException: Found potentially valid JSON5, but invalid JSON while in strict mode $.version
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: org.quiltmc.installer.lib.json5.exception.MalformedSyntaxException: Found potentially valid JSON5, but invalid JSON while in strict mode $.version
	at org.quiltmc.installer.lib.json5.JsonReader.syntaxError(JsonReader.java:1645)
	at org.quiltmc.installer.lib.json5.JsonReader.isJson5(JsonReader.java:1515)
	at org.quiltmc.installer.lib.json5.JsonReader.peekNumber(JsonReader.java:1154)
	at org.quiltmc.installer.lib.json5.JsonReader.doPeek(JsonReader.java:959)
	at org.quiltmc.installer.lib.json5.JsonReader.peek(JsonReader.java:405)
	at org.quiltmc.installer.Gsons.read(Gsons.java:41)
	at org.quiltmc.installer.Gsons.read(Gsons.java:61)
	at org.quiltmc.installer.LauncherProfiles.updateProfiles(LauncherProfiles.java:57)
	at org.quiltmc.installer.action.InstallClient.lambda$run$2(InstallClient.java:144)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
	... 9 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant