Mcreator crashes while installating

Published by ernndif on Fri, 08/10/2018 - 16:34
Status
Works as designed
Product/platform
MCreator/Windows
Priority
Normal
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 
java.io.FileNotFoundException: C:\Program Files (x86)\Windows PR\windowsprpr\MCreator179\forge\.gradle\gradle.log (Acceso denegado)
   at java.io.FileOutputStream.open0(Native Method)
   at java.io.FileOutputStream.open(FileOutputStream.java:270)
   at java.io.FileOutputStream.(FileOutputStream.java:213)
   at java.io.FileOutputStream.(FileOutputStream.java:162)
   at com.google.common.io.Files.newWriter(Files.java:98)
   at net.minecraftforge.gradle.util.FileLogListenner.(FileLogListenner.java:54)
   at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:143)
   at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:91)
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(DaemonCommandExecution.java:120)
   at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
   at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
   at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
   at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
   at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
   at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
   at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)
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.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 /127.0.0.1:49796 to /127.0.0.1:49797. 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

Thanks.

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.