Can't open client

Started by LAFAT48 on

Topic category: Help with MCreator software

Last seen on 17:28, 24. Oct 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't open client

I can't open the testing client in MCreator. I just press the "run client" button. After a few seconds it goes "gradle idle" with a red square.

Error message in console:

Executing Gradle task: runClient
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 7441 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.

at org.gradle.tooling.internal.consumer.loader.DefaultToolingImplementationLoader.create( DefaultToolingImplementationLoader.java:103 )
at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create( CachingToolingImplementationLoader.java:45 )
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$1$1.run( DefaultAsyncConsumerActionExecutor.java:67 )
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.internal.service.ServiceLookupException: Could not configure services using ConnectionScopeServices.configure().

at org.gradle.internal.service.DefaultServiceRegistry.applyConfigureMethod( DefaultServiceRegistry.java:194 )
at org.gradle.internal.service.DefaultServiceRegistry.findProviderMethods( DefaultServiceRegistry.java:170 )
at org.gradle.internal.service.DefaultServiceRegistry.addProvider( DefaultServiceRegistry.java:244 )
at org.gradle.internal.service.ServiceRegistryBuilder.build( ServiceRegistryBuilder.java:52 )
at org.gradle.tooling.internal.provider.DefaultConnection.initializeServices( DefaultConnection.java:123 )
at org.gradle.tooling.internal.provider.DefaultConnection.configure( DefaultConnection.java:106 )
at org.gradle.tooling.internal.consumer.connection.AbstractPost12ConsumerConnection.configure( AbstractPost12ConsumerConnection.java:37 )
at org.gradle.tooling.internal.consumer.loader.DefaultToolingImplementationLoader.createConnection( DefaultToolingImplementationLoader.java:108 )
at org.gradle.tooling.internal.consumer.loader.DefaultToolingImplementationLoader.create( DefaultToolingImplementationLoader.java:92 )
... 14 more

Caused by: org.gradle.internal.service.ServiceCreationException: Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().

at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod( DefaultServiceRegistry.java:823 )
at org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create( DefaultServiceRegistry.java:774 )
at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectServiceProvider.getInstance( DefaultServiceRegistry.java:568 )
at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get( DefaultServiceRegistry.java:625 )
at org.gradle.internal.service.DefaultServiceRegistry.applyConfigureMethod( DefaultServiceRegistry.java:188 )
at org.gradle.internal.service.DefaultServiceRegistry.findProviderMethods( DefaultServiceRegistry.java:170 )
at org.gradle.internal.service.DefaultServiceRegistry.addProvider( DefaultServiceRegistry.java:244 )
at org.gradle.internal.service.DefaultServiceRegistry$1.addProvider( DefaultServiceRegistry.java:225 )
at org.gradle.tooling.internal.provider.ConnectionScopeServices.configure( ConnectionScopeServices.java:55 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:62 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:43 )
at java.lang.reflect.Method.invoke( Method.java:498 )
at org.gradle.internal.reflect.JavaMethod.invoke( JavaMethod.java:73 )
at org.gradle.internal.service.ReflectionBasedServiceMethod.invoke( ReflectionBasedServiceMethod.java:35 )
at org.gradle.internal.service.DefaultServiceRegistry.applyConfigureMethod( DefaultServiceRegistry.java:192 )
... 22 more

Caused by: java.lang.IllegalArgumentException: Cannot find JAR 'org.eclipse.jgit-4.5.3.201708160445-r.jar' required by module 'gradle-version-control' using classpath or distribution directory 'C:\Users\onura\.mcreator\gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3'

at org.gradle.api.internal.classpath.DefaultModuleRegistry.findDependencyJar( DefaultModuleRegistry.java:305 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.findDependencyJars( DefaultModuleRegistry.java:174 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.module( DefaultModuleRegistry.java:164 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.loadOptionalModule( DefaultModuleRegistry.java:144 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.loadModule( DefaultModuleRegistry.java:128 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.getModule( DefaultModuleRegistry.java:108 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.getModules( DefaultModuleRegistry.java:182 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry.access$100( DefaultModuleRegistry.java:47 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry$DefaultModule.getRequiredModules( DefaultModuleRegistry.java:339 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry$DefaultModule.collectRequiredModules( DefaultModuleRegistry.java:364 )
at org.gradle.api.internal.classpath.DefaultModuleRegistry$DefaultModule.getAllRequiredModules( DefaultModuleRegistry.java:356 )
at org.gradle.api.internal.DynamicModulesClassPathProvider.allRequiredModulesOf( DynamicModulesClassPathProvider.java:61 )
at org.gradle.api.internal.DynamicModulesClassPathProvider.findClassPath( DynamicModulesClassPathProvider.java:41 )
at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath( DefaultClassPathRegistry.java:34 )
at org.gradle.initialization.DefaultClassLoaderRegistry.<init>( DefaultClassLoaderRegistry.java:30 )
at org.gradle.internal.service.scopes.GlobalScopeServices.createClassLoaderRegistry( GlobalScopeServices.java:210 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:62 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:43 )
at java.lang.reflect.Method.invoke( Method.java:498 )
at org.gradle.internal.reflect.JavaMethod.invoke( JavaMethod.java:73 )
at org.gradle.internal.service.ReflectionBasedServiceMethod.invoke( ReflectionBasedServiceMethod.java:35 )
at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod( DefaultServiceRegistry.java:821 )
... 37 more

TASK EXECUTION FAILED
Task completed in 480 milliseconds

In some cases, Gradle caches…
Wed, 12/30/2020 - 17:02

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

Last seen on 21:03, 15. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ive been having the same…
Mon, 08/14/2023 - 20:26

ive been having the same problem and that hasent fixed it

Last seen on 21:03, 15. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have gone as far to…
Mon, 08/14/2023 - 20:27

i have gone as far to reinstall the whole program and that doesent work and its only with animated mobs

Last seen on 07:52, 18. Oct 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm having the same problem…
Wed, 10/18/2023 - 07:51

I'm having the same problem as you. Did you find a solution?