henkelmax / gravestone

Places a gravestone with your inventory items inside when you die.
21 stars 35 forks source link

Obituary crashes Minecraft #104

Closed XSly7X closed 2 years ago

XSly7X commented 2 years ago

Every time the obituary is opened it immediately crashes the game.

I'm using Forge v41.0.98

The version of the mod: [1.19] Gravestone Mod 1.19-1.0.2

After it crashes:

The game crashed whilst rendering screen Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.gui.Font.m92852(net.minecraft.network.chat.FormattedText)" because "fontRenderer" is null Exit Code: -1

Crash report:

java.lang.NullPointerException: Cannot invoke "net.minecraft.client.gui.Font.m92852(net.minecraft.network.chat.FormattedText)" because "fontRenderer" is null at de.maxhenkel.gravestone.gui.ObituaryScreen.drawCentered(ObituaryScreen.java:188) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at de.maxhenkel.gravestone.gui.ObituaryScreen.drawFirstPage(ObituaryScreen.java:120) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at de.maxhenkel.gravestone.gui.ObituaryScreen.m6305(ObituaryScreen.java:109) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:435) ~[forge-1.19-41.0.98-universal.jar%23181!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:428) ~[forge-1.19-41.0.98-universal.jar%23181!/:?] {re:classloading} at net.minecraft.client.renderer.GameRenderer.m109093(GameRenderer.java:896) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91383(Minecraft.java:1084) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91374(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {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:27) ~[fmlloader-1.19-41.0.98.jar%2393!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at de.maxhenkel.gravestone.gui.ObituaryScreen.drawCentered(ObituaryScreen.java:188) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at de.maxhenkel.gravestone.gui.ObituaryScreen.drawFirstPage(ObituaryScreen.java:120) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at de.maxhenkel.gravestone.gui.ObituaryScreen.m6305(ObituaryScreen.java:109) ~[gravestone-1.19-1.0.2.jar%23160!/:1.19-1.0.2] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:435) ~[forge-1.19-41.0.98-universal.jar%23181!/:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:428) ~[forge-1.19-41.0.98-universal.jar%23181!/:?] {re:classloading} -- Screen render details -- Details: Screen name: de.maxhenkel.gravestone.gui.ObituaryScreen Mouse location: Scaled: (240, 136). Absolute: (963.000000, 544.000000) Screen size: Scaled: (480, 270). Absolute: (1920, 1080). Scale factor of 4.000000 Stacktrace: at net.minecraft.client.renderer.GameRenderer.m109093(GameRenderer.java:896) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91383(Minecraft.java:1084) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m91374(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23176!/:?] {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:27) ~[fmlloader-1.19-41.0.98.jar%2393!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}

henkelmax commented 2 years ago

Please do as the bug template says and use github gist for logs. And pleas upload the FULL logs.

XSly7X commented 2 years ago

Sorry if the submission was unclear. Is my first time reporting in here from what I remember. I'm just trying my best to let the developers know that there's something wrong with the mod so they can fix it and people can enjoy the mod again. I still hope I was able to help with that info though. I don't know how to mess with this that well... I apologize.

henkelmax commented 2 years ago

I found the issue myself. It should be fixed in the next version.

XSly7X commented 2 years ago

I found the issue myself. It should be fixed in the next version.

Thank you for your hard work!