mojira.dev
MC-50221

Exception on server start "Name and ID cannot both be blank" when started with online-mode=false

Workaround:

The server needs to be started once with

online-mode=true

in server.properties. After that, the server runs without exceptions with

online-mode=true

When i start the server it crashes:

Full crash report attached.

java.lang.IllegalArgumentException: Name and ID cannot both be blank
	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:27)
	at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:37)
	at pe.a(SourceFile:48)
	at pe.a(SourceFile:101)
	at my.aF(SourceFile:421)
	at my.g(SourceFile:145)
	at net.minecraft.server.MinecraftServer.run(SourceFile:367)
	at mp.run(SourceFile:667)
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.

Time: 06/03/14 15.35
Description: Exception in server tick loop

java.lang.IllegalArgumentException: Name and ID cannot both be blank
	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:27)
	at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:37)
	at pe.a(SourceFile:48)
	at pe.a(SourceFile:101)
	at my.aF(SourceFile:421)
	at my.g(SourceFile:145)
	at net.minecraft.server.MinecraftServer.run(SourceFile:367)
	at mp.run(SourceFile:667)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 14w10a
	Operating System: Windows 8 (amd64) version 6.2
	Java Version: 1.7.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 179953128 bytes (171 MB) / 191365120 bytes (182 MB) up to 2839019520 bytes (2707 MB)
	JVM Flags: 0 total; 
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Profiler Position: N/A (disabled)
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Linked issues

Attachments

Comments 20

I also get this error when strarting my server

I'm getting this as well.

10 more comments

I can't seam to get this to work with 14w10b.

I am still getting the same error: Name and ID cannot both be blank.

Is there a new server property that needs to be added to existing servers?

Can we re-open this please?

Reopened & Confirmed.

Exception occurs until server is started with

online-mode=true

After that, the server can be started again with

online-mode=false

14w10c fixed it for me. Thanks

bio 1712

michael

Confirmed

Minecraft 14w10a, Minecraft 14w10b, 1.15.2

Minecraft 14w10c

Retrieved