can't create a workspace

Started by Astramin on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:26, 2. Sep 2020
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can't create a workspace

Executing 
    Gradle task: setupDecompWorkspace --refresh-dependencies

Build 
    info: MCreator 2020.4.32115, forge-1.12.2, 64-bit, 8156 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

org.gradle.tooling.GradleConnectionException: 
    Could not install Gradle distribution from 
    'https://services.gradle.org/distributions/gradle-4.4-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:147
)

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

 
      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
)

 
      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.lang.RuntimeException: Timeout of 120000 reached waiting for 
    exclusive access to file: 
    C:\Users\inner\.mcreator\gradle\wrapper\dists\gradle-4.4-bin\bgaq7vklkazwgxox0hdadxbvi\gradle-4.4-bin.zip

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

 
      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 120248 milliseconds

Last seen on 00:02, 26. Mar 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
probably failed to download…
Wed, 09/02/2020 - 06:00

probably failed to download gradle files

Last seen on 06:40, 15. Feb 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you are including long…
Wed, 09/02/2020 - 08:52

If you are including long logs in the forum topic, use service such as Pastebin to share them and only post the link to the full log from the forum topic.

Also TechnicalVillagerz is right and it looks like a connection problem