Topic category: Help with Minecraft modding (Java Edition)
Hi, when I was trying to update my mod, Mcreator gave an error and I can no longer use the worksplace. Luckily, I made a backup before, so I still have the 1.15 version safe. Can you tell me why do I have an error while upgrading my mod? Thanks.
I paste here the error I got from MCreator:
Executing
Gradle task: build
Build
info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 16201 MB, Windows 10,
JVM 1.8.0_275, 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-6.8.1-all.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.DaemonConnectionException: Could not
receive a message from the daemon.
at org.gradle.launcher.daemon.client.DaemonClientConnection.receive(
DaemonClientConnection.java:83
)
at org.gradle.launcher.daemon.client.DaemonClient.executeBuild(
DaemonClient.java:167
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:147
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:98
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:46
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:31
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:60
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:37
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:218
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:144
)
at org.gradle.tooling.internal.provider.DefaultConnection.getModel(
DefaultConnection.java:202
)
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:144
)
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.internal.remote.internal.MessageIOException: Could not read
message from '/127.0.0.1:50848'.
at org.gradle.internal.remote.internal.inet.SocketConnection.receive(
SocketConnection.java:94
)
at org.gradle.launcher.daemon.client.DaemonClientConnection.receive(
DaemonClientConnection.java:77
)
... 27 more
Caused
by: com.esotericsoftware.kryo.KryoException: java.io.IOException: Se ha
anulado una conexión establecida por el software en su equipo host.
at com.esotericsoftware.kryo.io.Input.fill(
Input.java:148
)
at com.esotericsoftware.kryo.io.Input.require(
Input.java:178
)
at com.esotericsoftware.kryo.io.Input.readVarInt(
Input.java:355
)
at com.esotericsoftware.kryo.io.Input.readInt(
Input.java:350
)
at org.gradle.internal.serialize.kryo.KryoBackedDecoder.readSmallInt(
KryoBackedDecoder.java:127
)
at
org.gradle.internal.serialize.DefaultSerializerRegistry$TaggedTypeSerializer.read(
DefaultSerializerRegistry.java:142
)
at
org.gradle.internal.serialize.Serializers$StatefulSerializerAdapter$1.read(
Serializers.java:36
)
at org.gradle.internal.remote.internal.inet.SocketConnection.receive(
SocketConnection.java:81
)
... 28 more
Caused
by: java.io.IOException: Se ha anulado una conexión establecida por el
software en su equipo host.
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(
SocketDispatcher.java:43
)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(
IOUtil.java:223
)
at sun.nio.ch.IOUtil.read(
IOUtil.java:192
)
at sun.nio.ch.SocketChannelImpl.read(
SocketChannelImpl.java:379
)
at
org.gradle.internal.remote.internal.inet.SocketConnection$SocketInputStream.read(
SocketConnection.java:196
)
at com.esotericsoftware.kryo.io.Input.fill(
Input.java:146
)
... 35 more
TASK
EXECUTION FAILED
Task
completed in 1 second
Try rebooting PC and make sure antivirus is not blocking MCreator
Thanks so much for your suggestion, Klemen.
You were right, I forgot to reboot my pc after the update. It works fine now. Thanks!