Starpack Aleph

Starpack Aleph

4k Downloads

[Titan] NullPointerException during Chunk Pregen operations

CodeGordon opened this issue ยท 2 comments

commented

Describe the bug
Server constantly crashing when trying to pregen. This occurs after about 10-30 minutes.

Modpack Version

  • Aleph
  • Titan v0.1.9b

Forge Version
36.2.35

To Reproduce
Steps to reproduce the behavior:

  1. Install server
  2. Begin pregen: "pregen start gen radius GenSpawn CIRCLE 0 0 100 minecraft:overworld NORMAL_GEN"
  3. Wait for server to crash

Expected behavior
Pregen to not crash the server.

Logs
crash-2022-06-23_05.44.14-server.txt
crash-2022-06-23_06.28.50-server.txt
crash-2022-06-23_07.11.32-server.txt
crash-2022-06-23_07.51.42-server.txt
crash-2022-06-23_08.33.27-server.txt

Startup Options

-Xms12288M
-Xmx12288M
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions
-XX:+DisableExplicitGC
-XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30
-XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M
-XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5
-XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5
-XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1
-Dfml.readTimeout=90
-Dfml.queryResult=confirm
commented

I tried to reset everything and redo the entire server. Still crashing from the same NullPointerException. The attached world backup is from after starting the server but before starting the pregen process.

Logs
latest.log
crash-2022-06-23_15.35.42-server.txt

World Backup
server.properties
2022-06-23-14-54-41.zip

commented

@CodeGordon the issue is "Lithium" is installed. Maybe its radium or rubidium. Don't remember how its called.
Lithium Changes how "Points of Interest" are changed.
Chunk Pregen fixes a bug within Minecraft (memory leak to be specific) but lithium didn't account for that memory leak being patched, why should they.

Simply go into their mixin config and set "ai.poi" to false. (You have to write it like this: poi.ai=false)
Or during pregeneration disable lithium or how your lithium port is called.

Oh yeah: Chunk Pregen dev writing this