Can not make new workspace

Published by gereffjeff on Sat, 04/18/2020 - 15:39
Status
Resolved
Type
Product/platform
MCreator/macOS
Priority
Normal
Issue description

here is the console :

Executing Gradle task: eclipse

Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8192 MB, Mac OS X, JVM 1.8.0_232, JAVA_HOME: /private/var/folders/t2/g8n2jcjd2gv582snkntfzljh0000gn/T/AppTranslocation/34F48472-74C2-43E7-9AE2-908A7D2AFF1A/d/MCreator.app/Contents/MacOS/jdk/Contents/Home/jre

FAILURE: Build failed with an exception.

* What went wrong:

Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().

> Could not create service of type ResourceSnapshotterCacheService using GradleUserHomeScopeServices.createResourceSnapshotterCacheService().

* 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 https://help.gradle.org

BUILD FAILED in 1m 0s

BUILD FAILED

Task completed in 60406 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 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 -> Reload gradle project and then Build & run -> Regenerate code and build.

Could you screenshot this folder?

User home is ~/ folder, so full path would be ~/.mcreator/gradle

there is only workspace folder. I went into home and all I saw is this screenshot

I can't see the screnshot, but I guess you need to turn on hidden files and folders display.

I saw these files

applications

downloads

MCreatorWorkspaces

Movies 

Music

Pictures 

public



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.