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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w10a, Minecraft 14w10b
    • Fix Version/s: Minecraft 14w10c
    • Labels:
      None
    • Environment:

      Windows 8 Java 7

    • Confirmation Status:
      Confirmed

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: