13,593,085 Downloads Last Updated: Aug 3, 2022 Game Version: 1.19   +3

1.12.2 Causing Server to Crash During AFK Pregeneration

#161 By  lennycross316

Created Jan 20, 2022 Updated Jan 20, 2022


Hey there! 


  My server has been crashing while running while AFK on MC Eternal 1.5. Here is the most recent crash log. Right now i have removed the mod from the server and stopped pregeneration temporarily to at least keep the server online.


Any help would be much appreciated! 






---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 2022-01-20 18:26:51 UTC
Description: Exception in server tick loop

at pregenerator.impl.processor.generator.ChunkProcessor.onServerTickEvent(
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2537_ChunkProcessor_onServerTickEvent_ServerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(
at net.minecraft.server.MinecraftServer.tick(


A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 5.4.0-94-generic
Java Version: 1.8.0_311, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 3982040248 bytes (3797 MB) / 10737418240 bytes (10240 MB) up to 10737418240 bytes (10240 MB)
JVM Flags: 20 total; -Xmx10240M -Xms512M -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:G1ReservePercent=20 -XX:G1HeapRegionSize=8M -XX:+UseG1GC -XX:+DisableExplicitGC -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCLiveThresholdPercent=90 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1
IntCache: cache: 15, tcache: 93, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 356 mods loaded, 354 mods active

Jan 20, 2022

Next time please upload it to a website like

I trimmed it down to all data that is needed.


For the crash loop you can delete this file: "PregenTaskStorage" in the save folder. It will not cause any harm just remove all the tasks from the task list

so it wont automatically start.


Another thing you can do is there is a config setting called "Autorestart" which it sets to true so it can continue working if it crashes for whatever reason during pregen.


If that is set to false it wont try to continue a task. (this is automatically set to false if you stop a task manually so it only does it so during gen crashes don't waste to much time if it can continue after a crash and doesn't land in a loop)


The bug you found is interesting. It finished the task but the task returned null.

There is a small oversight on my part here...


Will be addressed in the next patch.


Small Edit:

One question. Did you do it in a dimension that was created by another mod?

Since i am only addressing a symptom here not the actual issue.

Edited Jan 20, 2022

To post a comment, please login or register a new account.