Launching the server jar with the next command:
java -jar -Xmx8G server.jar
causes a crash with the following output:
[21:30:16] [main/ERROR]: Unable to bootstrap registry 'minecraft:entity_type'
[21:30:16] [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(LinkedHashMap.java:671)
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
Environment
Ubuntu Server 20.04
Java versions tested:
java-11.0.6-openjdk-amd64,
java-1.8.0-openjdk-amd64
Linked issues
duplicates 1
Comments 6
Having same issue stated above. When running server file standalone getting A Java Exception has occured
Duplicate ofย MC-183822
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
Same as 183822