mojira.dev
MC-183822

NullPointerException starting 20w20a server.jar

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>

Linked issues

Comments 7

Same problem here
Fails to start using Java versions 1.8.0_251, 12.0.1, 14.0.1
Linux and Windows

same error here,  Windows  10

same error, also windows 10, just updated to java 8u251 also to check if this was it, still not working

Same

[19:45:26] ain/ERROR]: Unable to bootstrap registry 'minecraft:feature'

Having the same problem 

Thank you for your report!
We're actually already tracking this issue in MC-183769, so I resolved and linked this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Shaun Miller

(Unassigned)

Unconfirmed

(Unassigned)

20w20a

Retrieved