So, that's what I see when it's stuck. As you can see, in the console, it says build successful. But in the "gradle workspace setup" window, it says "setting up Minecraft Forge MDK", which takes forever, it never ends.
I've tried allocating more ram (4gb as max currently) but it didn't fix the problem.
So, I'd like to see what else I can do to fix it.
Thanks a lot!
Attached is the output in the terminal:
2019-07-17-01:36:13 [main/INFO] [Launcher] Starting MCreator 1.9.0, full version: 1.9.0
2019-07-17-01:36:13 [main/INFO] [Launcher] Java version: 1.8.0_212, specification: 1.8, VM name: LibericaJDK 64-Bit Server VM
2019-07-17-01:36:13 [main/INFO] [Launcher] Current JAVA_HOME for running instance: /home/gabrielchl/Documents/minecraft/MCreator190/jdk/jre
2019-07-17-01:36:13 [main/INFO] [Launcher] Installation path: /home/gabrielchl/Documents/minecraft/MCreator190
2019-07-17-01:36:13 [main/INFO] [Launcher] User home of MCreator: /root/.mcreator/
2019-07-17-01:36:15 [AWT-EventQueue-0/INFO] [Application] Generators loaded: [1.12.2]
2019-07-17-01:36:28 [AWT-EventQueue-0/INFO] [UpdateNotify] Skipping update message ...
2019-07-17-01:36:56 [AWT-EventQueue-0/INFO] [Website API] Trying to log in user gabrielchl
2019-07-17-01:36:58 [AWT-EventQueue-0/INFO] [Website API] Checking Pylo user session
2019-07-17-01:37:01 [AWT-EventQueue-0/INFO] [Website API] Checking Pylo user session
2019-07-17-01:37:06 [AWT-EventQueue-0/ERROR] [MCreator User] Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_212]
at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_212]
at com.google.gson.JsonArray.get(JsonArray.java:194) ~[gson-2.8.5.jar:?]
at net.mcreator.b.a.b.d.e(SourceFile:108) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:254) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:188) ~[mcreator.jar:?]
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_212]
at net.mcreator.b.a.b.e.c(SourceFile:40) ~[mcreator.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_212]
at net.mcreator.b.a.b.e.a(SourceFile:40) ~[mcreator.jar:?]
at net.mcreator.ui.d.J.a(SourceFile:140) ~[mcreator.jar:?]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[?:1.8.0_212]
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[?:1.8.0_212]
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[?:1.8.0_212]
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[?:1.8.0_212]
at javax.swing.AbstractButton.doClick(AbstractButton.java:376) ~[?:1.8.0_212]
at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208) ~[?:1.8.0_212]
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668) ~[?:1.8.0_212]
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882) ~[?:1.8.0_212]
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307) ~[?:1.8.0_212]
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250) ~[?:1.8.0_212]
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974) ~[?:1.8.0_212]
at javax.swing.JComponent.processKeyBindings(JComponent.java:2966) ~[?:1.8.0_212]
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845) ~[?:1.8.0_212]
at java.awt.Component.processEvent(Component.java:6316) ~[?:1.8.0_212]
at java.awt.Container.processEvent(Container.java:2239) ~[?:1.8.0_212]
at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[?:1.8.0_212]
at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[?:1.8.0_212]
at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_212]
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) ~[?:1.8.0_212]
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:834) ~[?:1.8.0_212]
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1102) ~[?:1.8.0_212]
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:973) ~[?:1.8.0_212]
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:799) ~[?:1.8.0_212]
at java.awt.Component.dispatchEventImpl(Component.java:4760) ~[?:1.8.0_212]
at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[?:1.8.0_212]
at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[?:1.8.0_212]
at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_212]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) ~[?:1.8.0_212]
at java.awt.EventQueue.access$500(EventQueue.java:97) ~[?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:703) ~[?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) ~[?:1.8.0_212]
at java.awt.EventQueue$4.run(EventQueue.java:733) ~[?:1.8.0_212]
at java.awt.EventQueue$4.run(EventQueue.java:731) ~[?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_212]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) ~[?:1.8.0_212]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) ~[?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) ~[?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) ~[?:1.8.0_212]
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) ~[?:1.8.0_212]
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) ~[?:1.8.0_212]
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) ~[?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) ~[?:1.8.0_212]
at java.awt.Dialog.show(Dialog.java:1084) ~[?:1.8.0_212]
at java.awt.Component.show(Component.java:1671) ~[?:1.8.0_212]
at java.awt.Component.setVisible(Component.java:1623) ~[?:1.8.0_212]
at java.awt.Window.setVisible(Window.java:1014) ~[?:1.8.0_212]
at java.awt.Dialog.setVisible(Dialog.java:1005) ~[?:1.8.0_212]
at net.mcreator.ui.d.J.<init>(SourceFile:152) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.setVisible(SourceFile:363) ~[mcreator.jar:?]
at net.mcreator.ui.g.f(SourceFile:190) ~[mcreator.jar:?]
at net.mcreator.ui.g.<init>(SourceFile:133) ~[mcreator.jar:?]
at net.mcreator.ui.g.b(SourceFile:159) ~[mcreator.jar:?]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_212]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_212]
at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_212]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_212]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_212]
2019-07-17-01:37:06 [Thread-7/INFO] [GA] Tracking page: /1.9.0/launch
2019-07-17-01:38:00 [AWT-EventQueue-0/ERROR] [MCreator User] Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_212]
at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_212]
at com.google.gson.JsonArray.get(JsonArray.java:194) ~[gson-2.8.5.jar:?]
at net.mcreator.b.a.b.d.e(SourceFile:108) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:254) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:51) ~[mcreator.jar:?]
at net.mcreator.ui.E.a(SourceFile:169) ~[mcreator.jar:?]
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) [?:1.8.0_212]
at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:778) [?:1.8.0_212]
at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2140) [?:1.8.0_212]
at net.mcreator.ui.E.mousePressed(SourceFile:169) [mcreator.jar:?]
at java.awt.Component.processMouseEvent(Component.java:6536) [?:1.8.0_212]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) [?:1.8.0_212]
at java.awt.Component.processEvent(Component.java:6304) [?:1.8.0_212]
at java.awt.Container.processEvent(Container.java:2239) [?:1.8.0_212]
at java.awt.Component.dispatchEventImpl(Component.java:4889) [?:1.8.0_212]
at java.awt.Container.dispatchEventImpl(Container.java:2297) [?:1.8.0_212]
at java.awt.Component.dispatchEvent(Component.java:4711) [?:1.8.0_212]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) [?:1.8.0_212]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532) [?:1.8.0_212]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) [?:1.8.0_212]
at java.awt.Container.dispatchEventImpl(Container.java:2283) [?:1.8.0_212]
at java.awt.Window.dispatchEventImpl(Window.java:2746) [?:1.8.0_212]
at java.awt.Component.dispatchEvent(Component.java:4711) [?:1.8.0_212]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) [?:1.8.0_212]
at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_212]
at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) [?:1.8.0_212]
at java.awt.EventQueue$4.run(EventQueue.java:733) [?:1.8.0_212]
at java.awt.EventQueue$4.run(EventQueue.java:731) [?:1.8.0_212]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_212]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_212]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_212]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_212]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_212]
2019-07-17-01:39:07 [AWT-EventQueue-0/INFO] [Workspace File Manager] Saving the workspace by direct request!
2019-07-17-01:39:07 [AWT-EventQueue-0/DEBUG] [Workspace File Manager] Workspace stored on the FS
2019-07-17-01:39:07 [AWT-EventQueue-0/INFO] [MCreator] Opening workspace: /root/MCreatorWorkspaces/temptest/temptest.mcreator
2019-07-17-01:39:07 [AWT-EventQueue-0/INFO] [MCreator] Loading workspace for mod: temptest
2019-07-17-01:39:08 [Thread-9/ERROR] [Exception] Uncaught exception in Thread-9
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
at java.awt.Desktop.checkActionSupport(Desktop.java:221) ~[?:1.8.0_212]
at java.awt.Desktop.browse(Desktop.java:380) ~[?:1.8.0_212]
at net.mcreator.ui.d.n.c(SourceFile:124) ~[mcreator.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
2019-07-17-01:39:37 [pool-3-thread-1/DEBUG] [Workspace File Manager] Workspace stored on the FS
2019-07-17-01:52:47 [Thread-10/ERROR] [Exception] Uncaught exception in Thread-10
java.lang.IllegalThreadStateException: process hasn't exited
at java.lang.UNIXProcess.exitValue(UNIXProcess.java:423) ~[?:1.8.0_212]
at net.mcreator.ui.e.e.a(SourceFile:574) ~[mcreator.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
^Cgabrielchl@gabriel-lenovo-720s ~/Documents/minecraft/MCreator190 $ sudo ./mcreator.sh
Password:
2019-07-17-01:58:51 [main/INFO] [Launcher] Starting MCreator 1.9.0, full version: 1.9.0
2019-07-17-01:58:51 [main/INFO] [Launcher] Java version: 1.8.0_212, specification: 1.8, VM name: LibericaJDK 64-Bit Server VM
2019-07-17-01:58:51 [main/INFO] [Launcher] Current JAVA_HOME for running instance: /home/gabrielchl/Documents/minecraft/MCreator190/jdk/jre
2019-07-17-01:58:51 [main/INFO] [Launcher] Installation path: /home/gabrielchl/Documents/minecraft/MCreator190
2019-07-17-01:58:51 [main/INFO] [Launcher] User home of MCreator: /root/.mcreator/
2019-07-17-01:58:53 [AWT-EventQueue-0/INFO] [Application] Generators loaded: [1.12.2]
2019-07-17-01:59:00 [Thread-5/INFO] [Website API] Checking Pylo user session
2019-07-17-01:59:00 [AWT-EventQueue-0/INFO] [UpdateNotify] Skipping update message ...
2019-07-17-01:59:00 [Thread-6/INFO] [GA] Tracking page: /1.9.0/launch
2019-07-17-01:59:07 [Thread-5/ERROR] [MCreator User] Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_212]
at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_212]
at com.google.gson.JsonArray.get(JsonArray.java:194) ~[gson-2.8.5.jar:?]
at net.mcreator.b.a.b.d.e(SourceFile:108) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:254) ~[mcreator.jar:?]
at net.mcreator.ui.WorkspaceSelector.a(SourceFile:188) ~[mcreator.jar:?]
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_212]
at net.mcreator.b.a.b.e.c(SourceFile:40) ~[mcreator.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_212]
at net.mcreator.b.a.b.e.a(SourceFile:40) ~[mcreator.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
2019-07-17-01:59:43 [AWT-EventQueue-0/INFO] [MCreator] Opening workspace: /root/MCreatorWorkspaces/temptest/temptest.mcreator
2019-07-17-01:59:43 [AWT-EventQueue-0/INFO] [MCreator] Loading workspace for mod: temptest
2019-07-17-01:59:43 [Thread-9/ERROR] [Exception] Uncaught exception in Thread-9
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
at java.awt.Desktop.checkActionSupport(Desktop.java:221) ~[?:1.8.0_212]
at java.awt.Desktop.browse(Desktop.java:380) ~[?:1.8.0_212]
at net.mcreator.ui.d.n.c(SourceFile:124) ~[mcreator.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
2019-07-17-02:00:13 [pool-3-thread-1/DEBUG] [Workspace File Manager] Workspace stored on the FS
2019-07-17-02:01:19 [Thread-10/ERROR] [Exception] Uncaught exception in Thread-10
java.lang.IllegalThreadStateException: process hasn't exited
at java.lang.UNIXProcess.exitValue(UNIXProcess.java:423) ~[?:1.8.0_212]
at net.mcreator.ui.e.e.a(SourceFile:574) ~[mcreator.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
output of java -version:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (IcedTea 3.10.0) (Gentoo icedtea-3.10.0)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
thanks a lot!
Issue comments
Executing gradle command: setupDecompWorkspace --refresh-dependencies Build info: MCreator 1.9.0, 64-bit, 19595 MB, Linux - bash, JVM 1.8.0_212, JAVA_HOME: /home/gabrielchl/Documents/minecraft/MCreator190/jdk/jre Starting a Gradle Daemon (subsequent builds will be faster) Parallel execution is an incubating feature. This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. ################################################# ForgeGradle 2.3-SNAPSHOT-7764e3e https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP http://modcoderpack.com by: Searge, ProfMobius, R4wk, ZeuX Fesh0r, IngisKahn, bspkrs, LexManos ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev UP-TO-DATE :extractDependencyATs SKIPPED :extractMcpData SKIPPED :extractMcpMappings SKIPPED :genSrgs SKIPPED :downloadClient SKIPPED :downloadServer SKIPPED :splitServerJar SKIPPED :mergeJars SKIPPED :deobfMcSRG SKIPPED :decompileMc SKIPPED :fixMcSources SKIPPED :applySourcePatches :remapMcSources SKIPPED :recompileMc SKIPPED :extractNatives SKIPPED :getAssetIndex UP-TO-DATE :getAssets Current status: 1143/1305 87% :makeStart SKIPPED :setupDecompWorkspace BUILD SUCCESSFUL in 1m 2s 7 actionable tasks: 5 executed, 2 up-to-date
just attempted to launch it again, it's still stuck at setting up minecraft forge mdk but this time, it shows this in the terminal: