when i try to open mcreator it says loading workspace data but never loads. After i had created a new weapon mod the next time i tryed opening the application it opened but never completely loads and says loading workspace data. i worked really hard on my mod someone please help.
Issue comments
[Fri Jul 20 22:38:07 PDT 2018] [Launcher] Java specification version: 1.8
[Fri Jul 20 22:38:07 PDT 2018] [Launcher] Installation path: C:\Users\jhonn\Docu
ments\Pylo\MCreator179
[Fri Jul 20 22:38:07 PDT 2018] [Launcher] User home of MCreator: C:\Users\jhonn\
.mcreator\
[Fri Jul 20 22:38:09 PDT 2018] [WebIO] Reading from URL: https://mcreator.net/ap
p
[Fri Jul 20 22:38:10 PDT 2018] [WebIO] Reading from URL: https://mcreator.net/ap
p/motw
[Fri Jul 20 22:38:10 PDT 2018] [WebIO] Reading from URL: https://mcreator.net/ap
p/news
[Fri Jul 20 22:38:11 PDT 2018] Skipping update message ...
[Fri Jul 20 22:38:12 PDT 2018] Exception in thread "AWT-EventQueue-0" [Fri Jul 2
0 22:38:12 PDT 2018] com.google.gson.JsonSyntaxException: com.google.gson.stream
.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSO
N at line 1 column 36028 path $
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.Gson.assertFullConsumption(Gs
on.java:864)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.Gson.fromJson(Gson.java:854)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.Gson.fromJson(Gson.java:802)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.Gson.fromJson(Gson.java:774)
[Fri Jul 20 22:38:12 PDT 2018] at co.pylo.mcreator.workspace.Workspace.readWork
spaceFromFS(Unknown Source)
[Fri Jul 20 22:38:12 PDT 2018] at co.pylo.mcreator.workspace.Workspace.getCurre
ntWorkspace(Unknown Source)
[Fri Jul 20 22:38:12 PDT 2018] at co.pylo.mcreator.workspace.d.a(Unknown Source
)
[Fri Jul 20 22:38:12 PDT 2018] at co.pylo.mcreator.a.<init>(Unknown Source)
[Fri Jul 20 22:38:12 PDT 2018] at co.pylo.mcreator.Launcher.lambda$main$1(Unkno
wn Source)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.event.InvocationEvent.dispatch(Invoc
ationEvent.java:311)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventQueue.dispatchEventImpl(EventQu
eue.java:756)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventQueue.access$500(EventQueue.jav
a:97)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventQueue$3.run(EventQueue.java:709
)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventQueue$3.run(EventQueue.java:703
)
[Fri Jul 20 22:38:12 PDT 2018] at java.security.AccessController.doPrivileged(N
ative Method)
[Fri Jul 20 22:38:12 PDT 2018] at java.security.ProtectionDomain$JavaSecurityAc
cessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventQueue.dispatchEvent(EventQueue.
java:726)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.pumpOneEventForF
ilters(EventDispatchThread.java:201)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.pumpEventsForFil
ter(EventDispatchThread.java:116)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.pumpEventsForHie
rarchy(EventDispatchThread.java:105)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.pumpEvents(Event
DispatchThread.java:101)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.pumpEvents(Event
DispatchThread.java:93)
[Fri Jul 20 22:38:12 PDT 2018] at java.awt.EventDispatchThread.run(EventDispatc
hThread.java:82)
[Fri Jul 20 22:38:12 PDT 2018] Caused by: com.google.gson.stream.MalformedJsonEx
ception: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 colu
mn 36028 path $
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.stream.JsonReader.syntaxError
(JsonReader.java:1568)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.stream.JsonReader.checkLenien
t(JsonReader.java:1409)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.stream.JsonReader.doPeek(Json
Reader.java:542)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.stream.JsonReader.peek(JsonRe
ader.java:425)
[Fri Jul 20 22:38:12 PDT 2018] at com.google.gson.Gson.assertFullConsumption(Gs
on.java:860)
[Fri Jul 20 22:38:12 PDT 2018] ... 22 more
I see this is caused by the corrupted workspace file. Could you please go to the user folder inside MCreator's installation and upload the file workspace.mcreator to this ticket. You can edit your ticket and attach the file as the attachment to the ticket. I will try to manually fix the errors present in your workspace file. Thanks!
We will improve our parser in next update so MCreator won't crash in such cases. It seems that the issue was caused by two simultaneous writes to the workspace file. We will introduce a lock mechanism to prevent this from happening.
As this issue stops MCreator from working for the users who have this bug, I am raising the priority of this issue to Major.
Could you please run MCreator using mcreator.bat file from the installation folder of MCreator and paste the error log you see in it when the MCreator gets stuck? Thanks!