If the Session server is down, attempts to log in will crash the server:
[09:10:31] [Server thread/INFO]: Starting minecraft server version 14w07a
[09:10:31] [Server thread/INFO]: Loading properties
[09:10:31] [Server thread/INFO]: Default game type: SURVIVAL
[09:10:31] [Server thread/INFO]: Generating keypair
[09:10:32] [Server thread/INFO]: Starting Minecraft server on 192.168.0.3:25565
[09:10:32] [Server thread/INFO]: Preparing level "swim3"
[09:10:32] [Server thread/INFO]: Preparing start region for level 0
[09:10:33] [Server thread/INFO]: Done (0.966s)! For help, type "help" or "?"
[09:10:33] [Server thread/INFO]: Starting GS4 status listener
[09:10:33] [Server thread/INFO]: Starting remote control listener
[09:10:33] [Query Listener #1/INFO]: Query running on 192.168.0.3:25565
[09:10:33] [RCON Listener #2/INFO]: RCON running on 192.168.0.3:25577
[09:10:45] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NullPointerException
at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) ~[minecraft_server.jar:?]
at java.util.WeakHashMap.hash(WeakHashMap.java:365) ~[?:1.7.0_51]
at java.util.WeakHashMap.put(WeakHashMap.java:517) ~[?:1.7.0_51]
at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) ~[minecraft_server.jar:?]
at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) ~[minecraft_server.jar:?]
at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) ~[minecraft_server.jar:?]
at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) ~[minecraft_server.jar:?]
at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) ~[minecraft_server.jar:?]
at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) ~[minecraft_server.jar:?]
at ov.d(SourceFile:102) ~[minecraft_server.jar:?]
at ov.a(SourceFile:93) ~[minecraft_server.jar:?]
at ok.c(SourceFile:130) ~[minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.v(SourceFile:555) ~[minecraft_server.jar:?]
at nb.v(SourceFile:264) ~[minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.u(SourceFile:471) ~[minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:387) [minecraft_server.jar:?]
at mr.run(SourceFile:657) [minecraft_server.jar:?]
[09:10:45] [Server thread/ERROR]: This crash report has been saved to: /Users/steve/Minecraft/Swim3/./crash-reports/crash-2014-02-14_09.10.45-server.txt
Linked issues
Attachments
Comments 6
Also confirmed that, while sessions server is down, setting server.properties online-mode=false prevents crash.
So we're basically forced to run cracked servers until this is fixed. Good thing I have a whitelist.
This crash has nothing to do with slime blocks and is not a duplicate of issue MC-48411. I have tested this with totally fresh worlds in both 14w06b and 14w07a. The crashes only happen in 14w07a, both in worlds containing slime blocks and not containing any slime blocks whatsoever since no one had ever logged in to them before my testing. It is easily reproduced as per my restricted post above and will bring a lot of problems with it if it is not properly identified. I am too new at this to know who the "users" are that I have restricted it to, but am hoping the mods have access to the information. If not I shall have to post my findings publicly for this to not get lost in the flood of bug reports. Attached is my crash report from the totally new world that no player had ever entered.
I agree with DaMaloma. In addition to what DaMaloma said, if this were related to blocks, setting server.properties online-mode=false would not help, but it does.
When the sessions server goes down or has high latency, down goes the server.
Anyway, I'm not worried about which bug is fixed. NullPointerException is usually an obvious, easy fix. Usually.
Confirmed in 14w07a. Whenever a player tries connecting, it crashes the server as above.