Topic category: Troubleshooting, bugs, and solutions
McCreator wont open.
I updated my Java to 8 and it still doesn't work it opens it, then closes it before I see the loading gui.
HELP
2019-08-20-11:16:47 [main/INFO] [Launcher] Starting MCreator 1.9.0, full version: 1.9.0
2019-08-20-11:16:47 [main/INFO] [Launcher] Java version: 1.8.0_212, specification: 1.8, VM name: LibericaJDK 64-Bit Server VM
2019-08-20-11:16:47 [main/INFO] [Launcher] Current JAVA_HOME for running instance: C:\Program Files\Pylo\MCreator\jdk\jre
2019-08-20-11:16:47 [main/ERROR] [Exception] Uncaught exception in main
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226) ~[gson-2.8.5.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:927) ~[gson-2.8.5.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:892) ~[gson-2.8.5.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:841) ~[gson-2.8.5.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:813) ~[gson-2.8.5.jar:?]
at net.mcreator.preferences.c.a(SourceFile:21) ~[mcreator.jar:?]
at net.mcreator.Launcher.main(SourceFile:81) ~[mcreator.jar:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385) ~[gson-2.8.5.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215) ~[gson-2.8.5.jar:?]
... 6 more
Check this page on how to fix this for now: https://mcreator.net/tracker/issue/50977
We will fix this bug in MCreator 1.9.1.