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

NullPointerException starting 20w20a server.jar


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w20a
    • None
    • Unconfirmed
    • (Unassigned)

      When I try to start server.jar on 20w20a, I am getting the NullPointerException below.  It launches fine on 20w19a.  Rebooted PC hosting server for troubleshooting, but it didn't have any effect.  Able to reproduce on both Windows and Linux.


      PS C:\Users\shaun\minecraft_KidKraft> java -Xmx1024M -Xms1024M -jar .\server.jar

      [15:02:22] [main/ERROR]: Unable to bootstrap registry 'minecraft:entity_type'
      [15:02:22] [main/ERROR]: Unable to bootstrap registry 'minecraft:feature'
      Exception in thread "main" java.lang.ExceptionInInitializerError
      at gl.H(SourceFile:94)
      at gl.a(SourceFile:132)
      at java.util.LinkedHashMap$LinkedEntrySet.forEach(Unknown Source)
      at gl.<clinit>(SourceFile:131)
      at aoc.a(SourceFile:144)
      at aoc.<clinit>(SourceFile:150)
      at ckx.<clinit>(SourceFile:23)
      at cka.<clinit>(SourceFile:64)
      at cqg.<clinit>(SourceFile:77)
      at cif.<clinit>(SourceFile:64)
      at net.minecraft.server.MinecraftServer.<clinit>(SourceFile:179)
      Caused by: java.lang.NullPointerException
      at bsh.<init>(SourceFile:44)
      at bqk.<clinit>(SourceFile:9)
      ... 11 more
      PS C:\Users\shaun\minecraft_KidKraft>

            Unassigned Unassigned
            shaunmiller1024 Shaun Miller
            7 Vote for this issue
            6 Start watching this issue