
Distant Horizon Log Spam due to custom chunk generator
Closed this issue ยท 1 comments
Distnat Horizons works OK with TerraFirmaCraft on 1.20.x except for a small issue, there's a constant Warn log spam regarding the DH-PriorityTaskPicker
This Log spam is not caused by external mods as it happens even with just TFC and DH installed.
Version: 1.20.1
Forge Version: 47.2.6
TFC Version: 3.2.14
DH Version: 2.3.2-b
EDIT: Spam happens on both Single Player and on a Forge Server
It's a shame really since appart from the ludicrous amount of log spam that bloat the file size, the mod works OK, no issues stem in actual world generation other than DH tweaking a bit.
EDIT: Here's a snippet of the log message itself, there's multiple of them but all of them basically follow the same structure:
[27Apr2025 13:41:49.615] [DH-PriorityTaskPicker Thread[28]/WARN] [DistantHorizons-loaderCommon.forge.com.seibel.distanthorizons.common.wrappers.worldGeneration.step.StepFeatures/]: Unexpected issue when generating features for chunk at pos [C[51,-372]], error: [Biome: 68].
java.lang.NullPointerException: Biome: 68
at java.util.Objects.requireNonNull(Objects.java:336) ~[?:?]
at net.dries007.tfc.world.biome.TFCBiomes.getExtensionOrThrow(TFCBiomes.java:87) ~[TerraFirmaCraft-Forge-1.20.1-3.2.14.jar%23549!/:3.2.14]
at net.dries007.tfc.world.TFCChunkGenerator.m_213609_(TFCChunkGenerator.java:348) ~[TerraFirmaCraft-Forge-1.20.1-3.2.14.jar%23549!/:3.2.14]
at loaderCommon.forge.com.seibel.distanthorizons.common.wrappers.worldGeneration.step.StepFeatures.generateGroup(StepFeatures.java:81) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar%23430!/:?]
at loaderCommon.forge.com.seibel.distanthorizons.common.wrappers.worldGeneration.BatchGenerationEnvironment.generateDirect(BatchGenerationEnvironment.java:1029) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar%23430!/:?]
at loaderCommon.forge.com.seibel.distanthorizons.common.wrappers.worldGeneration.BatchGenerationEnvironment.lambda$generateLodFromListAsync$11(BatchGenerationEnvironment.java:492) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar%23430!/:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at loaderCommon.forge.com.seibel.distanthorizons.common.wrappers.worldGeneration.GenerationEvent.lambda$startEvent$0(GenerationEvent.java:102) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar%23430!/:?]
at com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable.run(PriorityTaskPicker.java:203) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar%23430!/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]