FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
38 stars 10 forks source link

Direwolf20 1.19 Crash when creating Industrial Foregoing items #2596

Closed ma230 closed 1 year ago

ma230 commented 1 year ago

Modpack

FTB Presents Direwolf20 1.19

Modpack version

1.1.1

Log Files

FTB-DBGMAYEKAFOJE

Describe the bug

Multiplayer server (1.1.1) (and single player) crashes when attempting to create industrial foregoing items (not just the pitiful generator from desc below).

Steps to reproduce

Please note that this ALSO crashes the single player version without using the server files, just checked. We found this with below:

Install Direwolf20 1.19 1.1.1 server files from FTB App on Linux server Install Direwolf20 1.19 1.1.1 client from FTB App on Linux ... Open a crafting table Use JEI to pull up the recipe for a "pitiful generator" click on the "+" button to load the recipe into the crafting table items move to crafter from inventory click on the creatable item to create it server crashes

Expected behaviour

Expected the item to appear on the cursor, and the server not to crash

Screenshots

[26Jan2023 07:07:43.223] [Server thread/ERROR] [net.minecraft.network.protocol.PacketUtils/]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerClickPacket@67c52de6, suppressing error net.minecraft.ReportedException: Container click at net.minecraft.world.inventory.AbstractContainerMenu.m150399(AbstractContainerMenu.java:307) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.m5914(ServerGamePacketListenerImpl.java:1636) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m5797(ServerboundContainerClickPacket.java:56) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m5797(ServerboundContainerClickPacket.java:12) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.PacketUtils.m131356(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18701(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:726) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: java.lang.NullPointerException: Cannot invoke "blusunrize.immersiveengineering.common.register.IEItems$ItemRegObject.m5456()" because the return value of "java.util.Map.get(Object)" is null at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.matches(ShaderBagRecipe.java:45) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.m5818(ShaderBagRecipe.java:26) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at shadows.fastsuite.AuxRecipeManager$RecipeNode.matches(AuxRecipeManager.java:190) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager$LinkedRecipeList.findFirstMatch(AuxRecipeManager.java:160) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager.m44015(AuxRecipeManager.java:64) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at net.minecraft.world.inventory.CraftingMenu.m150546(CraftingMenu.java:66) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.lambda$slotsChanged$3(ModCraftingMenu.java:65) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.inventory.ContainerLevelAccess.m39294(ContainerLevelAccess.java:35) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess$2.m6721(ContainerLevelAccess.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess.m39292(ContainerLevelAccess.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.m6199(ModCraftingMenu.java:64) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at fuzs.visualworkbench.world.inventory.CraftingContainerWrapper.m7407(CraftingContainerWrapper.java:45) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.inventory.ResultSlot.m142406(ResultSlot.java:63) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m150418(AbstractContainerMenu.java:417) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at java.util.Optional.ifPresent(Unknown Source) ~[?:?] at net.minecraft.world.inventory.AbstractContainerMenu.m150430(AbstractContainerMenu.java:415) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m150399(AbstractContainerMenu.java:293) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] ... 17 more [26Jan2023 07:07:43.305] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception net.minecraft.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:870) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.dedicated.DedicatedServer.m5703(DedicatedServer.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:654) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: java.lang.NullPointerException: Cannot invoke "blusunrize.immersiveengineering.common.register.IEItems$ItemRegObject.m5456()" because the return value of "java.util.Map.get(Object)" is null at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.matches(ShaderBagRecipe.java:45) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.m5818(ShaderBagRecipe.java:26) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at shadows.fastsuite.AuxRecipeManager$RecipeNode.matches(AuxRecipeManager.java:190) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager$LinkedRecipeList.findFirstMatch(AuxRecipeManager.java:160) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager.m44015(AuxRecipeManager.java:64) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at net.minecraft.world.inventory.CraftingMenu.m150546(CraftingMenu.java:66) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] 1343,46-53 86%

Additional information

[minecraft@Linuxserver Direwolf20]$ java -version java version "1.8.0_341" Java(TM) SE Runtime Environment (build 1.8.0_341-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

Please note that after restarting the server (either multiplayer or single player) the item is on the hotbar in what was an empty slot (pitiful generator) and the items used in the recipe are still on the crafting table. The crafting table can not be opened, but you CAN chop it down with an axe, and get some of the items back (pity machine frame, 2 cobblestone, 1 ironbar, furnace, crafting table)used in the recipe, and then replace the crafting table, and it is useable again. Server logs shows this error when attempting to open the crafting table by clicking on it: [26Jan2023 07:50:20.754] [Server thread/ERROR] [net.minecraft.network.protocol.PacketUtils/]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@271b28ac, suppressing error java.lang.NullPointerException: Cannot invoke "blusunrize.immersiveengineering.common.register.IEItems$ItemRegObject.m5456()" because the return value of "java.util.Map.get(Object)" is null at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.matches(ShaderBagRecipe.java:45) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at blusunrize.immersiveengineering.common.crafting.ShaderBagRecipe.m5818(ShaderBagRecipe.java:26) ~[ImmersiveEngineering-1.19.2-9.1.0-156.jar%23503!/:?] at shadows.fastsuite.AuxRecipeManager$RecipeNode.matches(AuxRecipeManager.java:190) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager$LinkedRecipeList.findFirstMatch(AuxRecipeManager.java:160) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at shadows.fastsuite.AuxRecipeManager.m44015(AuxRecipeManager.java:64) ~[FastSuite-1.19.2-4.0.0.jar%23478!/:4.0.0] at net.minecraft.world.inventory.CraftingMenu.m150546(CraftingMenu.java:66) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.lambda$slotsChanged$3(ModCraftingMenu.java:65) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.inventory.ContainerLevelAccess.m39294(ContainerLevelAccess.java:35) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess$2.m6721(ContainerLevelAccess.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess.m39292(ContainerLevelAccess.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.m6199(ModCraftingMenu.java:64) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.lambda$slotChanged$4(ModCraftingMenu.java:75) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.inventory.ContainerLevelAccess.m39294(ContainerLevelAccess.java:35) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess$2.m6721(ContainerLevelAccess.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.ContainerLevelAccess.m39292(ContainerLevelAccess.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.m7934(ModCraftingMenu.java:73) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.inventory.AbstractContainerMenu.m150407(AbstractContainerMenu.java:220) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m38946(AbstractContainerMenu.java:170) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.world.inventory.AbstractContainerMenu.m38893(AbstractContainerMenu.java:123) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.world.inventory.ModCraftingMenu.(ModCraftingMenu.java:51) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at fuzs.visualworkbench.world.level.block.entity.CraftingTableBlockEntity.m6555(CraftingTableBlockEntity.java:145) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraft.world.level.block.entity.BaseContainerBlockEntity.m7208(BaseContainerBlockEntity.java:79) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.level.ServerPlayer.m5893(ServerPlayer.java:966) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at fuzs.visualworkbench.handler.OpenMenuHandler.onUseBlock(OpenMenuHandler.java:22) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at fuzs.visualworkbench.VisualWorkbenchForge.lambda$registerHandlers$0(VisualWorkbenchForge.java:26) ~[VisualWorkbench-v4.2.1-1.19.2-Forge.jar%23650!/:4.2.1] at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.3.jar%2351!/:?] at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.3.jar%2351!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2351!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2351!/:?] at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:875) ~[forge-1.19.2-43.2.3-universal.jar%23676!/:?] at net.minecraft.server.level.ServerPlayerGameMode.m7179(ServerPlayerGameMode.java:320) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.m6371(ServerGamePacketListenerImpl.java:1060) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m5797(ServerboundUseItemOnPacket.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m5797(ServerboundUseItemOnPacket.java:8) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.network.protocol.PacketUtils.m131356(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m6367(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m6367(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m6367(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m7245(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m129961(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m7245(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.util.thread.BlockableEventLoop.m18699(BlockableEventLoop.java:116) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m130012(MinecraftServer.java:725) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23671!/:?] at java.lang.Thread.run(Unknown Source) [?:?]

Saereth commented 1 year ago

duplicate, awaiting fix from Immersive dev