Immersive Engineering

Immersive Engineering

134M Downloads

[1.16.3] Some players unable to connect to server: "java.lang.NullPointerException: Tesselating block in world"

iamevn opened this issue · 14 comments

commented

Description of the issue:

Started a server on 1.16.3 and played for a bit, now some players are unable to connect.
It looks like they can't connect when they would spawn near multiblocks from IE.
3 different players out of around 10 hit this issue and all had similar crashlogs. Only main difference is that the crashlogs mention different multiblocks from IE for each player.

We suspect there's a race condition where the game is trying to load the multiblock before/as it's ready to load the mod but that's really just a guess.

We were unable to reproduce a crash like this in single player, also didn't test minimal yet.

If you'd like us to load up a server with just IE, Forge, and JEI and see if we can reproduce it we can, can also try to whittle down what other mods might be breaking things. It's just going to take some time and we haven't done it yet.

Crashlog:

Crashlog here

Versions & Modlist

IE version: 4.1.0-124
Forge version: 34.1.23
Other mods: see above crashlog

commented

Experiencing this in 4.1.1-128
https://pastebin.com/8mY3iSWW

edit: I built the mod as of latest commit 982a92c yet we are still having a few players crash loading in near crushers

seems to be a race condition that happens with poor internet speed to the server

commented

edit: I built the mod as of latest commit 982a92c yet we are still having a few players crash loading in near crushers

I assume you're using that build only on the server. That is not going to change anything, the relevant changes are client-side. The IE build in your crash report appears to be the official one from CF (unless you're exploiting Forge's broken signature checking).

commented

I also have this problem. This is the crash log
https://paste.ubuntu.com/p/XFFwkX36zR/

commented

edit: I built the mod as of latest commit 982a92c yet we are still having a few players crash loading in near crushers

I assume you're using that build only on the server. That is not going to change anything, the relevant changes are client-side. The IE build in your crash report appears to be the official one from CF (unless you're exploiting Forge's broken signature checking).

The crash log was with the latest official version before I built the mod myself as of the referenced commit, it was not compatible with the official version on the server due to a "shaped_fluid" registry so I updated both the client and the server with the built version, it crashed the affected clients anyway.

The clients that crash have slower internet speeds to the host than those of us who are not crashing which is an observation I assume of little value

commented

In that case I want a new crashlog. The exact old crash should be impossible with the changes.

commented

https://pastebin.com/Gcjww0jz let me know if you need anything else

commented

…and that's a completely different crash. It ends up in the same place, but for entirely different reasons. I'll look into it.

commented

the multiblocks appear to be across multiple chunks, not sure if that could be a factor in the race condition

commented

Yep that worked perfectly, thank you.

commented

Hi Just wanted to add that I am also suffering this issue with a server that I'm running on 16.1. Maybe of note is that the tank that I was using might have just recently hit max capacity. And also, was experimenting with the skyhook, if that matters.

Crashlog here

commented

We think we can get people in to the server by having them load up a single player world and then connecting to multiplayer after that loads up. Might just be placebo though.

commented

I'm able to get in as well, but just from repeatedly logging in and crashing until somehow it just works. Restarting the server didn't seem to help.

commented

Can you please verify if this issue persists in 4.1.1?

commented

Haven't gotten it yet in 4.1.1 👍