Error Mcreator by launch

Published by mewen on Sat, 05/09/2020 - 17:54
Issue description

hello i have a problem whan i launch mcreator in 2020.2 and forge 1.12.2

This error

Executing Gradle task: setupDecompWorkspace --refresh-dependencies

Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 12185 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Pylo/MCreator/jdk/jre

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'workspace'.

> Could not open cp_proj remapped class cache for ekyr913j7ep8pjhlk77z3kfyg (C:\Users\utilisateur\.mcreator\gradle\caches\4.4\scripts-remapped\build_c3aofkp8sbhte2g3dnnqdwgej\ekyr913j7ep8pjhlk77z3kfyg\cp_proj638c4bcc3be846fd35262b91d5a74869).

   > Could not open cp_proj generic class cache for build file 'C:\Users\utilisateur\.mcreator\workspace\build.gradle' (C:\Users\utilisateur\.mcreator\gradle\caches\4.4\scripts\ekyr913j7ep8pjhlk77z3kfyg\cp_proj\cp_proj638c4bcc3be846fd35262b91d5a74869).

      > sun/nio/cs/ISO_8859_1$Encoder

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at



Task completed in 468 milliseconds

Issue comments

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

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.