Sown-Dev / LavaTech1.18

1.18 port of LavaTech
Other
2 stars 2 forks source link

[1.18.2]: Cannot join server world "Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null" #11

Closed aking4125 closed 1 year ago

aking4125 commented 2 years ago

Hello,

Upon attempting to join the server. The client disconnects with the following message: image

Below is the server debug.log file (Compressed into .zip cause Github has a 25MB Limit. (Also uploaded as a Gist) serverdebug.zip

And here is the client debug.log file. There seems to be some useful information but for some reason parts of the file got messed up each time. debug.log

Removing this mod allows clients to connect without issue. Any ideas?

Daltaxy commented 2 years ago

I'm getting the same exact bug. You actually helped me find the origin of the crash. Thank you. This is apparently due to an issue with recipes...

Sown-Dev commented 2 years ago

Yeah the reason i stopped working on the mod (along with motivation stuff) was because of this issue. I couldn't find a way to fix it. If you have any suggestions, that would be incredibly appreciated.

Daltaxy commented 2 years ago

Yeah the reason i stopped working on the mod (along with motivation stuff) was because of this issue. I couldn't find a way to fix it. If you have any suggestions, that would be incredibly appreciated.

This is extremely saddening to read. Here is the thread where I asked for help. https://forums.minecraftforge.net/topic/115949-1192-crash-when-joining-server/#comment-512523, it contains the logs as well.

"All it says is that it can't send the recipes to the client because there is that null ResourceLocation" could help...

If it is indeed caused by a recipe, removing them all and trying each time by adding them back one by one could get you to find the issue; just like users when they have to remove mods one by one or try building a modpack again by trying one by one after each mod... Terrible "waste" of time but it could be the only way... Good luck with this though. I am here to try as client if you need.

Sown-Dev commented 2 years ago

Yeah I've tried doing that but I can't figure out the issue. I've tried removing recipes but it seems to be an issue among all of them. I guess I'll give trying to fix the mod another attempt.

Sown-Dev commented 1 year ago

Fixed it