Gradle fails -23 after the installation

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description
10:21:34.975 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=80d7e163-5139-4976-9893-877dc4a35b52,javaHome=C:\Pylo\MCreator179\jdk,daemonRegistryDir=C:\Users\joyce\.mcreator\gradle\daemon,pid=5320,idleTimeout=120000,daemonOpts=-Xms625m,-Xmx2048m,-Dfile.encoding=windows-1252,-Duser.country=BR,-Duser.language=pt,-Duser.variant]
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...
:decompileMcException in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
    at org.jetbrains.java.decompiler.struct.attr.StructLocalVariableTableAttribute.versionVariables(StructLocalVariableTableAttribute.java:124)
    at org.jetbrains.java.decompiler.struct.attr.StructLocalVariableTableAttribute.initContent(StructLocalVariableTableAttribute.java:68)
    at org.jetbrains.java.decompiler.struct.StructMember.readAttribute(StructMember.java:96)
    at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:111)
    at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65)
    at org.jetbrains.java.decompiler.struct.StructMethod.readAttribute(StructMethod.java:106)
    at org.jetbrains.java.decompiler.struct.StructMember.readAttributes(StructMember.java:65)
    at org.jetbrains.java.decompiler.struct.StructMethod.<init>(StructMethod.java:79)
    at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:113)
    at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:72)
    at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162)
    at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101)
    at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79)
    at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.addSpace(BaseDecompiler.java:36)
    at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:68)
    at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)
Picked up _JAVA_OPTIONS: -Xmx1000m
 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: 7 mins 39.662 secs
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshotsToTreeSnapshotsIndex.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache treeSnapshotUsage.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\treeSnapshotUsage.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\fileSnapshots.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\fileHashes.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\taskArtifacts.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache treeSnapshots.bin (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts\treeSnapshots.bin)
10:29:10.292 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (C:\Pylo\MCreator179\forge\.gradle\2.14\taskArtifacts).
10:29:10.292 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 1, disk reads: 1 (avg: 0.016 secs, total: 0.016 secs)
10:29:10.302 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
10:29:10.302 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.01 secs
10:29:10.302 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 35, cache instances: 6, modules served from cache: 54, artifacts: 33
10:29:10.302 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (C:\Users\joyce\.mcreator\gradle\caches\2.14\generated-gradle-jars) was closed 0 times.
10:29:10.302 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (C:\Users\joyce\.mcreator\gradle\caches\modules-2\metadata-2.16\module-metadata.bin)
10:29:10.302 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-url.bin (C:\Users\joyce\.mcreator\gradle\caches\modules-2\metadata-2.16\artifact-at-url.bin)
10:29:10.302 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (C:\Users\joyce\.mcreator\gradle\caches\modules-2\metadata-2.16\artifact-at-repository.bin)
10:29:10.302 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (C:\Users\joyce\.mcreator\gradle\caches\modules-2).
10:29:10.302 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\joyce\.mcreator\gradle\caches\2.14\plugin-resolution) was closed 0 times.
10:29:10.310 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
10:29:10.310 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
10:29:10.310 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
10:29:10.805 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon stop has been requested. Sleeping until state changes.
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager is shutting down
10:29:10.805 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: finished waiting for DaemonCommandExecution[command = BuildAndStop{id=d71bf503-4318-4dce-9201-0b8795ccf27b.1, currentDir=C:\Pylo\MCreator179\forge}, connection = org.gradle.launcher.daemon.server.DefaultDaemonConnection@6dc5d12]. Result org.gradle.launcher.daemon.server.DaemonStateCoordinator@8b642d5 with state StopRequested
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-17: Close connection
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-17: Close connection
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager shut down
10:29:10.805 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Command execution: completed DaemonCommandExecution[command = BuildAndStop{id=d71bf503-4318-4dce-9201-0b8795ccf27b.1, currentDir=C:\Pylo\MCreator179\forge}, connection = org.gradle.launcher.daemon.server.DefaultDaemonConnection@6dc5d12]
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager is shutting down
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-16: Close connection
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-16: Close connection
10:29:10.805 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager shut down
10:29:10.813 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager is shutting down
10:29:10.813 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-18: Close connection
10:29:10.805 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] updating lastActivityAt to 1535549350805
10:29:10.813 [DEBUG] [org.apache.http.impl.conn.DefaultManagedHttpClientConnection] http-outgoing-18: Close connection
10:29:10.815 [DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection manager shut down
10:29:10.815 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Marking daemon stopped due to command completed and stop requested. The daemon is running a build: false
10:29:10.815 [DEBUG] [org.gradle.launcher.daemon.server.exec.ReturnResult] Daemon is dispatching the build result: Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':decompileMc'.]
10:29:10.815 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: dispatching class org.gradle.launcher.daemon.protocol.Failure
10:29:10.815 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon has stopped.
10:29:10.823 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] stop() called on daemon
10:29:10.823 [INFO] [org.gradle.launcher.daemon.server.Daemon] Stop requested. Daemon is removing its presence from the registry...
10:29:10.823 [DEBUG] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Removing our presence to clients, eg. removing this address from the registry: [f429a520-5fdc-4512-ba78-66eb041c051f port:53042, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
10:29:10.823 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Removing daemon address: [f429a520-5fdc-4512-ba78-66eb041c051f port:53042, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
10:29:10.825 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
10:29:10.825 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
10:29:10.825 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
10:29:10.825 [DEBUG] [org.gradle.launcher.daemon.server.DomainRegistryUpdater] Address removed from registry.
10:29:10.903 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Finishing executing command: BuildAndStop{id=d71bf503-4318-4dce-9201-0b8795ccf27b.1, currentDir=C:\Pylo\MCreator179\forge}
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: received class org.gradle.launcher.daemon.protocol.Finished
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 16: Received non-IO message from client: org.gradle.launcher.daemon.protocol.Finished@46615198
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler] Received finished message: org.gradle.launcher.daemon.protocol.Finished@46615198
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: stopping connection
10:29:10.905 [DEBUG] [org.gradle.internal.remote.internal.inet.SocketConnection] Discarding EOFException: java.io.EOFException
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: received null
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 16: Received end-of-input from client.
10:29:10.905 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 15: stopping connection
10:29:10.915 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Removing daemon address: [f429a520-5fdc-4512-ba78-66eb041c051f port:53042, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]
Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.
10:29:10.915 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
10:29:10.915 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
10:29:10.923 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.

 

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.