Issue when refactoring 1.12 workspace to 1.14

Started by Lightbulbmaster on Sat, 09/12/2020 - 16:34

Topic category: Bugs and solutions

Last seen on 16:49, 29. Sep 2020
Joined Oct 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Issue when refactoring 1.12 workspace to 1.14
Sat, 09/12/2020 - 16:34

Hello!

Today I wanted to refactor my 1.12 workspace because it was missing key feautures that i need for my mod. When I refactored to 1.14 the build failed. Here's the log: https://pastebin.ubuntu.com/p/g9MqhtvBPZ/

Last seen on 07:15, 26. Oct 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Looks to me like you need to…
Sat, 09/12/2020 - 16:48

Looks to me like you need to delete your Gradle folder, restart Mcreator and let it rebuild it, since the first error is about the Gradle.. sorry if it's not,. Didn't look at the rest.

Last seen on 16:49, 29. Sep 2020
Joined Oct 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The build failed again, but…
Sat, 09/12/2020 - 17:59

The build failed again, but there was a ! next to stopping running gradle daemons so the log might be different. Here it is: https://pastebin.ubuntu.com/p/n884JKfnBH/

Last seen on 12:14, 26. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In some cases, Gradle caches…
Sat, 09/12/2020 - 18:35

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.

Last seen on 16:49, 29. Sep 2020
Joined Oct 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I tried the first methods…
Mon, 09/14/2020 - 20:09

I tried the first methods and also tried with no AV. all failed. Then when I made a new workspace in 1.14 which is the version failing and the build of that workspace failed. Heres the log: https://pastebin.ubuntu.com/p/2gQ4Qt4ht2/