I Have this error when compiling.. what?

Started by trashoflevillage on Sun, 07/21/2019 - 05:30

Topic category: Bugs and solutions

Last seen on 23:25, 29. Jul 2019
Joined Dec 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I Have this error when compiling.. what?
Sun, 07/21/2019 - 05:30

I got this error, and have no clue how to fix it.

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'dimensional_advances'.
> 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 2s

Last seen on 10:07, 23. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Please paste the whole…
Sun, 07/21/2019 - 09:09

Please paste the whole console, not just this snippet.

Last seen on 23:25, 29. Jul 2019
Joined Dec 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
 Executing gradle command:…
Sun, 07/21/2019 - 16:19

 
Executing gradle command: runClient
Build info: MCreator 1.9.0, 64-bit, 8075 MB, Windows 10 - cmd, JVM 1.8.0_212, JAVA_HOME: C:\Users\uhhno\OneDrive\Desktop\MCreator 1.9.0\jdk
C:\Users\uhhno\MCreatorWorkspaces\dimensional_advances>gradlew -Dorg.gradle.java.home="C:/Users/uhhno/OneDrive/Desktop/MCreator 1.9.0/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" runClient 
Starting a Gradle Daemon (subsequent builds will be faster)
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'dimensional_advances'.
> 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 44s
C:\Users\uhhno\MCreatorWorkspaces\dimensional_advances>
Task completed with return code 0 in 45335 milliseconds

Last seen on 10:07, 23. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
I would suggest you to…
Mon, 07/22/2019 - 08:52

I would suggest you to remove the workspace and create a new one. Try to apply the second solution from this page too: https://mcreator.net/wiki/gradle-setup-errors