Setting up is running forever - Gradle error

Published by Mickey247 on Mon, 06/25/2018 - 18:20
Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

MCreator was not able to connect to the internet. Gradle tasks might not work.
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Mickey\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-ee3e3df        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.1/scal…
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-comb…
Download https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.1/scal…
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/…
Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1…
Download https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.jar
Download https://repo1.maven.org/maven2/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0…
Download https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/code…
Download https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwa…
Download https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123…
Download https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/201008…
Download https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soun…
Download https://repo1.maven.org/maven2/net/java/jinput/jinput/2.0.5/jinput-2.0…
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-201…
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightl…
Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.jar
Download https://repo1.maven.org/maven2/ca/weblite/java-objc-bridge/1.0.0/java-o…
Download https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1…
Download https://repo1.maven.org/maven2/org/scala-lang/scala-actors/2.11.0/scala…
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/ji…
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/ji…
Download https://repo1.maven.org/maven2/net/java/jinput/jinput-platform/2.0.5/ji…
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-ni…
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-ni…
Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-ni…
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006e4f4c38, pid=7284, tid=0x0000000000001ce8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_152-b16) (build 1.8.0_152-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.152-b16 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x114c38]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Pylo\MCreator179\forge\hs_err_pid7284.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Pylo\MCreator179\jdk\bin\java.exe'' finished with non-zero exit value 1
* 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: 4 mins 29.281 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 270770 milliseconds

Issue comments

The error you provided can be caused by any of these causes:

  • No internet connection
  • Slow internet connection
  • Firewall (on the computer, router or modem) blocking MCreator
  • AV blocking MCreator
  • ISP blocking MCreator or domains it is trying to access

Try to access one of the URLs in the log from the browser. If you can not access these files there too, it is an issue in general, otherwise, you can assume only MCreator got blocked when trying to access these files.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.