Gradle keeps on failing at :recompMinecraft

Started by Strontium on Fri, 02/13/2015 - 22:49
Last seen on 01:50, 14. Feb 2015
Joined Feb 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gradle keeps on failing at :recompMinecraft
Fri, 02/13/2015 - 22:50 (edited)

When starting MCreator for the first time, after factory resets, and after attempting to recompile, Gradle fails at :recompMinecraft. I followed all the troubleshooting steps on the wiki, but to no avail.

Here are my gradle logs:

  <code> >BOOTING UP GRADLE... >Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 5 milliseconds] >RIGHT click once to copy log to the clipboard or twice to clear the log. >=================================================================================================================== >Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies >**************************** > Powered By MCP:              > http://mcp.ocean-labs.de/    > Searge, ProfMobius, Fesh0r,  > R4wk, ZeuX, IngisKahn, bspkrs > MCP Data version : unknown >**************************** >:cleanCache >:clean >:extractMcpData >:getVersionJson >:extractUserDev >:genSrgs >:extractNatives >:copyNativesLegacy >:getAssetsIndex >:getAssets >Current status: 5/686   0% >Current status: 424/686   61% >Current status: 587/686   85% >:makeStart >:downloadMcpTools >:downloadClient >:downloadServer >:mergeJars >:deobfuscateJar >Applying SpecialSource... >Applying Exceptor... >:decompile >:processSources >Injecting fml files >Applying fml patches >Applying forge patches >:remapJar >:extractMinecraftSrc >The system is out of resources. >Consult the following stack trace for details. >java.lang.OutOfMemoryError: Java heap space > at com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:139) > at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63) > at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1113) > at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512) > at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550) > at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:804) > at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727) > at com.sun.tools.javac.main.Main.compile(Main.java:353) > at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115) > at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:45) > at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:38) > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:96) > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:49) > at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:35) > at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:29) > at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:20) > at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:33) > at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:24) > at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:87) > at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:65) > at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:53) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235) > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211) > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222) > at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200) >:recompMinecraft FAILED > at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActi> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) onsTaskExecuter.java:80) >BUILD FAILED >FAILURE: Build failed with an exception. >* What went wrong: >Execution failed for task ':recompMinecraft'. >> Compilation failed; see the compiler error output for det>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ails. >* Try: >Total time: 4 mins 22.078 secs >Task completed with return code 1 in 262744 milliseconds </code>

The log makes it *look* like I havent allocated enough RAM, so I ran it again with -Xmx8000m (all of the memory on my computer, 8 GB), only to get the same errors.

Edited by Strontium on Fri, 02/13/2015 - 22:50