Topic category: Troubleshooting, bugs, and solutions
Executing
Gradle task: eclipse
Build
info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 16267 MB, Windows 10,
JVM 1.8.0_252, 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.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:64
)
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.api.GradleException: Could not write cache value to
'C:\Users\Tuna\.mcreator\gradle\daemon\4.10.3\registry.bin'.
at org.gradle.cache.internal.SimpleStateCache.serialize(
SimpleStateCache.java:126
)
at org.gradle.cache.internal.SimpleStateCache.access$100(
SimpleStateCache.java:34
)
at org.gradle.cache.internal.SimpleStateCache$2.run(
SimpleStateCache.java:58
)
at
org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.doWriteAction(
DefaultFileLockManager.java:207
)
at
org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.writeFile(
DefaultFileLockManager.java:197
)
at org.gradle.cache.internal.OnDemandFileAccess.writeFile(
OnDemandFileAccess.java:60
)
at org.gradle.cache.internal.SimpleStateCache.set(
SimpleStateCache.java:56
)
at
org.gradle.cache.internal.FileIntegrityViolationSuppressingPersistentStateCacheDecorator.set(
FileIntegrityViolationSuppressingPersistentStateCacheDecorator.java:40
)
at
org.gradle.cache.internal.FileIntegrityViolationSuppressingPersistentStateCacheDecorator.doUpdate(
FileIntegrityViolationSuppressingPersistentStateCacheDecorator.java:67
)
at
org.gradle.cache.internal.FileIntegrityViolationSuppressingPersistentStateCacheDecorator.update(
FileIntegrityViolationSuppressingPersistentStateCacheDecorator.java:44
)
at
org.gradle.launcher.daemon.registry.PersistentDaemonRegistry.removeStopEvents(
PersistentDaemonRegistry.java:198
)
at
org.gradle.launcher.daemon.client.DefaultDaemonConnector.handleStopEvents(
DefaultDaemonConnector.java:137
)
at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(
DefaultDaemonConnector.java:129
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:139
)
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.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:62
)
... 6 more
Caused
by: java.io.FileNotFoundException:
C:\Users\Tuna\.mcreator\gradle\daemon\4.10.3\registry.bin (Erişim
engellendi)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(
FileOutputStream.java:270
)
at java.io.FileOutputStream.<init>(
FileOutputStream.java:213
)
at java.io.FileOutputStream.<init>(
FileOutputStream.java:162
)
at org.gradle.cache.internal.SimpleStateCache.serialize(
SimpleStateCache.java:119
)
... 38 more
TASK
EXECUTION FAILED
Task
completed in 73 milliseconds
Check your file permissions.
Also, try deleting C:\Users\Tuna\.mcreator\gradle\