Quark Oddities

Quark Oddities

22M Downloads

1.18 cannot join (singleplayer) server, invalid player data

xiaoschannel opened this issue ยท 3 comments

commented

forge 39.0.8 (atm newest, same problem on 0.7, 0.5 confirmed)
I'm not sure exactly which mod is causing the problem (no problems having quark alone, but removing just quark solves my problem). This is a custom mod pack.

I know it's usually not a good thing to do if i dont know exactly which mod, but this one is really weird since the client loads okay, you can create the world, you just can't join it with quark installed.

Here's what I managed to salvage out of my log:

[Server thread/ERROR]: Exception caught during firing event: Cannot invoke "net.minecraft.world.item.ItemStack.m_41619_()" because the return value of "net.minecraft.world.item.crafting.Recipe.m_8043_()" is null
	Index: 14
	Listeners:
		0: HIGH
		1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		2: NORMAL
		3: net.minecraftforge.eventbus.EventBus$$Lambda$4206/0x0000000800b8ef10@472f47f5
		4: net.minecraftforge.eventbus.EventBus$$Lambda$4206/0x0000000800b8ef10@31882fe5
		5: net.minecraftforge.eventbus.EventBus$$Lambda$4206/0x0000000800b8ef10@58d3994b
		6: ASM: net.minecraftforge.common.ForgeInternalHandler@55dae453 playerLogin(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		7: ASM: class net.valhelsia.valhelsia_core.common.event.PlayerEvents onPlayerJoinWorld(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		8: ASM: class net.mehvahdjukaar.supplementaries.events.ServerEvents onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		9: ASM: class dev.architectury.networking.forge.NetworkManagerImpl loggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		10: ASM: class baguchan.tofucraft.CommonEvents onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		11: ASM: class com.simibubi.create.events.CommonEvents playerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		12: ASM: class com.simibubi.create.content.curiosities.tools.ExtendoGripItem addReachToJoiningPlayersHoldingExtendo(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		13: ASM: snownee.kiwi.contributor.Contributors@54556723 onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		14: ASM: vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule@4279cb3f onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		15: ASM: top.theillusivec4.curios.common.event.CuriosEventHandler@72d9e87c playerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
		16: ASM: squeek.appleskin.network.SyncHandler@5c9e38bf onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.ItemStack.m_41619_()" because the return value of "net.minecraft.world.item.crafting.Recipe.m_8043_()" is null
	at TRANSFORMER/[email protected]/vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.lambda$onPlayerLoggedIn$0(AutomaticRecipeUnlockModule.java:53)
	at java.base/java.util.ArrayList.removeIf(ArrayList.java:1682)
	at java.base/java.util.ArrayList.removeIf(ArrayList.java:1660)
	at TRANSFORMER/[email protected]/vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.onPlayerLoggedIn(AutomaticRecipeUnlockModule.java:53)
	at net.minecraftforge.eventbus.ASMEventHandler_550_AutomaticRecipeUnlockModule_onPlayerLoggedIn_PlayerLoggedInEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
	at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.firePlayerLoggedIn(ForgeEventFactory.java:810)
	at TRANSFORMER/[email protected]/net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:237)
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:138)
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:125)
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10050_(ServerLoginPacketListenerImpl.java:69)
	at TRANSFORMER/[email protected]/net.minecraft.network.Connection.m_129483_(Connection.java:229)
	at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:882)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:808)
	at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:86)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668)
	at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258)
	at java.base/java.lang.Thread.run(Thread.java:833)
 [Server thread/ERROR]: Couldn't place player in world
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.item.ItemStack.m_41619_()" because the return value of "net.minecraft.world.item.crafting.Recipe.m_8043_()" is null
	at vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.lambda$onPlayerLoggedIn$0(AutomaticRecipeUnlockModule.java:53) ~[Quark-3.0-332.jar%23106!:3.0-332]
	at java.util.ArrayList.removeIf(ArrayList.java:1682) ~[?:?]
	at java.util.ArrayList.removeIf(ArrayList.java:1660) ~[?:?]
	at vazkii.quark.content.tweaks.module.AutomaticRecipeUnlockModule.onPlayerLoggedIn(AutomaticRecipeUnlockModule.java:53) ~[Quark-3.0-332.jar%23106!:3.0-332]
	at net.minecraftforge.eventbus.ASMEventHandler_550_AutomaticRecipeUnlockModule_onPlayerLoggedIn_PlayerLoggedInEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!:?]
	at net.minecraftforge.event.ForgeEventFactory.firePlayerLoggedIn(ForgeEventFactory.java:810) ~[forge-1.18.1-39.0.8-universal.jar%23124!:?]
	at net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:237) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:138) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:125) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10050_(ServerLoginPacketListenerImpl.java:69) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.network.Connection.m_129483_(Connection.java:229) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:882) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:808) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:86) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[client-1.18.1-20211210.034407-srg.jar%23120!:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
 [Server thread/INFO]: (playername) lost connection: Invalid player data
 [Server thread/INFO]: (playername) left the game

Any help on what's might be causing the problem while i look for the exact problem is appreciated.

commented

Update: This Problem is caused in joint with the tofucraft reload(sic) mod
I'm opening an issue on their repo as well. baguchi/TofuCraftReload-Recode#3

Minimal procedure to reproduce:
TofuCraftReload-1.18.1-0.7.0
Quark-3.0-332
Forge 39.0.8
(Create new world to reproduce)

commented

Not true as i have this problem without tofucraft installed, all you have to do is disable the automatic recipe unlock setting in quark config to fix it.

commented

Not true as i have this problem without tofucraft installed, all you have to do is disable the automatic recipe unlock setting in quark config to fix it.

that does not contradict my statement.