ERROR Unable to locate appender "Console" for logger config "root"

Status
Fixed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

Executing gradle command: runClient
Build info: MCreator 1.8.2, 64-bit, 8061 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" runClient 
Daemon will be stopped at the end of the build stopping after processing
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-7764e3e        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources UP-TO-DATE
:classes
:jar
:extractNatives SKIPPED
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 45/1305   3%
Current status: 128/1305   9%
Current status: 382/1305   29%
Current status: 638/1305   48%
Current status: 943/1305   72%
Current status: 1064/1305   81%
Current status: 1082/1305   82%
Current status: 1235/1305   94%
:makeStart
:runClient
23:13.49 [main/INFO]: Extra: []
23:13.49 [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Clency/.mcreator/gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
23:13.49 [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
23:13.49 [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
23:13.49 [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
23:13.49 [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
23:13.49 [main/INFO]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
23:13.49 [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_192, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator182\jdk\jre
23:13.49 [main/ERROR]: Apache Maven library folder was not in the format expected. Using default libraries directory.
23:13.49 [main/ERROR]: Full: C:\Users\Clency\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
23:13.49 [main/ERROR]: Trimmed: c:/users/clency/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
23:13.49 [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
23:13.49 [main/INFO]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-02-22 23:13:49,963 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-22 23:13:49,967 main ERROR Error processing element TerminalConsole ([Appenders: null]): CLASS_NOT_FOUND
2019-02-22 23:13:49,968 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-22 23:13:50,055 main ERROR Unable to locate appender "Console" for logger config "root"
2019-02-22 23:13:50,671 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-22 23:13:50,672 main ERROR Error processing element TerminalConsole ([Appenders: null]): CLASS_NOT_FOUND
2019-02-22 23:13:50,673 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-22 23:13:50,690 main ERROR Unable to locate appender "Console" for logger config "root"

Issue comments

This is not really an Error, all is just fine but it see this everytime I launch Test client, and I am also receiving 0 Info about what's happening in the Test worlds, wonder why

Based on the log, gradle caches became corrupted so try going to C:\Users\Clency\.mcreator\gradle\ and deleting caches folder in this folder.

If the error is the same, you did not delete caches as the error is referencing them:

23:13.49 [main/ERROR]: Apache Maven library folder was not in the format expected. Using default libraries directory.
23:13.49 [main/ERROR]: Full: C:\Users\Clency\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
23:13.49 [main/ERROR]: Trimmed: c:/users/clency/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/

i deleted C:\Users\Clency\.mcreator\gradle\caches but still have it, i did it 2 time but still no work

Are you 100% sure it is the same error? Paste it here if you are not so I can compare it. Thanks!

Current status: 1200/1305   91%
:makeStart
:runClient
20:10.52 [main/INFO]: Extra: []
20:10.52 [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Clency/.mcreator/gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
20:10.52 [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
20:10.52 [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
20:10.52 [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
20:10.52 [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
20:10.52 [main/INFO]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
20:10.52 [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_192, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator182\jdk\jre
20:10.53 [main/ERROR]: Apache Maven library folder was not in the format expected. Using default libraries directory.
20:10.53 [main/ERROR]: Full: C:\Users\Clency\.mcreator\gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
20:10.53 [main/ERROR]: Trimmed: c:/users/clency/.mcreator/gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
20:10.53 [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
20:10.53 [main/INFO]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-02-24 20:10:53,620 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-24 20:10:53,623 main ERROR Error processing element TerminalConsole ([Appenders: null]): CLASS_NOT_FOUND
2019-02-24 20:10:53,624 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-24 20:10:53,686 main ERROR Unable to locate appender "Console" for logger config "root"
2019-02-24 20:10:54,141 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-24 20:10:54,142 main ERROR Error processing element TerminalConsole ([Appenders: null]): CLASS_NOT_FOUND
2019-02-24 20:10:54,143 main ERROR Error processing element LoggerNamePatternSelector ([PatternLayout: null]): CLASS_NOT_FOUND
2019-02-24 20:10:54,159 main ERROR Unable to locate appender "Console" for logger config "root"

This is strange. My only idea is to completely uninstall MCreator, go to your user folder and delete .mcreator folder there too. Before you do this, back up your workspaces. Then do a clean install. I hope this will help.

There is a ticket of another user with the identical error: https://mcreator.net/tracker/issue/46835 You might want to try to ask him how he resolved it too.

I hope this will help. To me it looks like the Gradle got messed up, but I was not able to find a definite solution for this yet.

Also, something not related: You should make something to links Test worlds with mcr file, because when we change MCreator version or reinstall, we lose our Test worlds and that's a real problem, in these test world we have .NBT structures and other stuffs and we lost them in a new mcreator, Test worlds are more important than we think

In fact, this is in the plan. In the near future, MCreator will store workspaces in separate folders and each of them will have own forge setup so the saves will be bound to the specific workspace/mod.

Well, i just exported MCreator workspace, I deleted all MCreator related folders, like or .mcreator .gradle and then i unistalled MCreator and Reinstall it, just a new frest MCreator Start, Well this issue last since i think 1.8.2 so the folders changed a bit right now



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.