Caching decompiled code

Published by MrGGG on Mon, 12/10/2018 - 11:09
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

MCreator can't open. When I open it, it gives me error on loading "Caching decompiled code". The error says "MCreator setup failed!". How to fix this?

Error log:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 32-bit, 3037 MB, Windows 7 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corp.), 2009. ‚ᥠЇа ў  § йЁйҐ­л.
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms512m -Xmx1500m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Exception in thread "main" java.lang.RuntimeException: Gradle distribution 'C:\Users\GGG\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk' does not contain any directories. Expected to find exactly 1 directory.
   at org.gradle.wrapper.Install.getDistributionRoot(Install.java:83)
   at org.gradle.wrapper.Install.access$000(Install.java:26)
   at org.gradle.wrapper.Install$1.call(Install.java:50)
   at org.gradle.wrapper.Install$1.call(Install.java:46)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
   at org.gradle.wrapper.Install.createDist(Install.java:46)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 1827 milliseconds

Issue comments

Go to C:\Users\GGG\.mcreator\, delete the folder called gradle and run the setup again. Before you run the setup again, reboot your computer too and make sure you have a reliable internet connection and no software could be blocking MCreator from accessing this internet.