TerraformersMC / ModMenu

A menu for, you guessed it, mods!
MIT License
491 stars 148 forks source link

Failure to launch in 1.14 #698

Closed greeniegogo closed 6 months ago

greeniegogo commented 6 months ago

Hi, I'm new to using mods so I apologise if this is something obvious that I'm just struggling with.

I'm trying to launch Minecraft version 1.14 in MultiMC. I have Fabric loader installed and Fabric API. Minecraft will launch fine with both of these, but once I try to add ModMenu it refuses to launch. I have tried different versions of ModMenu and Fabric API with no success but it could still be version error. My crash report looks similar to previous errors: #394 #474 but the fixes aren't working for me.

---- Minecraft Crash Report ----

// Shall we play a game? Time: 21/3/24, 5:59 pm Description: Initializing game java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'modmenu'! at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53) at net.minecraft.class_310.method_1503(class_310.java) at net.minecraft.class_310.method_1514(class_310.java:395) at net.minecraft.client.main.Main.main(Main.java:154) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) Caused by: java.lang.NoSuchMethodError: 'com.google.gson.JsonElement net.fabricmc.loader.api.metadata.ModMetadata.getCustomElement(java.lang.String)' at io.github.prospector.modmenu.ModMenu.onInitializeClient(ModMenu.java:76) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ... 15 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53) at net.minecraft.class_310.method_1503(class_310.java) -- Initialization -- Details: Stacktrace: at net.minecraft.class_310.method_1514(class_310.java:395) at net.minecraft.client.main.Main.main(Main.java:154) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) -- System Details -- Details: Minecraft Version: 1.14 Operating System: Windows 11 (amd64) version 10.0 Java Version: 17.0.10, Azul Systems, Inc. Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc. Memory: 275773440 bytes (262 MB) / 536870912 bytes (512 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx2048m Fabric Mods: fabric: 0.2.7+build.127 fabricloader: 0.15.7 java: 17 minecraft: 1.14 mixinextras: 0.3.5 modmenu: 1.5.3-84 Launched Version: 1.14 LWJGL: 3.2.1 build 12 OpenGL: NO CONTEXT GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) Resource Packs: ~~ERROR~~ NullPointerException: Cannot read field "field_1887" because "this.field_1690" is null Current Language: ~~ERROR~~ NullPointerException: Cannot invoke "net.minecraft.class_1076.method_4669()" because "this.field_1717" is null CPU: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\bethi\MultiMC\instances\1.14\.minecraft\crash-reports\crash-2024-03-21_17.59.54-client.txt Process exited with exit code -1 (0xffffffffffffffff). Please note that usually neither the exit code, nor its description are enough to diagnose issues! Always upload the entire log and not just the exit code.

greeniegogo commented 6 months ago

I've decided to play something different. I've also realised I was using the wrong Java, however I did try with the correct one prior and the problem was the same. Sorry if you're having this issue.