I am running a Minecraft server. I recently upgraded from 1.17-Pre2 to 1.17-Pre3. I copied over the server.properties file, op.json, whitelist.json, and banned*.json, and rhsmp/. The RHSMP is the world directory. This did not happen after I upgrades from Pre1 to Pre2 in the exact same way. Even though this is on Fabric, the same thing still happens when I try it with a pure vanilla server. Please note that neither the server nor the client logs a traceback.
After starting up Fabric (java -jar fabric-server-launch.jar nogui-), and trying to log in on my client, I get the following message:
Connection Lost
Interal Exception: io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Cannot invoke "na.b(String, int)" because "☃ is null
On the server-side (nothing above this is of any use):
[11:33:26] [Server thread/INFO]: Done (3.463s)! For help, type "help"
[11:33:26] [Server thread/INFO]: Starting remote control listener
[11:33:26] [Server thread/INFO]: Thread RCON Listener started
[11:33:26] [Server thread/INFO]: RCON running on 0.0.0.0:25575
[11:33:52] User Authenticator #1/INFO: UUID of player dellrium is aedb48d6-1423-4fe4-91d9-4d978030c2e8
[11:33:52] [Server thread/INFO]: dellrium/67.172.252.125:34314 logged in with entity id 237 at (496.30000001192093, 70.5, -25.655683173746702)
[11:33:52] [Server thread/INFO]: dellrium joined the game
[11:33:53] [Server thread/INFO]: dellrium lost connection: Disconnected
[11:33:53] [Server thread/INFO]: dellrium left the game
Linked issues
is duplicated by 3
Attachments
Comments 16
Just checked. Happens with Vanilla also (my fabric install did not have any mods, but I checked anyways). I'll add that to the description, and make sure to do it next time 🙂
I have also encountered this issue updating from vanilla to vanilla. All I did was remove the pre-release 2 jar file and place the pre-release 3 jar file there instead. Consequently, this issue arose.
Confirming this in vanilla java on MacOS. Started a new 1.17 world following the separation into Part 1 & 2. Have upgraded each time no problem. Tonight on upgrade from pre2 to pre3, it works for me, but when my son tried to connect (via Open to LAN, Survival, No cheats)... he gets the above error (in the log, it shows him joining and leaving immediately). He's been connecting in fine up until now. He also is using an unmodded vanilla client, on Windows 10.
I can confirm, that even with debug turned on, no traceback is generated. The last two lines are:
12:49:46.594 dzp [Render thread] Connecting to 166.70.232.119, 25565
12:49:54.300 com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService [Render thread]Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
The server also does not crash, nor generate a traceback. Is it possible there is a bug where the traceback is not logged due to a missing method call in certain multiplayer situations?
I to am having problems as well. I moved my personal server to pre4 and got the same error. My server and client logs are not showing anything to do with networking except for a connect and disconnect. (
[media][media][media][media][media][media]
) - server (
[media][media][media][media][media]) - client
Unless a new pre-release comes out, this is still present in Pre-Release 4.
How to reproduce:
Start a server and world in pre-release 1 or 2
Add a scoreboard objective using an emoji
Update to pre-release 3.
Possibly affected by patch of MC-226514
Please check if this happens without any mods too. Fabric does not count as vanilla.