The Lancher have error]

Published by softsays on Thu, 02/07/2019 - 15:45
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

When I Start The Laucher When I  Get ti chached filed or what's is it , It Show Me That Error

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 4012 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4 
Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\omarz\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
   at org.gradle.wrapper.Install.createDist(Install.java:48)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 495925 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.2, 64-bit, 4012 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\omarz\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
   at org.gradle.wrapper.Install.createDist(Install.java:48)
   at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
   at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 121544 milliseconds

Issue comments

Go to folder C:\Users\omarz\.mcreator\ and delete gradle folder in it, reboot MCreator and run the setup again.

The issues could be you do this many times. If you run MCreator multiple times at once, this can happen. Reboot the computer and run MCreator only once. And make sure that there is no possibility of antivirus interfering with MCreator as it could cause this too.



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.