Topic category: Troubleshooting, bugs, and solutions
I was working on a mod but when I exported it, one of my features didn't export properly. So I decided it was time to update to 2020.5. But when I did. The workspace wouldn't even load. I am sorry if this is a duplicate but I haven't seen any others on what I've seen.
Error message:
Executing
Gradle task: eclipse
Build
info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 7986 MB, Windows 10,
JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException:
Could not execute build using connection to Gradle distribution
'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:55
)
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:29
)
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(
ResultHandlerAdapter.java:43
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(
DefaultAsyncConsumerActionExecutor.java:69
)
at
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
ExecutorPolicy.java:64
)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(
ManagedExecutorImpl.java:48
)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624
)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(
ThreadFactoryImpl.java:56
)
at java.lang.Thread.run(
Thread.java:748
)
Caused
by: org.gradle.launcher.daemon.client.NoUsableDaemonFoundException: Unable
to find a usable idle daemon. I have connected to 100 different daemons
but I could not use any of them to run the build. BuildActionParameters
were DefaultBuildActionParameters{, currentDir=C:\Program
Files\Pylo\MCreator, systemProperties size=68, envVariables size=44,
logLevel=LIFECYCLE, useDaemon=true, continuous=false, interactive=false,
injectedPluginClasspath=[]}.
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:152
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:93
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:60
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:41
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:58
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:37
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:180
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:124
)
at org.gradle.tooling.internal.provider.DefaultConnection.getModel(
DefaultConnection.java:208
)
at
org.gradle.tooling.internal.consumer.connection.CancellableModelBuilderBackedModelProducer.produceModel(
CancellableModelBuilderBackedModelProducer.java:54
)
at
org.gradle.tooling.internal.consumer.connection.PluginClasspathInjectionSupportedCheckModelProducer.produceModel(
PluginClasspathInjectionSupportedCheckModelProducer.java:38
)
at
org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection.run(
AbstractConsumerConnection.java:64
)
at
org.gradle.tooling.internal.consumer.connection.ParameterValidatingConsumerConnection.run(
ParameterValidatingConsumerConnection.java:49
)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:97
)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:89
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:130
)
at
org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(
CancellableConsumerActionExecutor.java:45
)
at
org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(
ProgressLoggingConsumerActionExecutor.java:61
)
at
org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(
RethrowingErrorsConsumerActionExecutor.java:38
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(
DefaultAsyncConsumerActionExecutor.java:67
)
... 6 more
Caused
by: org.gradle.launcher.daemon.client.DaemonInitialConnectException: The
first result from the daemon was empty. Most likely the process died
immediately after connection.
at org.gradle.launcher.daemon.client.DaemonClient.executeBuild(
DaemonClient.java:171
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:142
)
... 25 more
TASK
EXECUTION FAILED
Task
completed in 201101 milliseconds
Note: I cannot even load in a brand new workspace without this error.
Try restarting PC
That didn't work for me.
Then try reinstalling and make sure AV is not interfering MCreator
What is AV?
Anti virus. It may delete gradle files, it is a known issue with gradle
Now when I open my workspaces, It now loads more, but it now comes up with build issues. My Anti-virus Isn't 24/7 active and I haven't ran it since I used mcreator. I tried to do the solution for the second-most common problem, but deleting the cache didn't seem to work. Is it safe to just delete gradle like it says? or is there a better option.
It is safe, it will attempt to rebuild a new clean variant of it next build, which will take a bit longer to complete than usual
I could not find a gradle folder in my pylo folder.
Here is the error message if it helps at all
"
Executing
Gradle task: eclipse
Build
info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 7986 MB, Windows 10,
JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
>
Configure project :
New
Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
>
Task :downloadMcpConfig
>
Task :extractSrg
>
Task :createSrgToMcp
>
Task :downloadMCMeta
Copying
local object: e9/e9833a1512b57bcf88ac4fdcc8df4e5a7e9d701d Asset:
minecraft/sounds/random/orb.ogg
Copying
local object: e9/e9833a1512b57bcf88ac4fdcc8df4e5a7e9d701d Asset:
minecraft/sounds/random/successful_hit.ogg
minecraft/sounds/random/orb.ogg
Hash failed.
>
Task :downloadAssets FAILED
FAILURE:
Build failed with an exception.
*
What went wrong:
Execution
failed for task ':downloadAssets'.
>
Failed to get asset: minecraft/sounds/random/orb.ogg
Some assets failed to download or validate, try running the task again.
*
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 14s
5
actionable tasks: 5 executed
BUILD
FAILED
Task
completed in 20356 milliseconds"
Just wanted to add that I may have deleted it a while ago before I asked the forums