cominixo / BetterF3

A Fabric mod for Minecraft that provides a highly customizable, more human-readable Debug HUD.
MIT License
135 stars 35 forks source link

[Bug]: Spam in the logs when the F3 menu is displayed. #97

Closed Lolothepro closed 2 years ago

Lolothepro commented 2 years ago

Describe the Bug

.

Steps to Reproduce

Press the F3 key

Expected Behavior

.

Screenshots

No F3

2022-07-11_11 06 12

F3

2022-07-11_11 06 08

As you can see, the color also changes

Modloader Type

Minecraft Forge

Modloader Version

Forge 40.1.60

Mod Version

1.2.5

Log Output

[10:49:01] [Render thread/ERROR] [ne.mi.cl.gu.ForgeIngameGui/]: Error rendering overlay 'Text Columns'
java.lang.NullPointerException: Cannot invoke "eu.ha3.presencefootsteps.PFDebugHud.render(net.minecraft.world.phys.HitResult, net.minecraft.world.phys.HitResult, java.util.List)" because the return value of "eu.ha3.presencefootsteps.PresenceFootsteps.getDebugHud()" is null
    at net.minecraft.client.gui.components.DebugScreenOverlay.handler$bcj000$onGetRightText(DebugScreenOverlay.java:2596) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.components.DebugScreenOverlay.m_94078_(DebugScreenOverlay.java:405) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.components.DebugScreenOverlay.newRightText(DebugScreenOverlay.java:2182) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.components.DebugScreenOverlay.handler$bbl001$renderRightText(DebugScreenOverlay.java:2209) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.components.DebugScreenOverlay.m_94079_(DebugScreenOverlay.java) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.components.DebugScreenOverlay.m_94056_(DebugScreenOverlay.java:116) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:rubidium.mixins.json:features.debug.MixinDebugHud,pl:mixin:APP:rubidium.mixins.json:features.gui.MixinDebugHud,pl:mixin:APP:mixins.oculus.json:MixinDebugScreenOverlay,pl:mixin:APP:betterf3.mixins.json:DebugMixin,pl:mixin:APP:presencefootsteps.mixin.json:MDebugHud,pl:mixin:APP:oculus-batched-entity-rendering.mixins.json:MixinDebugScreenOverlay,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraftforge.client.gui.ForgeIngameGui.handler$bbn000$customDebugMenu(ForgeIngameGui.java:963) ~[forge-1.18.2-40.1.60-universal.jar%23139!/:?] {re:mixin,xf:fml:xaerominimap:xaero_forgeingamegui_render,re:classloading,xf:fml:xaerominimap:xaero_forgeingamegui_render,pl:mixin:APP:betterf3.forge.mixins.json:ForgeIngameGuiMixin,pl:mixin:A}
    at net.minecraftforge.client.gui.ForgeIngameGui.renderHUDText(ForgeIngameGui.java:664) ~[forge-1.18.2-40.1.60-universal.jar%23139!/:?] {re:mixin,xf:fml:xaerominimap:xaero_forgeingamegui_render,re:classloading,xf:fml:xaerominimap:xaero_forgeingamegui_render,pl:mixin:APP:betterf3.forge.mixins.json:ForgeIngameGuiMixin,pl:mixin:A}
    at net.minecraftforge.client.gui.ForgeIngameGui.lambda$static$17(ForgeIngameGui.java:255) ~[forge-1.18.2-40.1.60-universal.jar%23139!/:?] {re:mixin,xf:fml:xaerominimap:xaero_forgeingamegui_render,re:classloading,xf:fml:xaerominimap:xaero_forgeingamegui_render,pl:mixin:APP:betterf3.forge.mixins.json:ForgeIngameGuiMixin,pl:mixin:A}
    at net.minecraftforge.client.gui.ForgeIngameGui.lambda$render$26(ForgeIngameGui.java:348) ~[forge-1.18.2-40.1.60-universal.jar%23139!/:?] {re:mixin,xf:fml:xaerominimap:xaero_forgeingamegui_render,re:classloading,xf:fml:xaerominimap:xaero_forgeingamegui_render,pl:mixin:APP:betterf3.forge.mixins.json:ForgeIngameGuiMixin,pl:mixin:A}
    at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] {re:mixin}
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?] {}
    at net.minecraftforge.client.gui.ForgeIngameGui.m_93030_(ForgeIngameGui.java:342) ~[forge-1.18.2-40.1.60-universal.jar%23139!/:?] {re:mixin,xf:fml:xaerominimap:xaero_forgeingamegui_render,re:classloading,xf:fml:xaerominimap:xaero_forgeingamegui_render,pl:mixin:APP:betterf3.forge.mixins.json:ForgeIngameGuiMixin,pl:mixin:A}
    at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:870) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1044) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:fallingleaves.mixins.json:MinecraftClientMixin,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:663) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:rubidium.mixins.json:core.MixinMinecraftClient,pl:mixin:APP:fallingleaves.mixins.json:MinecraftClientMixin,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_Keybinds,pl:mixin:APP:mixins.oculus.json:MixinMinecraft_PipelineManagement,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%23134!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,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:31) ~[fmlloader-1.18.2-40.1.60.jar%2351!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%2339!/:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {}
    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 io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57) [ForgeWrapper-mmc2.jar:mmc2] {}
    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 org.multimc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) [NewLaunch.jar:?] {}
    at org.multimc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175) [NewLaunch.jar:?] {}
    at org.multimc.impl.OneSixLauncher.launch(OneSixLauncher.java:185) [NewLaunch.jar:?] {}
    at org.multimc.EntryPoint.listen(EntryPoint.java:127) [NewLaunch.jar:?] {}
    at org.multimc.EntryPoint.main(EntryPoint.java:57) [NewLaunch.jar:?] {}

Additional Context

No response