Compatibility with the latest version of JEI
wormzjl opened this issue ยท 14 comments
I'm having the following console spam with latest NEI and JEI
[18:48:55] [main/ERROR] [NotEnoughItems]: Error thrown whilst accessing JEI internals! java.lang.NoSuchMethodError: mezz.jei.runtime.JeiRuntime.getActiveAdvancedGuiHandlers(Lnet/minecraft/client/gui/inventory/GuiContainer;)Ljava/util/List; at codechicken.nei.jei.proxy.JEIProxy.getExtraAreas(JEIProxy.java:91) ~[JEIProxy.class:?] at codechicken.nei.jei.proxy.JEIProxy$1.hideItemPanelSlot(JEIProxy.java:43) ~[JEIProxy$1.class:?] at codechicken.nei.widget.ItemPanel.slotValid(ItemPanel.java:118) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.updateValidSlots(ItemPanel.java:108) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.resize(ItemPanel.java:82) ~[ItemPanel.class:?] at codechicken.nei.layout.LayoutStyleDefault.layout(LayoutStyleDefault.java:46) ~[LayoutStyleDefault.class:?] at codechicken.nei.LayoutManager.layout(LayoutManager.java:286) ~[LayoutManager.class:?] at codechicken.nei.LayoutManager.load(LayoutManager.java:600) ~[LayoutManager.class:?] at codechicken.nei.handler.NEIClientEventHandler.lambda$containerInitEvent$5(NEIClientEventHandler.java:220) ~[NEIClientEventHandler.class:?] at java.lang.Iterable.forEach(Unknown Source) [?:1.8.0_191] at codechicken.nei.handler.NEIClientEventHandler.containerInitEvent(NEIClientEventHandler.java:220) [NEIClientEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1479_NEIClientEventHandler_containerInitEvent_Pre.invoke(.dynamic) [?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?] at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:475) [blk.class:?] at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1017) [bib.class:?] at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2174) [bib.class:?] at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2019) [bib.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1807) [bib.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1097) [bib.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:3941) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
I want to point out that Jei has added a button to the same place NEI added the options button.
Also, if you try to use the NEI item panel, the JEI item panel fails to unload, leaving you with two item panels...both of which work. So you click an item to get it and you either get two, 128, or 64 of two items, since NEI's panel has more items than JEI's and/or arranges them differently.
Both this and the originally reported issue are still happening with the latest JEI and Forge 2808.
2811, nei-2.4.2.244, jei_1.12.2-4.14.4.264
the Better Hud mod has an in game method of changing its position and to toggle on off all its functions in a consistent way. Might be some ideas there?
This is happening for me too. Is there a fix? Me and everyone on my server keep freezing and crashing every half hour or so
Same here, sometimes causes a crash. If this is on JEI's side, then please let us know.
Still no fix, and it seems to be a problem on NEI's side, as it seems to be accessing stuff wrong, which causes the problem.
This error is showing up for me in my client console as well. https://pastebin.com/wGkMF1kF
Is this still not fixed?
Received same error:
[Client thread/ERROR] [NotEnoughItems]: Error thrown whilst accessing JEI internals! java.lang.NoSuchMethodError: mezz.jei.runtime.JeiRuntime.getActiveAdvancedGuiHandlers(Lnet/minecraft/client/gui/inventory/GuiContainer;)Ljava/util/List; at codechicken.nei.jei.proxy.JEIProxy.getExtraAreas(JEIProxy.java:91) ~[JEIProxy.class:?] at codechicken.nei.jei.proxy.JEIProxy$1.hideItemPanelSlot(JEIProxy.java:43) ~[JEIProxy$1.class:?] at codechicken.nei.widget.ItemPanel.slotValid(ItemPanel.java:118) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.updateValidSlots(ItemPanel.java:108) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.resize(ItemPanel.java:82) ~[ItemPanel.class:?] at codechicken.nei.layout.LayoutStyleDefault.layout(LayoutStyleDefault.java:46) ~[LayoutStyleDefault.class:?] at codechicken.nei.LayoutManager.layout(LayoutManager.java:286) ~[LayoutManager.class:?] at codechicken.nei.LayoutManager.load(LayoutManager.java:600) ~[LayoutManager.class:?] at codechicken.nei.handler.NEIClientEventHandler.lambda$containerInitEvent$5(NEIClientEventHandler.java:220) ~[NEIClientEventHandler.class:?] at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_252] at codechicken.nei.handler.NEIClientEventHandler.containerInitEvent(NEIClientEventHandler.java:220) [NEIClientEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_680_NEIClientEventHandler_containerInitEvent_Pre.invoke(.dynamic) [?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?] at net.minecraft.client.gui.GuiScreen.func_146280_a(GuiScreen.java:475) [blk.class:?] at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:1018) [bib.class:?] at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:2175) [bib.class:?] at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:2020) [bib.class:?] at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1808) [bib.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098) [bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] [08:34:51] [Client thread/ERROR] [NotEnoughItems]: Error thrown whilst accessing JEI internals! java.lang.NoSuchMethodError: mezz.jei.runtime.JeiRuntime.getActiveAdvancedGuiHandlers(Lnet/minecraft/client/gui/inventory/GuiContainer;)Ljava/util/List; at codechicken.nei.jei.proxy.JEIProxy.getExtraAreas(JEIProxy.java:91) ~[JEIProxy.class:?] at codechicken.nei.jei.proxy.JEIProxy$1.hideItemPanelSlot(JEIProxy.java:43) ~[JEIProxy$1.class:?] at codechicken.nei.widget.ItemPanel.slotValid(ItemPanel.java:118) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.updateValidSlots(ItemPanel.java:108) ~[ItemPanel.class:?] at codechicken.nei.widget.ItemPanel.resize(ItemPanel.java:82) ~[ItemPanel.class:?] at codechicken.nei.layout.LayoutStyleDefault.layout(LayoutStyleDefault.java:46) ~[LayoutStyleDefault.class:?] at codechicken.nei.LayoutManager.layout(LayoutManager.java:286) ~[LayoutManager.class:?] at codechicken.nei.LayoutManager.renderObjects(LayoutManager.java:213) ~[LayoutManager.class:?] at codechicken.nei.handler.NEIClientEventHandler.lambda$foregroundRenderEvent$8(NEIClientEventHandler.java:286) ~[NEIClientEventHandler.class:?] at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_252] at codechicken.nei.handler.NEIClientEventHandler.foregroundRenderEvent(NEIClientEventHandler.java:286) [NEIClientEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_679_NEIClientEventHandler_foregroundRenderEvent_DrawForeground.invoke(.dynamic) [?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?] at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:119) [bmg.class:?] at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(InventoryEffectRenderer.java:51) [bmr.class:?] at net.minecraft.client.gui.inventory.GuiInventory.func_73863_a(SourceFile:75) [bmx.class:?] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396) [ForgeHooksClient.class:?] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252] at net.optifine.reflect.Reflector.callVoid(Reflector.java:660) [Reflector.class:?] at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1457) [buq.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119) [bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
Same issue here, no clue what caused it as I didn't have it before.
It's only being printed in the game log, so I think it doesn't affect gameplay that much; but it is quite irksome.
Same issue here, no clue what caused it as I didn't have it before.
It's only being printed in the game log, so I think it doesn't affect gameplay that much; but it is quite irksome.
Is it still doubling up the item panel if you try to use NEI's panel instead of JEI's?
Sorry for leaving this issue dead for ages, However, NEI is no longer maintained and all features exist in one way or another in another mod.
A mod to add the Widgets (health, time, save/load) is planned for future Minecraft Versions.
The current solution to this issue is to remove NEI.