Jump to content

Crash during world creation, only on standalone servers: Exception generating new chunk


Mad Alchemist

Recommended Posts

After I have ported most of my mod to 1.16.5, I am getting a strange crash during world creation (or shortly after) on standalone servers. Single-player is OK.

Here is latest.log (and there was no debug.log in logs directory):

Spoiler

[15:46:41] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[15:46:41] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.2 by Oracle Corporation
[15:46:41] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Games/mineserver/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2319! Service=ModLauncher Env=SERVER
[15:46:41] [main/INFO]: Found mod file zombienation-1.17.1-2.0.3.1.jar of type MOD with locator {mods folder locator at C:\Games\mineserver\mods}
[15:46:41] [main/INFO]: Found mod file fmlcore-1.17.1-37.1.1.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@62ea3440
[15:46:41] [main/INFO]: Found mod file javafmllanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@62ea3440
[15:46:41] [main/INFO]: Found mod file mclanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@62ea3440
[15:46:41] [main/INFO]: Found mod file server-1.17.1-20210706.113038-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@62ea3440
[15:46:41] [main/INFO]: Found mod file forge-1.17.1-37.1.1-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@62ea3440
[15:46:43] [main/INFO]: Launching target 'forgeserver' with arguments []
[15:46:52] [modloading-worker-1/INFO]: Forge mod loading, version 37.1.1, for MC 1.17.1 with MCP 20210706.113038
[15:46:52] [modloading-worker-1/INFO]: MinecraftForge v37.1.1 Initialized
[15:46:54] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[15:46:55] [Forge Version Check/INFO]: [forge] Found status: UP_TO_DATE Current: 37.1.1 Target: null
[15:46:57] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[15:46:57] [main/WARN]: Assets URL 'union:/C:/Games/mineserver/libraries/net/minecraft/server/1.17.1-20210706.113038/server-1.17.1-20210706.113038-srg.jar%2327!/assets/.mcassetsroot' uses unexpected schema
[15:46:57] [main/WARN]: Assets URL 'union:/C:/Games/mineserver/libraries/net/minecraft/server/1.17.1-20210706.113038/server-1.17.1-20210706.113038-srg.jar%2327!/data/.mcassetsroot' uses unexpected schema
[15:46:58] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:46:58] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:46:58] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:46:58] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:46:58] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:46:58] [main/INFO]: Reloading ResourceManager: Default, zombienation-1.17.1-2.0.3.1.jar, forge-1.17.1-37.1.1-universal.jar
[15:47:01] [Worker-Main-6/INFO]: Loaded 7 recipes
[15:47:04] [Worker-Main-6/INFO]: Loaded 1137 advancements
[15:47:06] [Server thread/INFO]: Starting minecraft server version 1.17.1
[15:47:06] [Server thread/INFO]: Loading properties
[15:47:06] [Server thread/INFO]: Default game type: SURVIVAL
[15:47:06] [Server thread/INFO]: Generating keypair
[15:47:06] [Server thread/INFO]: Starting Minecraft server on *:25565
[15:47:06] [Server thread/INFO]: Using default channel type
[15:47:06] [Server thread/WARN]: Configuration file .\world\serverconfig\forge-server.toml is not correct. Correcting
[15:47:06] [Server thread/WARN]: Incorrect key server was corrected from null to its default, SimpleCommentedConfig:{}. 
[15:47:06] [Server thread/WARN]: Incorrect key server.removeErroringBlockEntities was corrected from null to its default, false. 
[15:47:06] [Server thread/WARN]: Incorrect key server.fullBoundingBoxLadders was corrected from null to its default, false. 
[15:47:06] [Server thread/WARN]: Incorrect key server.zombieBaseSummonChance was corrected from null to its default, 0.1. 
[15:47:06] [Server thread/WARN]: Incorrect key server.zombieBabyChance was corrected from null to its default, 0.05. 
[15:47:06] [Server thread/WARN]: Incorrect key server.treatEmptyTagsAsAir was corrected from null to its default, false. 
[15:47:06] [Server thread/WARN]: Incorrect key server.fixAdvancementLoading was corrected from null to its default, true. 
[15:47:06] [Server thread/INFO]: Preparing level "world"
[15:47:13] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[15:47:13] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[15:47:14] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[15:47:14] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[15:47:15] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[15:47:15] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[15:47:15] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[15:47:16] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[15:47:17] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[15:47:17] [Worker-Main-6/INFO]: Preparing spawn area: 2%
[15:47:17] [Worker-Main-6/INFO]: Preparing spawn area: 2%
[15:47:18] [Worker-Main-6/INFO]: Preparing spawn area: 3%
[15:47:18] [Worker-Main-5/WARN]: Worker-Main-5 died
java.util.concurrent.CompletionException: net.minecraft.ReportedException: Exception generating new chunk
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1155) ~[?:?]
    at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?]
    at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(SourceFile:58) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18759_(SourceFile:91) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18747_(SourceFile:146) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.run(SourceFile:102) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) ~[?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
Caused by: net.minecraft.ReportedException: Exception generating new chunk
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:529) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
Caused by: java.lang.IllegalArgumentException: bound must be positive
    at java.util.Random.nextInt(Random.java:388) ~[?:?]
    at net.minecraft.world.level.NaturalSpawner.m_151616_(NaturalSpawner.java:335) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.m_6929_(NoiseBasedChunkGenerator.java:504) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156220_(ChunkStatus.java:99) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_142357_(ChunkStatus.java:255) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156212_(ChunkStatus.java:208) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:517) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
[15:47:18] [Worker-Main-5/FATAL]: Preparing crash report with UUID 9c10d35f-0a18-42b9-a7af-289a7cef4872
[15:47:18] [Worker-Main-4/INFO]: Preparing spawn area: 3%
[15:47:18] [Worker-Main-6/WARN]: Worker-Main-6 died
java.util.concurrent.CompletionException: net.minecraft.ReportedException: Exception generating new chunk
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1155) ~[?:?]
    at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?]
    at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(SourceFile:58) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18759_(SourceFile:91) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18747_(SourceFile:146) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.run(SourceFile:102) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) ~[?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
Caused by: net.minecraft.ReportedException: Exception generating new chunk
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:529) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
Caused by: java.lang.IllegalArgumentException: bound must be positive
    at java.util.Random.nextInt(Random.java:388) ~[?:?]
    at net.minecraft.world.level.NaturalSpawner.m_151616_(NaturalSpawner.java:335) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.m_6929_(NoiseBasedChunkGenerator.java:504) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156220_(ChunkStatus.java:99) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_142357_(ChunkStatus.java:255) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156212_(ChunkStatus.java:208) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:517) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
[15:47:19] [Worker-Main-6/FATAL]: Preparing crash report with UUID 45de03c8-6d00-4f2b-81e5-29f0cd56ef5b
[15:47:19] [Worker-Main-4/INFO]: Preparing spawn area: 3%
[15:47:19] [Worker-Main-10/WARN]: Worker-Main-10 died
java.util.concurrent.CompletionException: net.minecraft.ReportedException: Exception generating new chunk
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1155) ~[?:?]
    at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?]
    at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(SourceFile:58) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18759_(SourceFile:91) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.m_18747_(SourceFile:146) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.util.thread.ProcessorMailbox.run(SourceFile:102) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434) ~[?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
Caused by: net.minecraft.ReportedException: Exception generating new chunk
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:529) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
Caused by: java.lang.IllegalArgumentException: bound must be positive
    at java.util.Random.nextInt(Random.java:388) ~[?:?]
    at net.minecraft.world.level.NaturalSpawner.m_151616_(NaturalSpawner.java:335) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator.m_6929_(NoiseBasedChunkGenerator.java:504) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156220_(ChunkStatus.java:99) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_142357_(ChunkStatus.java:255) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.world.level.chunk.ChunkStatus.m_156212_(ChunkStatus.java:208) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$18(ChunkMap.java:517) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.17.1-20210706.113038-extra.jar%2324!:?]
    at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$20(ChunkMap.java:515) ~[server-1.17.1-20210706.113038-srg.jar%2327!:?]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
    ... 11 more
 

I can't even figure out which feature of mod is bugged, as my mod isn't even mentioned in crash report. Or it is bad version of forge?
I tried to run my mod on 1.17.1-37.1.1, and here is source code of all my mod if you need it: https://github.com/MadAlchemist/Zombienation/tree/1.17.1

(Don't judge too harshly for bad coding practices, if nobody would start modding before mastered java, all we would have today is vanilla MC)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.