Workspace setup failed

Started by Diana21 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Workspace setup failed
Thu, 07/08/2021 - 21:47 (edited)

I have tried doing all of the things that were listed in the known errors sections and none of them worked, here is the error that pops up. If anyone can help that'd be great.

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 16318 MB, Windows 10, 
    JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

FAILURE: 
    Build failed with an exception.


    What went wrong:


    problem occurred configuring root project 'my_mod'.


    Could not resolve all dependencies for configuration ':_compileJava_1'.

 
      > Failed to calculate the value of task ':compileJava' property 
    'javaCompiler'.

 
         > java.lang.NullPointerException (no error message)


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

BUILD 
    FAILED

Task 
    completed in 9 seconds

Edited by Diana21 on Thu, 07/08/2021 - 21:47
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have already tried, it was…
Fri, 07/09/2021 - 11:48

I have already tried, it was one of the solutions on it. I'll try again to be sure.

 

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It didn't work, still gives…
Mon, 07/12/2021 - 20:08

It didn't work, still gives me the same error.

 

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anything else I can try?  
Wed, 07/14/2021 - 11:55

Anything else I can try?

 

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had the same exact problem…
Fri, 07/16/2021 - 19:13

I had the same exact problem. i tried many things over the course of three days and nothing worked. that is until i decided to uninstall mcreator 2021.1 and install mcreator 2020.5

 

Now mcreator is back to normal and working just fine, though you have to use an older version until 2021.1 is fixed.

 

Hope this helps!