Keksuccino / FancyMenu

Source code for FancyMenu.
Other
154 stars 19 forks source link

[Fabric] DrawScreenEvent render error when Gamemode Screen is open #133

Closed Nidre closed 3 years ago

Nidre commented 3 years ago

Error spam In logs

To Reproduce Steps to reproduce the behavior:

  1. Go to server
  2. When you OP click F3+F4 to open gamemode menu
  3. See error

Error Log

[03:27:52] [main/INFO]: [STDOUT]: ################# ERROR [KONKRETE] #################
[03:27:52] [main/INFO]: [STDOUT]: Failed to invoke event!
[03:27:52] [main/INFO]: [STDOUT]: Method Name: onRenderPost
[03:27:52] [main/INFO]: [STDOUT]: Event Name: de.keksuccino.konkrete.events.client.GuiScreenEvent$DrawScreenEvent$Post
[03:27:52] [main/INFO]: [STDOUT]: ####################################################
[03:27:52] [main/INFO]: [STDOUT]: 
[03:27:52] [main/INFO]: [STDERR]: java.lang.reflect.InvocationTargetException
[03:27:52] [main/INFO]: [STDERR]:   at jdk.internal.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.konkrete.events.EventHandler.invokeEvent(EventHandler.java:115)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.konkrete.events.EventHandler.callEventsFor(EventHandler.java:102)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_757.handler$zko000$onRenderPost(class_757.java:1982)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_757.method_3192(class_757.java:616)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_310.method_1523(class_310.java:1048)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_310.method_1514(class_310.java:681)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.client.main.Main.main(Main.java:215)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
[03:27:52] [main/INFO]: [STDERR]:   at pro.gravit.launcher.***.*****(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]:   at pro.gravit.launcher.***.main(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]: Caused by: java.lang.NullPointerException
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.shouldCustomize(MenuHandlerBase.java:1139)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.onRenderPost(MenuHandlerBase.java:963)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MainMenuHandler.onRenderPost(MainMenuHandler.java:102)
[03:27:52] [main/INFO]: [STDERR]:   ... 20 more
[03:27:52] [main/INFO]: [STDOUT]: ################# ERROR [KONKRETE] #################
[03:27:52] [main/INFO]: [STDOUT]: Failed to invoke event!
[03:27:52] [main/INFO]: [STDOUT]: Method Name: onRenderPost
[03:27:52] [main/INFO]: [STDOUT]: Event Name: de.keksuccino.konkrete.events.client.GuiScreenEvent$DrawScreenEvent$Post
[03:27:52] [main/INFO]: [STDOUT]: ####################################################
[03:27:52] [main/INFO]: [STDOUT]: 
[03:27:52] [main/INFO]: [STDERR]: java.lang.reflect.InvocationTargetException
[03:27:52] [main/INFO]: [STDERR]:   at jdk.internal.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.konkrete.events.EventHandler.invokeEvent(EventHandler.java:115)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.konkrete.events.EventHandler.callEventsFor(EventHandler.java:102)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_757.handler$zko000$onRenderPost(class_757.java:1982)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_757.method_3192(class_757.java:616)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_310.method_1523(class_310.java:1048)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.class_310.method_1514(class_310.java:681)
[03:27:52] [main/INFO]: [STDERR]:   at net.minecraft.client.main.Main.main(Main.java:215)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
[03:27:52] [main/INFO]: [STDERR]:   at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
[03:27:52] [main/INFO]: [STDERR]:   at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
[03:27:52] [main/INFO]: [STDERR]:   at pro.gravit.launcher.***.*****(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]:   at pro.gravit.launcher.***.main(Unknown Source)
[03:27:52] [main/INFO]: [STDERR]: Caused by: java.lang.NullPointerException
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.shouldCustomize(MenuHandlerBase.java:1139)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.onRenderPost(MenuHandlerBase.java:963)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MainMenuHandler.onRenderPost(MainMenuHandler.java:102)
[03:27:52] [main/INFO]: [STDERR]:   at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MoreRefinedStorageMainHandler.onRenderPost(MoreRefinedStorageMainHandler.java:45)
[03:27:52] [main/INFO]: [STDERR]:   ... 20 more

Basic Informations (please complete the following information):

Keksuccino commented 3 years ago

Hi! Thank you for your issue report. Could you send me your complete latest.log file (located at .minecraft/logs/latest.log), please?

//Edit: Nvm, could reproduce it ^^

Nidre commented 3 years ago

lates2t.log

And my friends client dont start with errors spam it`s his log: late1st.log

Keksuccino commented 3 years ago

Gamemode screen bug fixed in FancyMenu [Fabric] v1.7.1!

Your friend's problem looks more like a mod conflict. If he's still unable to start the game with v1.7.1, please open a new issue.

Thank you for your report!