Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-50221

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w10c
    • Minecraft 14w10a, Minecraft 14w10b, 1.15.2
    • None
    • Windows 8 Java 7
    • Confirmed

      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)

            searge [Mojang] Searge (Michael Stoyke)
            bio1712 bio 1712
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: