help i get this error, is my first time with this version of mcreator any other solution?

Started by ShadowBlue on Mon, 06/01/2020 - 02:58

Topic category: Troubleshooting, bugs, and solutions

Last seen on 00:00, 20. Jul 2021
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
help i get this error, is my first time with this version of mcreator any other solution?
Mon, 06/01/2020 - 02:58

Esta es la imagen del error

 

 

 Text error: 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2020.3.21322, forge-1.15.2, 64-bit, 4008 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

New 
    Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1

FAILURE: 
    Build failed with an exception.


    What went wrong:


    problem occurred configuring root project 'more_residentes'.


    Invalid patcher dependency: net.minecraftforge:forge:1.15.2-31.2.0:userdev


    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 56s

BUILD 
    FAILED

Task 
    completed in 269995 milliseconds

Last seen on 23:22, 10. Jul 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In some cases, Gradle caches…
Mon, 06/01/2020 - 04:15

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 15:48, 8. Sep 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hi, I have tried all the…
Tue, 08/18/2020 - 00:54

Hi,

I have tried all the things listed above, but it still doesn't work.

I could successfully create a workspace a few hours ago, and I could add elements, create textures, etc., but I can't run my project by clicking the "Run Client" button at the top-right corner.

Every time after I click the button in my successfully created workspace (and I need to wait for a few minutes, if I have just deleted the gradle folder), there will be an error, saying this at the end:

> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.

There are hundreds of lines in the console, but I think this might be important as well:

MinecraftUserRepo: Failed to get Minecraft Vanilla Base. Should not be possible. net.minecraft:joined:1.15.2-20200515.085601:srg
Error getting artifact: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1:null@jar from MinecraftUserRepo
java.lang.NullPointerException

And a message pops up, saying "Gradle Caches Corrupted": "MCreator detected Gradle caches got corrupted. Don't worry, we can fix this for you, we just need to rebuild the caches." ... And there are three options: "Clear Gradle caches", "Clear entire Gradle folder", and "Do nothing". I've tried all three, and I've also tried to manually delete the Gradle folders (I don't think that doing this manually will make a difference, but anyway), but nothing seems to work...

I have tried to create another new workspace as well, however I received the same error message as ShadowBlue posted above.

 

P. S. I am using a router for Internet connection, which has some issues with port forwarding (I am facing some difficulties in opening a Minecraft server online), while the connection speed should not be a problem, because I can download and run new Minecraft versions from the official Minecraft Launcher in seconds. I have not installed any Firewalls and not using a VPN.

Last seen on 15:48, 8. Sep 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I restarted my laptop, and…
Wed, 08/19/2020 - 10:20

I restarted my laptop, and now it works !!!

I don't quite understand why...