The crash only occurs in Minecraft 1.17 and 1.18 and only if JEI is installed.
Time: 12/12/21, 9:54 AM
Description: charTyped event handler
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "object" is null
at mezz.jei.util.ReflectionUtil.getField(ReflectionUtil.java:35) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.util.ReflectionUtil.getFieldWithClass(ReflectionUtil.java:18) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.input.InputEventHandler.isContainerTextFieldFocused(InputEventHandler.java:135) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.input.InputEventHandler.onKeyboardCharTypedEvent(InputEventHandler.java:85) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.events.EventBusHelper.lambda$registerWeakListener$2(EventBusHelper.java:116) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.client.ForgeHooksClient.onGuiCharTypedPost(ForgeHooksClient.java:805) ~[forge-1.17.1-37.1.0-universal.jar%2362!:?] {re:classloading}
at net.minecraft.client.KeyboardHandler.lambda$charTyped$5(KeyboardHandler.java:434) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:530) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.KeyboardHandler.m_90889_(KeyboardHandler.java:431) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.KeyboardHandler.m_167827_(KeyboardHandler.java:461) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.client.KeyboardHandler.m_90934_(KeyboardHandler.java:460) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at org.lwjgl.glfw.GLFWCharModsCallbackI.callback(GLFWCharModsCallbackI.java:39) ~[lwjgl-glfw-3.2.2.jar%2349!:build 10] {}
at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar%2345!:build 10] {}
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar%2349!:build 10] {}
at com.mojang.blaze3d.systems.RenderSystem.m_69495_(SourceFile:165) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading}
at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:333) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1061) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.1.0.jar%2322!:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at mezz.jei.util.ReflectionUtil.getField(ReflectionUtil.java:35) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.util.ReflectionUtil.getFieldWithClass(ReflectionUtil.java:18) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.input.InputEventHandler.isContainerTextFieldFocused(InputEventHandler.java:135) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.input.InputEventHandler.onKeyboardCharTypedEvent(InputEventHandler.java:85) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at mezz.jei.events.EventBusHelper.lambda$registerWeakListener$2(EventBusHelper.java:116) ~[jei-1.17.1-8.3.0.39.jar%2355!:8.3.0.39] {re:classloading}
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?] {}
at net.minecraftforge.client.ForgeHooksClient.onGuiCharTypedPost(ForgeHooksClient.java:805) ~[forge-1.17.1-37.1.0-universal.jar%2362!:?] {re:classloading}
at net.minecraft.client.KeyboardHandler.lambda$charTyped$5(KeyboardHandler.java:434) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
-- Affected screen --
Details:
Screen name: thetadev.constructionwand.client.ScreenWand
Stacktrace:
at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:530) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.KeyboardHandler.m_90889_(KeyboardHandler.java:431) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.KeyboardHandler.m_167827_(KeyboardHandler.java:461) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.client.KeyboardHandler.m_90934_(KeyboardHandler.java:460) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at org.lwjgl.glfw.GLFWCharModsCallbackI.callback(GLFWCharModsCallbackI.java:39) ~[lwjgl-glfw-3.2.2.jar%2349!:build 10] {}
at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar%2345!:build 10] {}
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar%2349!:build 10] {}
at com.mojang.blaze3d.systems.RenderSystem.m_69495_(SourceFile:165) ~[client-1.17.1-20210706.113038-srg.jar%2358!:?] {re:classloading}
The crash only occurs in Minecraft 1.17 and 1.18 and only if JEI is installed.