mojira.dev
MC-57225

Server Shutdown and/or Crash

Server does a shutdown and it does not generated a crash report only thing in the log is this. Tested on both Windows 8 and Ubuntu linux.

[11:53:08] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: Could not initialize class b
	at net.minecraft.server.MinecraftServer.w(SourceFile:580) ~[minecraft_server.14w25a.jar:?]
	at nt.w(SourceFile:284) ~[minecraft_server.14w25a.jar:?]
	at net.minecraft.server.MinecraftServer.v(SourceFile:506) ~[minecraft_server.14w25a.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:422) [minecraft_server.14w25a.jar:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_55]
[11:53:08] [Server thread/INFO]: Stopping server
[11:53:08] [Server thread/INFO]: Saving players
[11:53:08] [Server thread/INFO]: Saving worlds
[11:53:08] [Server thread/INFO]: Saving chunks for level 'Saves'/Overworld
[11:53:08] [Server thread/INFO]: Saving chunks for level 'Saves'/Nether
[11:53:08] [Server thread/INFO]: Saving chunks for level 'Saves'/The End

Linked issues

Comments 12

How is this resolved when it still crashes on 14w25b and how is this a duplicate of MC-56893? MC-56893 happens when you place a log block and the crash/server shutdown I reported happens every 2-3 minutes without building or placing any block. Also there is no crash report the server just shuts down. Here is the server log from 14w25b.

[10:46:49] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: Could not initialize class b
	at net.minecraft.server.MinecraftServer.w(SourceFile:572) ~[minecraft_server.14w25b.jar:?]
	at nt.w(SourceFile:284) ~[minecraft_server.14w25b.jar:?]
	at net.minecraft.server.MinecraftServer.v(SourceFile:506) ~[minecraft_server.14w25b.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:422) [minecraft_server.14w25b.jar:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_55]
[10:46:49] [Server thread/INFO]: Stopping server
[10:46:49] [Server thread/INFO]: Saving players
[10:46:49] [Server thread/INFO]: Saving worlds
[10:46:49] [Server thread/INFO]: Saving chunks for level 'Saves'/Overworld
[10:46:49] [Server thread/INFO]: Saving chunks for level 'Saves'/Nether
[10:46:49] [Server thread/INFO]: Saving chunks for level 'Saves'/The End

I can confirm this, this is really annoying and different from the log crash. This causes hosted servers to close and restart because of an apparent error.

Can also confirm this for 14w25b, server seemed to crash on a player joining. Have been running this server snapshot .jar since last Friday, and this is the first time I have encountered this issue. Included a log extract below, though I have removed the players name, UUID & IP. Upon the crash, no crash report was generated & the server appeared to have been stopped as normal.

http://pastebin.com/sqPdWjUp

Same issue here. It doesn't generate a crash log. And it only started doing this after about a week on the new snapshot.

28.07 10:39:42 [Server] INFO at java.lang.Thread.run(Thread.java:744)
28.07 10:39:42 [Server] INFO at pm.run(SourceFile:50)
28.07 10:39:42 [Server] INFO Exception in thread "Server Watchdog" java.lang.NoClassDefFoundError: Could not initialize class b

I have many crash reports which now make no senese to me tat all to whats going on or whats causing it.

2 more comments
Michael Deaton

Still no fix?

This issue is still occurring

I know still does it in pre 1.8

Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

James Huebner

(Unassigned)

Community Consensus

Minecraft 14w25a, Minecraft 14w29b, Minecraft 14w31a, Minecraft 1.8

Retrieved