Open skyinr opened 4 weeks ago
Found 1 linked crash report(s)
java.util.NoSuchElementException: Can't find id for ISyncedWidget at com.gtnewhorizons.modularui.api.screen.ModularWindow.getSyncedWidgetId(ModularWindow.java:441) at com.gtnewhorizons.modularui.api.screen.ModularUIContext.sendClientPacket(ModularUIContext.java:417) at com.gtnewhorizons.modularui.api.widget.ISyncedWidget.syncToServer(ISyncedWidget.java:60) at com.gtnewhorizons.modularui.common.widget.ButtonWidget.onClick(ButtonWidget.java:97) at com.gtnewhorizons.modularui.common.internal.wrapper.ModularGui.mouseClicked(ModularGui.java:502) at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:296) at net.minecraft.client.gui.inventory.GuiContainer.handleMouseInput(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:268) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1640) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:973) at net.minecraft.client.Minecraft.run(Minecraft.java:5110) at net.minecraft.client.main.Main.main(SourceFile:148) 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.minecraft.launchwrapper.Launch.rfb$realLaunch(Launch.java:250) at net.minecraft.launchwrapper.Launch.launch(Launch.java:35) at net.minecraft.launchwrapper.Launch.main(Launch.java:60) 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 com.gtnewhorizons.retrofuturabootstrap.Main.main(Main.java:219) 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.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)
This is caused by the fact the inventory UI for the EIG and MApiary is completely recreated every time it's updated. This means that if you fire events fast enough (eg quickly interacting with some UI element), MUI will attempt to resolve an event to a widget that no longer exists, causing an NPE.
I want to give a shot at fixing this in a future update, but I don't feel confident enough with MUI to say that I know exactly how to address this issue anytime soon.
Your GTNH Discord Username
No response
Your Pack Version
2.6.0
Your Server
private server
Java Version
Java 17
Type of Server
None
Your Actions
Crash Report
https://mclo.gs/Nmwapqy
Final Checklist