Topic category: Troubleshooting, bugs, and solutions
Trying to run the project comes up with an error every time. I've reset the Gradle cache and reinstalled MCreator entirely but it hasn't helped.
Here's the error log.
Executing
Gradle task: runClient
Build
info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 8089 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
>
Configure project :
New
Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
>
Task :compileJava UP-TO-DATE
>
Task :processResources UP-TO-DATE
>
Task :classes UP-TO-DATE
>
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:10.49
[main/INFO]
[Launcher/MODLAUNCHER]:
ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient,
--fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2,
--fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.0,
--version, MOD_DEV, --assetIndex, 1.15, --assetsDir,
C:\Users\ITAdmin\.mcreator\gradle\caches\forge_gradle\assets, --username,
Dev, --accessToken, ????????, --userProperties, {}]
32:10.49
[main/INFO]
[Launcher/MODLAUNCHER]:
ModLauncher 5.1.2+70+master.2845bb9 starting: java version 1.8.0_252 by
BellSoft
36:10.49
[main/DEBUG]
[LaunchServiceHandler/MODLAUNCHER]:
Found launch services
[minecraft,fmldevdata,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmluserdevdata,fmlclient,fmluserdevclient,fmlserver]
36:10.49
[main/DEBUG]
[NameMappingServiceHandler/MODLAUNCHER]:
Found naming services : [srgtomcp]
36:10.49
[main/DEBUG]
[LaunchPluginHandler/MODLAUNCHER]:
Found launch plugins:
[eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
36:10.49
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Discovering transformation services
36:10.49
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Found additional transformation services from discovery services: []
36:10.49
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Found transformer services : [fml]
36:10.49
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Transformation services loading
36:10.49
[main/DEBUG]
[TransformationServiceDecorator/MODLAUNCHER]:
Loading service fml
36:10.49
[main/DEBUG]
[ne.mi.fm.lo.FMLServiceProvider/]:
Injecting tracing printstreams for STDOUT/STDERR.
36:10.49
[main/DEBUG]
[LauncherVersion/CORE]:
Found FMLLauncher version 31.2
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
FML 31.2 loading
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
FML found ModLauncher version : 5.1.2+70+master.2845bb9
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
Initializing modjar URL handler
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
FML found AccessTransformer version : 2.1.1+55+master.08d32b9
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
FML found EventBus version : 2.2.0+59+master.4f71e48
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
Found Runtime Dist Cleaner
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
FML found CoreMod version : 2.0.3+8+master.ca72757
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
Found ForgeSPI package implementation version 2.1.2+9+master.a8b4d92
36:10.49
[main/DEBUG]
[FMLLoader/CORE]:
Found ForgeSPI package specification 3
32:10.50
[main/INFO]
[FixSSL/CORE]:
Added Lets Encrypt root certificates as additional trust
36:10.50
[main/DEBUG]
[TransformationServiceDecorator/MODLAUNCHER]:
Loaded service fml
36:10.50
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Configuring option handling for services
36:10.50
[main/DEBUG]
[TransformationServicesHandler/MODLAUNCHER]:
Transformation services initializing
36:10.50
[main/DEBUG]
[TransformationServiceDecorator/MODLAUNCHER]:
Initializing transformation service fml
36:10.50
[main/DEBUG]
[FMLServiceProvider/CORE]:
Setting up basic FML game directories
36:10.50
[main/DEBUG]
[FileUtils/CORE]:
Found existing GAMEDIR directory :
C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run
36:10.50
[main/DEBUG]
[FMLPaths/CORE]:
Path GAMEDIR is C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run
36:10.50
[main/DEBUG]
[FileUtils/CORE]:
Found existing MODSDIR directory :
C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\mods
36:10.50
[main/DEBUG]
[FMLPaths/CORE]:
Path MODSDIR is C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\mods
36:10.50
[main/DEBUG]
[FileUtils/CORE]:
Found existing CONFIGDIR directory :
C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\config
36:10.50
[main/DEBUG]
[FMLPaths/CORE]:
Path CONFIGDIR is C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\config
36:10.50
[main/DEBUG]
[FMLPaths/CORE]:
Path FMLCONFIG is
C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\config\fml.toml
36:10.50
[main/DEBUG]
[FMLServiceProvider/CORE]:
Loading configuration
36:10.50
[main/DEBUG]
[FileUtils/CORE]:
Found existing default config directory directory :
C:\Users\ITAdmin\MCreatorWorkspaces\bedwars\run\defaultconfigs
36:10.50
[main/DEBUG]
[FMLServiceProvider/CORE]:
Preparing launch handler
36:10.50
[main/DEBUG]
[FMLLoader/CORE]:
Using fmluserdevclient as launch service
[m[LWJGL]
GLFW_API_UNAVAILABLE error
]
12:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:105 Description : WGL: The
driver does not appear to support OpenGL
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:106 Stacktrace :
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1714)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1897)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.fml.loading.progress.ClientVisualization.initWindow(ClientVisualization.java:84)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.fml.loading.progress.ClientVisualization.start(ClientVisualization.java:276)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.fml.loading.progress.EarlyProgressVisualization.accept(EarlyProgressVisualization.java:36)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.fml.loading.FMLLoader.setupLaunchHandler(FMLLoader.java:184)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:92)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
java.util.HashMap$Values.forEach(HashMap.java:981)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
32:10.50
[main/INFO]
[STDERR/]:
[org.lwjgl.glfw.GLFWErrorCallback$1:invoke:110
net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)
Exception
in thread ":10.50 [main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 java.lang.RuntimeException:
Failed to create the GLFW window
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.fml.loading.progress.ClientVisualization.initWindow(ClientVisualization.java:86)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.fml.loading.progress.ClientVisualization.start(ClientVisualization.java:276)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.fml.loading.progress.EarlyProgressVisualization.accept(EarlyProgressVisualization.java:36)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.fml.loading.FMLLoader.setupLaunchHandler(FMLLoader.java:184)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:92)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
java.util.HashMap$Values.forEach(HashMap.java:981)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
32:10.50
[main/INFO]
[STDERR/]:
[java.lang.ThreadGroup:uncaughtException:1052 at
net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)
[m
]
>
Task :runClient FAILED
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 5.0.
Use
'--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD
FAILED in 7s
10
actionable tasks: 4 executed, 6 up-to-date
BUILD
FAILED
Task
completed in 7557 milliseconds
This same error happens to me and i can't fix it, also the log doesn't tell me where is the problem