Gradle build failed? HELP!

Started by CommanderNooby on Thu, 12/29/2016 - 20:39

Topic category: Help with MCreator modding

Last seen on 20:34, 11. Mar 2017
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gradle build failed? HELP!
Thu, 12/29/2016 - 20:39

Executing gradle command: clean build
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk64\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 521
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator171\forge\build.gradle' line: 32
* What went wrong:
A problem occurred evaluating root project 'forge'.
> 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.
BUILD FAILED
Total time: 1 mins 56.966 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 119209 milliseconds

​I keep getting this error no matter what I make. Someone suggested just restarting my PC and restarting MCreator, but that didn't work. I could try a factory reset but I wan't to see what else I could try first. This is so ridiculously frustrating.

The site from that MCreator
Thu, 12/29/2016 - 20:48

The site from that MCreator tries download file versions.json is currently offline. (for +- 6 hours now). Only way I found to have succesful gradle is disconnect from internet when do you recompile.

Last seen on 20:34, 11. Mar 2017
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:The site from that MCreator
Thu, 12/29/2016 - 20:55

@#1 It worked! Thanks so much, it was getting kind of mad lol.