Problem with setting up the workspace

Published by MMG on Thu, 07/09/2020 - 16:26
Status
Duplicate
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

Version is not applicable. I tryed to open my workspace in 2020.3 and it showed me this after recompiling the workspace

 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2020.4.28114 EAP (28114), forge-1.15.2, 64-bit, 8097 MB, 
    Windows 10, JVM 1.8.0_252, JAVA_HOME: 
    C:\Users\DELL\Downloads\MCreatorEAP20204b28114\jdk

org.gradle.tooling.GradleConnectionException: 
    Could not install Gradle distribution from 
    'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.

 
      at 
    org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:139
)

 
      at 
    org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(
CachingToolingImplementationLoader.java:41
)

 
      at 
    org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(
SynchronizedToolingImplementationLoader.java:44
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(
LazyConsumerActionExecutor.java:104
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:86
)

 
      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:55
)

 
      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: java.util.zip.ZipException: error in opening zip file

 
      at java.util.zip.ZipFile.open(Native Method)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:225
)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:155
)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:169
)

 
      at org.gradle.wrapper.Install.unzip(
Install.java:239
)

 
      at org.gradle.wrapper.Install.access$900(
Install.java:27
)

 
      at org.gradle.wrapper.Install$1.call(
Install.java:81
)

 
      at org.gradle.wrapper.Install$1.call(
Install.java:48
)

 
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(
ExclusiveFileAccessManager.java:69
)

 
      at org.gradle.wrapper.Install.createDist(
Install.java:48
)

 
      at org.gradle.tooling.internal.consumer.DistributionInstaller.install(
DistributionInstaller.java:72
)

 
      at 
    org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:133
)

 
      ... 14 more

TASK 
    EXECUTION FAILED

Task 
    completed in 160 milliseconds

 

 

 

 

 

 

 

Also I tryed making a new workspace after that in newest 2020.4 snapshot and it showed me this after the fail

 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2020.4.28114 EAP (28114), forge-1.15.2, 64-bit, 8097 MB, 
    Windows 10, JVM 1.8.0_252, JAVA_HOME: 
    C:\Users\DELL\Downloads\MCreatorEAP20204b28114\jdk

org.gradle.tooling.GradleConnectionException: 
    Could not install Gradle distribution from 
    'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.

 
      at 
    org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:139
)

 
      at 
    org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(
CachingToolingImplementationLoader.java:41
)

 
      at 
    org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(
SynchronizedToolingImplementationLoader.java:44
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(
LazyConsumerActionExecutor.java:104
)

 
      at 
    org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:86
)

 
      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:55
)

 
      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: java.util.zip.ZipException: error in opening zip file

 
      at java.util.zip.ZipFile.open(Native Method)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:225
)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:155
)

 
      at java.util.zip.ZipFile.<init>(
ZipFile.java:169
)

 
      at org.gradle.wrapper.Install.unzip(
Install.java:239
)

 
      at org.gradle.wrapper.Install.access$900(
Install.java:27
)

 
      at org.gradle.wrapper.Install$1.call(
Install.java:81
)

 
      at org.gradle.wrapper.Install$1.call(
Install.java:48
)

 
      at org.gradle.wrapper.ExclusiveFileAccessManager.access(
ExclusiveFileAccessManager.java:69
)

 
      at org.gradle.wrapper.Install.createDist(
Install.java:48
)

 
      at org.gradle.tooling.internal.consumer.DistributionInstaller.install(
DistributionInstaller.java:72
)

 
      at 
    org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:133
)

 
      ... 14 more

TASK 
    EXECUTION FAILED

Task 
    completed in 136 milliseconds

Issue comments



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.