Gradle Idle Problem

Started by stan12345 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Idle Problem

Hi, i have a problem, the gradle idle is "red" and i can't start my workspace (i try to dlete all the cache in the gradle folder), look the crash report and HELP ME please.
 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 6024 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: java.lang.NoClassDefFoundError: 
    org/gradle/process/internal/DefaultProcessForkOptions

 
      at java.lang.ClassLoader.defineClass1(Native Method)

 
      at java.lang.ClassLoader.defineClass(
ClassLoader.java:756
)

 
      at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:142
)

 
      at java.net.URLClassLoader.defineClass(
URLClassLoader.java:468
)

 
      at java.net.URLClassLoader.access$100(
URLClassLoader.java:74
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:369
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:363
)

 
      at java.security.AccessController.doPrivileged(Native Method)

 
      at java.net.URLClassLoader.findClass(
URLClassLoader.java:362
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:418
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:351
)

 
      at java.lang.ClassLoader.defineClass1(Native Method)

 
      at java.lang.ClassLoader.defineClass(
ClassLoader.java:756
)

 
      at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:142
)

 
      at java.net.URLClassLoader.defineClass(
URLClassLoader.java:468
)

 
      at java.net.URLClassLoader.access$100(
URLClassLoader.java:74
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:369
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:363
)

 
      at java.security.AccessController.doPrivileged(Native Method)

 
      at java.net.URLClassLoader.findClass(
URLClassLoader.java:362
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:418
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:351
)

 
      at org.gradle.process.internal.DefaultExecActionFactory.newExec(
DefaultExecActionFactory.java:76
)

 
      at org.gradle.launcher.daemon.client.DefaultDaemonStarter.startProcess(
DefaultDaemonStarter.java:150
)

 
      at org.gradle.launcher.daemon.client.DefaultDaemonStarter.startDaemon(
DefaultDaemonStarter.java:136
)

 
      at 
    org.gradle.launcher.daemon.client.DefaultDaemonConnector.doStartDaemon(
DefaultDaemonConnector.java:212
)

 
      at org.gradle.launcher.daemon.client.DefaultDaemonConnector.startDaemon(
DefaultDaemonConnector.java:206
)

 
      at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(
DefaultDaemonConnector.java:130
)

 
      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.lang.ClassNotFoundException: 
    org.gradle.process.internal.DefaultProcessForkOptions

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:371
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:363
)

 
      at java.security.AccessController.doPrivileged(Native Method)

 
      at java.net.URLClassLoader.findClass(
URLClassLoader.java:362
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:418
)

 
      at java.lang.ClassLoader.loadClass(
ClassLoader.java:351
)

 
      ... 54 more

Caused 
    by: java.util.zip.ZipException: ZIP_Read: error reading zip file

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

 
      at java.util.zip.ZipFile.access$1400(
ZipFile.java:60
)

 
      at java.util.zip.ZipFile$ZipFileInputStream.read(
ZipFile.java:734
)

 
      at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(
ZipFile.java:434
)

 
      at java.util.zip.InflaterInputStream.read(
InflaterInputStream.java:158
)

 
      at sun.misc.Resource.getBytes(
Resource.java:124
)

 
      at java.net.URLClassLoader.defineClass(
URLClassLoader.java:463
)

 
      at java.net.URLClassLoader.access$100(
URLClassLoader.java:74
)

 
      at java.net.URLClassLoader$1.run(
URLClassLoader.java:369
)

 
      ... 59 more

TASK 
    EXECUTION FAILED

Task 
    completed in 22754 milliseconds