When trying to join a server with the new snapshot/launcher minecraft returns a nullpointerexception and the server states end of stream
Steps to reproduce:
Enter
/scoreboard objectives add Health health
Enter
/scoreboard objectives setdisplay belowName Health
Leave the world
Join the world
Linked issues
is duplicated by
Attachments
Comments
Server log where NullPointerException is found.
I have narrowed the problem somewhat. The issue creating the end of stream in located in the world folder, something with loading pre1.5.1 worlds to 13w16a. To clear this up, my server world was created in weekly snapshot 12w38b and has used every single release, both official and snapshot, since that release, if it makes any difference.
I can confirm for 13w18b.
EDIT: I believe that the issue directly relates to the idcounts file in the resources folder. When I deleted the idcounts file in the resource folder in world, DIM1 and DIM-1 players can connect just fine.
EDIT2: This doesn't work for some people. More investigating is taking place.
I tried to delete the idcounts file, but there was only one. Assuming you're running something other than Windows, because there isn't a resources folder. Issue persists.
Derp. I meant the idcounts in the DATA folder. Back up before you attempt, but it works for me when I delete [world name]>data>idcounts, [world name]>DIM1>data>idcounts and [world name]>DIM-1>data>idcounts. Sorry.
Hm. I actually don't have idcounts files in the DIM1 and DIM-1 folders. Odd.
Has anyone been to the Nether or the End on your server? Just in case you didn't know, DIM1=Nether and DIM-1=End. 🙂
Yes, we've been to the Nether extensively, but not the End. In any case, there's no idcounts file in either place.
Odd. Well anyways, after backing up your world, try deleting the idcounts folder that you found and tell me if it fixes it! If it doesn't then I did something else that fixed it. :3
yeah, deleting the only idcounts file I could find had no measurable effect. Same errors.
Performing more research. I shall inform you when I figure out the problem.
Attn Dinnerbone: Issue has NOT been resolved. Attempted to run server with new 18c server executable, still refusing connections with "End of Stream"
Reopened.
Deleting the world/data/scoreboard.dat file like Chili Fries suggested worked for me also. Seems like he has located the problem.
Chili Fries is correct, the issue is related to the scoreboard, in particular the health objective type. After the snapshots not working at all for me due to this issue, I removed my health objective and upgraded the server; alas, it works fine now.
Can also confirm it occurs when the display is set to the sidebar
not just for Health. There's something more general.
+ ooo yay db is workin on it

Confirmed for snapshot 13w23b.

Did some quick testing, and I can confirm this is fixed in 13w24a!
Thanks Dinnerbone!
I have the exact same problem. People could connect to my server fine in updates 1.5.1 and before, but on 13w16a no one can connect! My server is run on OS X 10.8.3 with Apple Java 7. I tryed downgrading to Apple Java 6, but it didn't fix anything. I get the following messages in the server log: