Crash when opening inventory
YannYB opened this issue ยท 5 comments
Hi, when I open my inventory I crash instantly. The strange thing is that when I open a chest or other thing with gui that is not the inventory, the screen become blur (because of my mod blur) and there is no screen
Its horrible please help me.
Thanks.
I may be seeing a similar/same issue. When I try to open a container screen, I get the below error thrown. I am not crashing when I try to open my inventory, but my containers are simply not opening at all. the use
action on them does nothing but the error.
Mods installed (first and last are my own, and the issue happens with my modded containers but not vanilla):
When I remove EMI, the screens work per usual.
[17:25:38] [Render thread/ERROR] (Minecraft) Error executing task on Client
java.lang.NullPointerException: Cannot read field "keyboard" because "this.client" is null
at net.minecraft.client.gui.screen.ingame.HandledScreen.handler$zoe003$init(HandledScreen.java:2232) ~[[email protected]:?]
at net.minecraft.client.gui.screen.ingame.HandledScreen.init(HandledScreen.java:93) ~[[email protected]:?]
at me.fzzyhmstrs.amethyst_imbuement.screen.AltarOfExperienceScreen.<init>(AltarOfExperienceScreen.kt:175) ~[main/:?]
at me.fzzyhmstrs.amethyst_imbuement.registry.RegisterScreen.registerAll$lambda-1(RegisterScreen.kt:23) ~[main/:?]
at net.minecraft.client.gui.screen.ingame.HandledScreens$Provider.open(HandledScreens.java:62) ~[[email protected]:?]
at net.minecraft.client.gui.screen.ingame.HandledScreens.open(HandledScreens.java:51) ~[[email protected]:?]
at net.minecraft.client.network.ClientPlayNetworkHandler.onOpenScreen(ClientPlayNetworkHandler.java:1053) ~[[email protected]:?]
at net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket.apply(OpenScreenS2CPacket.java:37) ~[[email protected]:?]
at net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket.apply(OpenScreenS2CPacket.java:11) ~[[email protected]:?]
at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils.java:22) ~[[email protected]:?]
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:157) [[email protected]:?]
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23) [[email protected]:?]
at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:131) [[email protected]:?]
at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor.java:116) [[email protected]:?]
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1095) [[email protected]:?]
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:734) [[email protected]:?]
at net.minecraft.client.main.Main.main(Main.java:237) [[email protected]:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.8.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
I figured out the issue for my particular problem, which was on my end, so I've hidden the above two comments. The original comment may still need pursuing if they provide details.