Gradle Task Failed

Started by ByMareZ on

Topic category: Help with MCreator software

Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Task Failed

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.16299.431]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\
      \Documents\Pyloo\MCreator179>cd forge
     \Documents\Pyloo\MCreator179\forge>SET "JAVA_HOME=C:\Users\MyName\Documents\Pyloo\MCreator179\jdk\"
\Documents\Pyloo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
 \Documents\Pyloo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
\Documents\Pyloo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\myName\.mcreator\gradle"
\Documents\Pyloo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-4a7d623        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
Exception in thread "main" java.lang.RuntimeException: Invalid Constant Pool entry #64 Type: 67
   at org.jetbrains.java.decompiler.struct.consts.ConstantPool.(ConstantPool.java:106)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:84)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:72)
   at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79)
   at org.jetbrains.java.decompiler.util.ClasspathScanner.addAllClasspath(ClasspathScanner.java:43)
   at org.jetbrains.java.decompiler.main.Fernflower.(Fernflower.java:48)
   at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.(BaseDecompiler.java:32)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:64)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)
:decompileMc FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
Total time: 1 mins 56.085 secs
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Users\MyName\Documents\Pyloo\MCreator179\jdk\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Users\myname 
      /Documents\Pyloo\MCreator179\forge>
Task completed with return code 0 in 116970 milliseconds

Ps : I remove my name from error log ^^'

Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I fix this problem ?…
Wed, 05/30/2018 - 04:11

How can I fix this problem ? 
My Mcreator stop with a Gradle Task Failed (Error Log up) 

My PATH is correct.

The others topic are not anwsering to my problem 

Thanks ^^ 

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I Ran Into This Same Problem…
Wed, 05/30/2018 - 19:11

I Ran Into This Same Problem, But I Found The Solution, So If Your Computer Is 32-bit Use The 32-bit Version Of MCreator And If Your Computer Is 64-bit Use The 64-bit Version.

Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No it's not that, i tried …
Wed, 05/30/2018 - 21:22

No it's not that, i tried (my computer is 64 bits) : I have the b4 bits and it dont work
And i can't install the 32 bits version