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)
[Mojang] Searge (Michael Stoyke)
2014-03-06, 04:37 PM
2020-04-24, 12:33 AM
2014-03-06, 11:31 PM
7
6