Mcreator won't load

Status
Fixed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

I tried to load mcreator but it stops loading at loading workspace data.

And I've tried reinstalling it several times.

Also I'm new here so let me know if I did anything wrong. Please help.

 

Issue comments

So you do a fresh install and MCreator gets stuck at loading workspace data or do you add any elements first? And what OS do you use?

Could you run MCreator with mcreator.bat and paste the contents of the Windows terminal that opens here? Thanks!

Here it is:

[Fri Dec 28 10:13:31 CST 2018] [Launcher] Java version: 1.8.0_172, specification: 1.8
[Fri Dec 28 10:13:31 CST 2018] [Launcher] Current JAVA_HOME for running instance: C:\Pylo\MCreator181\jdk\jre
[Fri Dec 28 10:13:33 CST 2018] [Launcher] Installation path: C:\Pylo\MCreator181
[Fri Dec 28 10:13:33 CST 2018] [Launcher] User home of MCreator: C:\Users\Anthony\.mcreator\
[Fri Dec 28 10:13:34 CST 2018] [WebIO] Reading from URL: https://mcreator.net/app
[Fri Dec 28 10:13:36 CST 2018] Skipping update message ...
[Fri Dec 28 10:13:36 CST 2018] [WebIO] Reading from URL: https://mcreator.net/app/motw
[Fri Dec 28 10:13:37 CST 2018] [WebIO] Reading from URL: https://mcreator.net/app/news
[Fri Dec 28 10:13:44 CST 2018] Exception in thread "AWT-EventQueue-0" [Fri Dec 28 10:13:44 CST 2018] com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.Gson.fromJson(Gson.java:888)
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.Gson.fromJson(Gson.java:853)
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.Gson.fromJson(Gson.java:802)
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.Gson.fromJson(Gson.java:774)
[Fri Dec 28 10:13:44 CST 2018]  at co.pylo.mcreator.workspace.c.d(Unknown Source)
[Fri Dec 28 10:13:44 CST 2018]  at co.pylo.mcreator.workspace.Workspace.getCurrentWorkspace(Unknown Source)
[Fri Dec 28 10:13:44 CST 2018]  at co.pylo.mcreator.workspace.b.a.c(Unknown Source)
[Fri Dec 28 10:13:44 CST 2018]  at co.pylo.mcreator.a.<init>(Unknown Source)
[Fri Dec 28 10:13:44 CST 2018]  at co.pylo.mcreator.Launcher.lambda$main$1(Unknown Source)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventQueue.access$500(EventQueue.java:97)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventQueue$3.run(EventQueue.java:709)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventQueue$3.run(EventQueue.java:703)
[Fri Dec 28 10:13:44 CST 2018]  at java.security.AccessController.doPrivileged(Native Method)
[Fri Dec 28 10:13:44 CST 2018]  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[Fri Dec 28 10:13:44 CST 2018]  at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
[Fri Dec 28 10:13:44 CST 2018] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
[Fri Dec 28 10:13:44 CST 2018]  at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
[Fri Dec 28 10:13:44 CST 2018]  ... 23 more

You said you tried reinstalling it. Did you remove all the data in the installation folder before attempting a new install?

The workspace got corrupted for some unknown reason, it could be that you had multiple MCreators open or closed it forcefully or it was just other random error.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.