Posted April 20, 20205 yr I recently got Minecraft: Java Edition on my laptop. If I play Minecraft 1.15.2 Vanilla then I can play normally without any crashes, but when I play Minecraft with Forge and 0 mods then it crashes. 1.12.2 Minecraft with Forge crashes but gives no output. 1.15.2 with Forge gave this error: The game crashed whilst initializing game Error: java.lang.ExceptionInInitializerError: null LOG 1.15.2: Spoiler [20Apr2020 09:56:23.835] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, DeBeast591, --version, 1.15.2-forge-31.1.0, --gameDir, /home/payton/.minecraft, --assetsDir, /home/payton/.minecraft/assets, --assetIndex, 1.15, --uuid, b4233b0965f840379b37cf5c1b2be13c, --accessToken, ❄❄❄❄❄❄❄❄, --userType, mojang, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 31.1.0, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200122.131323] [20Apr2020 09:56:23.843] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 14-ea by Private Build [20Apr2020 09:56:24.564] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [20Apr2020 09:56:24.702] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Configuration file /home/payton/.minecraft/config/fml.toml is not correct. Correcting [20Apr2020 09:56:24.713] [main/WARN] [net.minecraftforge.fml.loading.FMLConfig/CORE]: Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs [20Apr2020 09:56:25.570] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release [20Apr2020 09:56:26.987] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.15.2-forge-31.1.0, --gameDir, /home/payton/.minecraft, --assetsDir, /home/payton/.minecraft/assets, --uuid, b4233b0965f840379b37cf5c1b2be13c, --username, DeBeast591, --assetIndex, 1.15, --accessToken, ❄❄❄❄❄❄❄❄, --userType, mojang, --versionType, release] [20Apr2020 09:56:30.722] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: DeBeast591 [20Apr2020 09:56:47.387] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10 [20Apr2020 09:56:49.895] [Render thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Failed to resolve handler for "net.minecraftforge.fml.network.simple.SimpleChannel$$Lambda$2200/0x000000080139ec40@2c06e145" [20Apr2020 09:56:49.970] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 4/20/20, 9:56 AM Description: Initializing game java.lang.ExceptionInInitializerError: null at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:121) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.get(ModLoader.java:146) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(SourceFile:166) ~[1.15.2-forge-31.1.0.jar:?] {re:classloading} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.15.2-31.1.0.jar:31.1] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {} Caused by: java.lang.IllegalStateException: Failed to resolve consumer event type: net.minecraftforge.fml.network.simple.SimpleChannel$$Lambda$2200/0x000000080139ec40@2c06e145 at net.minecraftforge.eventbus.EventBus.addListener(EventBus.java:194) ~[eventbus-2.0.0-milestone.1-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.addListener(EventBus.java:161) ~[eventbus-2.0.0-milestone.1-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.addListener(EventBus.java:156) ~[eventbus-2.0.0-milestone.1-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.addListener(EventBus.java:151) ~[eventbus-2.0.0-milestone.1-service.jar:?] {} at net.minecraftforge.fml.network.NetworkInstance.addListener(NetworkInstance.java:65) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.simple.SimpleChannel.<init>(SimpleChannel.java:56) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.simple.SimpleChannel.<init>(SimpleChannel.java:49) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.NetworkRegistry$ChannelBuilder.simpleChannel(NetworkRegistry.java:409) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.NetworkInitialization.getHandshakeChannel(NetworkInitialization.java:38) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.FMLNetworkConstants.<clinit>(FMLNetworkConstants.java:48) ~[?:?] {re:classloading} ... 17 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:121) at net.minecraftforge.fml.ModLoader.get(ModLoader.java:146) at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) -- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(SourceFile:166) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.2 Operating System: Linux (amd64) version 5.3.0-46-generic Java Version: 14-ea, Private Build Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Private Build Memory: 587377936 bytes (560 MB) / 1073741824 bytes (1024 MB) up to 2147483648 bytes (2048 MB) CPUs: 4 JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Launched Version: 1.15.2-forge-31.1.0 Backend library: LWJGL version 3.2.2 build 10 Backend API: Mesa DRI Intel(R) UHD Graphics 605 (Geminilake) GL version 3.0 Mesa 19.2.8, Intel Open Source Technology Center GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) CPU: 4x Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz [20Apr2020 09:56:49.997] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: #@!@# Game crashed! Crash report saved to: #@!@# /home/payton/.minecraft/crash-reports/crash-2020-04-20_09.56.49-client.txt LOG 1.12.2 Spoiler [09:21:52] [MCO Compatability Checker #1/INFO]: Realms is available for this user [09:22:15] [Render thread/ERROR]: [09:22:15] [Render thread/ERROR]: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost [09:22:15] [Render thread/ERROR]: [09:22:33] [Render thread/INFO]: Stopping! I have no idea as to what is causing these errors, I have OpenJDK-8-jre, OpenJDK-11-jre, OpenJDK-14-jre, and OpenJDK-8-jdk. I mostly want to play Minecraft 1.12.2 and Forge but if I can't get that working the 1.15.2 with Forge will work too. Thank you in advance.
April 20, 20205 yr 8 minutes ago, DeBeast591 said: Java Version: 14-ea, Private Build Show a 1.15.2 log using Java 8, I do not believe Java 14 is supported. Also, 1.12 is no longer supported due to age.
April 21, 20205 yr Author 11 hours ago, Ugdhar said: Show a 1.15.2 log using Java 8, I do not believe Java 14 is supported. I looked at my log and it was still using Java 14. I used "sudo apt purge openjdk-14-jre" and I still got: Spoiler -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.2 Operating System: Linux (amd64) version 5.3.0-46-generic Java Version: 14-ea, Private Build COMMENT: THIS LINE Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Private Build Memory: 649057272 bytes (618 MB) / 1140850688 bytes (1088 MB) up to 2147483648 bytes (2048 MB) CPUs: 4 JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Launched Version: 1.15.2-forge-31.1.0 Backend library: LWJGL version 3.2.2 build 10 Backend API: Mesa DRI Intel(R) UHD Graphics 605 (Geminilake) GL version 3.0 Mesa 19.2.8, Intel Open Source Technology Center GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) CPU: 4x Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz I uninstalled Java 14 but still got this.
April 21, 20205 yr Then I would guess you still have some java 14 packages on there. I'm fairly sure there's a command in there somewhere to change which version of Java is the default. *edit: did a quick google for "ubuntu java 14 packages", did you remove openjdk-14-jdk? I'm pretty sure JDKs come with JREs as well. If you can't find the command to change the default java version, you could try making sure that package and others aren't lurking. Edited April 21, 20205 yr by Ugdhar
April 21, 20205 yr Author 3 hours ago, Ugdhar said: did you remove openjdk-14-jdk? Yes, I used "sudo apt purge openjdk-14-jre" and "sudo apt purge openjdk-14-jdk" and still, it crashes. One thing to note: Minecraft gets to the FML Early Loading thing, but it crashes right after that.
April 21, 20205 yr Author openjdk version "14-ea" 2020-03-17 OpenJDK Runtime Environment (build 14-ea+18-Ubuntu-1) OpenJDK 64-Bit Server VM (build 14-ea+18-Ubuntu-1, mixed mode, sharing)
April 21, 20205 yr Still Java 14. That's your problem then. I don't know how to change it for you, especially if you've run the commands to remove it. That's more of an operating system issue as opposed to a minecraft/forge issue.
April 21, 20205 yr Author After deleting ALL Java installations (included the MC Launcher.) and ONLY installed Java 8 ("sudo apt install openjdk-8-jre"), it worked! Thanks for the help!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.