Mcreator crashes while installating

Published by ernndif on Fri, 08/10/2018 - 16:34
Works as designed
Issue description

Hello, I have an issue. When I installed mcreator, the second pass (setting up minecraft forge mdk) didn't complete and opened a window that says "The amount of RAM allocated to java JVM used by Gradle is too low". I putted more memory on java (see photo) I restarted the pc and when I tried to install mcreator again the window didn't open and "setting up minecraft forge mdk" was in colour green but in console I found an inssue that I don't know how to fix...

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Versi¢n 10.0.16299.431]
(c) 2017 Microsoft Corporation. Todos los derechos reservados.
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179>cd forge
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>SET "JAVA_HOME=C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\jdk\"
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Hugo Conesa Garcia\.mcreator\gradle"
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge\.gradle\gradle.log (Acceso denegado)
   at Method)
   at net.minecraftforge.gradle.util.FileLogListenner.(
   at net.minecraftforge.gradle.common.BasePlugin.apply(
   at net.minecraftforge.gradle.common.BasePlugin.apply(
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: BuildAndStop{id=04903df9-7dfb-4698-92dc-e6094f292965.1, currentDir=C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge}
Attempting to read last messages from the daemon log...
Daemon pid: 4752
  log file: C:\Users\Hugo Conesa Garcia\.mcreator\gradle\daemon\2.14\daemon-4752.out.log
----- Last  20 lines from daemon log file - daemon-4752.out.log -----
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(
   at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(
   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(
   at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(
   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(
   at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$
   at org.gradle.launcher.daemon.server.DaemonStateCoordinator$
   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
   at org.gradle.internal.concurrent.StoppableExecutorImpl$
   at java.util.concurrent.ThreadPoolExecutor.runWorker(
   at java.util.concurrent.ThreadPoolExecutor$
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own Failed to notify standard output Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.Unable to execute command BuildAndStop{id=04903df9-7dfb-4698-92dc-e6094f292965.1, currentDir=C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge} from socket connection from / to / Dispatching the failure to the daemon clientorg.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m
C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge>
Task completed with return code 0 in 77324 milliseconds


Attachment Size
RAM (I have a 4 ram pc)15.92 KB 15.92 KB

Issue comments

Most likely, the old setup has locked this file and now it can not set up again. First, restart your PC to release the file lock. Then go to C:\Users\Hugo Conesa Garcia\.mcreator\ and remove the gradle folder. After you do this, run the setup again and it will complete as it should.

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.