"Execution failed for task ':runClient'. Error

Started by Os_men on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 06:24, 29. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Execution failed for task ':runClient'. Error

Im getting an error while im trying to test my mod Can someone help me?

Console when i tried to launch game ;

  Executing Gradle task: runClient
Build info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 7893 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Task :compileJava UP-TO-DATE
> Task :processResources
> Task :classes
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp UP-TO-DATE
> Task :downloadMCMeta UP-TO-DATE
> Task :downloadAssets
> Task :extractNatives UP-TO-DATE
> Task :makeSrcDirs
> Task :prepareRuns
> Task :prepareRunClient
> Task :runClient
12:06.54 [main/INFO] [Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 36.1.0, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, C:\Users\Pc\.mcreator\gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}]
12:06.54 [main/INFO] [Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_275 by BellSoft
12:06.54 [main/DEBUG] [LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevdata,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmluserdevdata,fmlclient,fmluserdevclient,fmlserver]
12:06.54 [main/DEBUG] [NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp]
12:06.54 [main/DEBUG] [LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
12:06.54 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
12:06.54 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: []
12:06.55 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml]
12:06.55 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
12:06.55 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin
12:06.55 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin
12:06.55 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
12:06.55 [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR.
12:06.55 [main/DEBUG] [LauncherVersion/CORE]: Found FMLLauncher version 36.1
12:06.55 [main/DEBUG] [FMLLoader/CORE]: FML 36.1 loading
12:06.55 [main/DEBUG] [FMLLoader/CORE]: FML found ModLauncher version : 8.0.9+86+master.3cf110c
12:06.55 [main/DEBUG] [FMLLoader/CORE]: Initializing modjar URL handler
12:06.55 [main/DEBUG] [FMLLoader/CORE]: FML found AccessTransformer version : 3.0.1+61+master.47bca0e
12:06.55 [main/DEBUG] [FMLLoader/CORE]: FML found EventBus version : 4.0.0+65+master.6080a3f
12:06.55 [main/DEBUG] [FMLLoader/CORE]: Found Runtime Dist Cleaner
12:06.55 [main/DEBUG] [FMLLoader/CORE]: FML found CoreMod version : 4.0.6+14+master.c21a551
12:06.55 [main/DEBUG] [FMLLoader/CORE]: Found ForgeSPI package implementation version 3.2.0+13+master.8ddb2cc
12:06.55 [main/DEBUG] [FMLLoader/CORE]: Found ForgeSPI package specification 3
12:06.56 [main/INFO] [FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
12:06.56 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
12:06.56 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
12:06.56 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
12:06.56 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin
12:06.56 [main/DEBUG] [mixin/]: Mixin bootstrap service org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapperBootstrap is not available: LaunchWrapper is not available
12:06.56 [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in sun.misc.Launcher$AppClassLoader@4e25154f
12:06.56 [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/Pc/.mcreator/gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.2/1cf212283d26f706fd3074318870bebd14d2a9ed/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT
12:06.56 [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager
12:06.56 [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(4f56a0a2)
12:06.56 [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(4f56a0a2)
12:06.56 [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(4f56a0a2)
12:06.56 [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(4f56a0a2)
12:06.56 [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(4f56a0a2)
12:06.56 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin
12:06.56 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
12:06.56 [main/DEBUG] [FMLServiceProvider/CORE]: Setting up basic FML game directories
12:06.56 [main/DEBUG] [FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run
12:06.56 [main/DEBUG] [FMLPaths/CORE]: Path GAMEDIR is C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run
12:06.56 [main/DEBUG] [FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\mods
12:06.56 [main/DEBUG] [FMLPaths/CORE]: Path MODSDIR is C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\mods
12:06.56 [main/DEBUG] [FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\config
12:06.56 [main/DEBUG] [FMLPaths/CORE]: Path CONFIGDIR is C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\config
12:06.56 [main/DEBUG] [FMLPaths/CORE]: Path FMLCONFIG is C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\config\fml.toml
12:06.56 [main/DEBUG] [FMLServiceProvider/CORE]: Loading configuration
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 java.lang.RuntimeException: Failed to load FML config from C:\Users\Pc\MCreatorWorkspaces\ruby_modu\run\config\fml.toml
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:64)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:77)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at java.util.HashMap$Values.forEach(HashMap.java:981)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:60)
12:06.56 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061 ... 10 more
> Task :runClient FAILED
Exception in thread "main"
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 15s
10 actionable tasks: 5 executed, 5 up-to-date
BUILD FAILED
Task completed in 15 seconds