Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[SOLVED] [1.10.2] RecompileMC Failed Error


coolboy4531
 Share

Recommended Posts

I can't build my gradle workspace because of this error.

 

Here is my --info log:


* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':recompileMc'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: : Compile failed; see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1181)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:936)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:78)
        at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:103)
        at net.minecraftforge.gradle.user.TaskRecompileMc.doStuff(TaskRecompileMc.java:85)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 60 more

 

 

I am using ForgeGradle 2.2.

 

 

---------------------------------------------

[sOLUTION]

 

Fixed itself after deleting "~/.gradle/caches/minecraft/de/" files.

With ~ being your HOME directory -- e.g. C:/Users/USERNAME.

 

Setting Environment Settings of JAVA_HOME to your JDK ---- it's usually C:\Program Files\Java\jdk1.xxx

Updating Java to 8, JRE to 1.8, and JDK to 1.8.

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • For anyone looking here in the future, I never solved this problem, but I found a workaround by simply ungrabbing the mouse, preventing mouse movement.
    • [Info: 2022-01-23 01:24:44.6727079: NetQueue.cpp(157)] NetQueue: Setting up. [Info: 2022-01-23 01:24:44.6754351: mainWindows.cpp(80)] Running launcher bootstrap (version 1037) [Info: 2022-01-23 01:24:44.6753897: NetQueue.cpp(575)] NetQueue: worker thread started. [Error: 2022-01-23 01:24:44.8622618: localization.cpp(110)] No translation found for "Unable to download <game>. Please try again later." [Error: 2022-01-23 01:24:44.8624151: localization.cpp(110)] No translation found for "Unable to download the <game> Native Launcher." [Error: 2022-01-23 01:24:44.8625217: localization.cpp(110)] No translation found for "Unable to update the <game> Game Launcher." [Error: 2022-01-23 01:24:44.8626168: localization.cpp(110)] No translation found for "Unable to download the <game> Runtime Environment." [Error: 2022-01-23 01:24:44.8626822: localization.cpp(110)] No translation found for "Unable to update the <game> Game Launcher." [Error: 2022-01-23 01:24:44.8627756: localization.cpp(110)] No translation found for "Unable to update the <game> Runtime Environment." [Error: 2022-01-23 01:24:44.8629294: localization.cpp(110)] No translation found for "Unable to update the <game> Native Launcher." [Error: 2022-01-23 01:24:44.8630314: localization.cpp(110)] No translation found for "Unable to relaunch the Minecraft bootstrap." [Error: 2022-01-23 01:24:44.8630933: localization.cpp(110)] No translation found for "Unable to start the <game> Runtime Environment. This is most likely caused by a corruption. Please try to reinstall <game>." [Error: 2022-01-23 01:24:44.8632362: localization.cpp(110)] No translation found for "Unable to start <game>, if you are running from a dmg, please drag to Applications and try again." [Error: 2022-01-23 01:24:44.8633546: localization.cpp(110)] No translation found for "Unable to initialize the network library." [Error: 2022-01-23 01:24:44.8634209: localization.cpp(110)] No translation found for "<game> Launcher" [Info: 2022-01-23 01:24:44.8668528: mainWindows.cpp(167)] Triggering reopen event... [Info: 2022-01-23 01:24:44.8670715: mainWindows.cpp(170)] Success         [Info: 2022-01-23 01:24:44.6727079: NetQueue.cpp(157)] NetQueue: Setting up. [Info: 2022-01-23 01:24:44.6754351: mainWindows.cpp(80)] Running launcher bootstrap (version 1037) [Info: 2022-01-23 01:24:44.6753897: NetQueue.cpp(575)] NetQueue: worker thread started. [Error: 2022-01-23 01:24:44.8622618: localization.cpp(110)] No translation found for "Unable to download <game>. Please try again later." [Error: 2022-01-23 01:24:44.8624151: localization.cpp(110)] No translation found for "Unable to download the <game> Native Launcher." [Error: 2022-01-23 01:24:44.8625217: localization.cpp(110)] No translation found for "Unable to update the <game> Game Launcher." [Error: 2022-01-23 01:24:44.8626168: localization.cpp(110)] No translation found for "Unable to download the <game> Runtime Environment." [Error: 2022-01-23 01:24:44.8626822: localization.cpp(110)] No translation found for "Unable to update the <game> Game Launcher." [Error: 2022-01-23 01:24:44.8627756: localization.cpp(110)] No translation found for "Unable to update the <game> Runtime Environment." [Error: 2022-01-23 01:24:44.8629294: localization.cpp(110)] No translation found for "Unable to update the <game> Native Launcher." [Error: 2022-01-23 01:24:44.8630314: localization.cpp(110)] No translation found for "Unable to relaunch the Minecraft bootstrap." [Error: 2022-01-23 01:24:44.8630933: localization.cpp(110)] No translation found for "Unable to start the <game> Runtime Environment. This is most likely caused by a corruption. Please try to reinstall <game>." [Error: 2022-01-23 01:24:44.8632362: localization.cpp(110)] No translation found for "Unable to start <game>, if you are running from a dmg, please drag to Applications and try again." [Error: 2022-01-23 01:24:44.8633546: localization.cpp(110)] No translation found for "Unable to initialize the network library." [Error: 2022-01-23 01:24:44.8634209: localization.cpp(110)] No translation found for "<game> Launcher" [Info: 2022-01-23 01:24:44.8668528: mainWindows.cpp(167)] Triggering reopen event... [Info: 2022-01-23 01:24:44.8670715: mainWindows.cpp(170)] Success                 that is everything in my .minecraft launcher_log.txt          
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.