mojira.dev
MC-176755

Server logs error on start: Unable to bootstrap registry 'minecraft:chunk_generator_type'

The bug

When the dedicated server is started it logs the following errors:

[23:23:33] [main/ERROR]: Unable to bootstrap registry 'minecraft:chunk_generator_type'
[23:23:33] [main/ERROR]: Registry 'minecraft:chunk_generator_type' was empty after loading

This happens even with the default server.properties which are created if the file does not exist yet.

Linked issues

Comments 21

This may be in other versions also, we don't check the logs that often. Another thing to note is that the server hung for a long time and took about 10 - 15 mins to finish booting. Not sure if that is due to the errors.

I have changed your report a little bit and removed the attached errors file. The warnings in that file are "intentional", see MC-124672. Hopefully these changes are alright for you.

Ok thank you.

As for the teleport warnings, might I suggest a new setting for the server.properties as 'debug'. If false, new warnings or errors would be logged but then suppressed on subsequent starts. This setting would allow server operators to keep their logs clean of known issues and make them more legible.

I have the same issue on snapshots 20w12a and 20w18a after installing and removing a adventure map (diversity) Chunks do not seem to be loading anymore either. Did you see the same Michael?

@Luc No, I have not installed any maps so maybe there are multiple causes.

11 more comments

This is also happening to me... Attempted with manual start and auto start

 

mc@mc_serv:~/server$ java -Xmx13G -Xms13G -jar server.jar nogui
[15:50:56] [main/ERROR]: Unable to bootstrap registry 'minecraft:entity_type'
[15:50:56] [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

Happening with the 20w20a server as well, same issue as the above comment:

[17:09:22] [main/ERROR]: Unable to bootstrap registry 'minecraft:entity_type'
[17:09: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.base/java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:710)
        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
Press any key to continue . . .

 

 

⚠️ The issue in 20w20a is a different, but related one: MC-183769. Please watch and vote for that bug report instead.

I'm no longer getting this in 20w20b.

it is resolved on 20w20b, 20w20a is not compatible to servers

Michael Hurt

(Unassigned)

Confirmed

Important

Debug

20w13b, 20w14a, 20w19a

20w20b

Retrieved