Skip to content

Crash when saving large litematic in MC 1.21.11 #1069

@MordorsElite

Description

@MordorsElite

Issue description:

My game crashes when trying to save a litematic exceeding the render distance in length, so requiring you to got to additional chunk for the Save-Task to finish.

This crash seems to be very inconsistent. I was trying to make a litematic of the terrain to be cleared out by my trenchers on two sides of a perimeter. I did not have issues saving the litematic on one side, however then had multiple crashes trying to save the litematic on the other side, despite it having the exact same size (just a different position).

After further testing the crash seems to be tied in some way to the speed at which the Save-Task-Chunks are loaded. When flying along the area selection in order to save it, the game consistently crashed for me. However when I instead tried to walk, the saving-process was successful.

I am usually using the Cool Elytra Roll mod. However after suspecting it of potentially messing something up, I tried doing it with the mod removed and I still experienced the same crash, so I doubt it is the issue.

The error message when I got the crash was the following:

The game crashed: unexpected error
Error: java.lang.NullPointerException: Cannot invoke "fi.dy.masa.malilib.util.data.tag.CompoundData.getKeys()" because "compoundData" is null

Version info:

  • Minecraft 1.21.11
  • Fabric Loader 0.18.4
  • Mods Client:
    • Litematica 0.25.3
    • Malilib 0.27.2
  • Mods Server (issue occurred when playing on my private external server)
    • Servux 0.9.1
    • Malilib 0.27.2

Additional info

Full list of client mods in use:

  • carpet-tis-addition-v1.73.1-mc1.21.11.jar
  • cloth-config-21.11.153-fabric.jar
  • continuity-3.0.1-beta.1+1.21.11.jar
  • cool_elytra-1.5.3+1.21.11.jar
  • DistantHorizons-2.4.5-b-1.21.11-fabric-neoforge.jar
  • dynamic-fps-3.11.2+minecraft-1.21.11-fabric.jar
  • entityculling-fabric-1.9.5-mc1.21.11.jar
  • fabric-api-0.140.2+1.21.11.jar
  • fabric-carpet-1.21.11-1.4.194+v251223.jar
  • facebar-0.1.2.jar
  • ferritecore-8.0.3-fabric.jar
  • ImmediatelyFast-Fabric-1.14.1+1.21.11.jar
  • iris-fabric-1.10.4+mc1.21.11.jar
  • itemscroller-fabric-1.21.11-0.30.0.jar
  • litematica-fabric-1.21.11-0.25.3.jar
  • lithium-fabric-0.21.2+mc1.21.11.jar
  • malilib-fabric-1.21.11-0.27.2.jar
  • minihud-fabric-1.21.11-0.38.2.jar
  • modmenu-17.0.0-beta.1.jar
  • moreculling-fabric-1.21.11-1.6.1.jar
  • NoChatReports-FABRIC-1.21.11-v2.18.0.jar
  • reeses-sodium-options-fabric-2.0.2+mc1.21.11.jar
  • servux-fabric-1.21.11-0.9.1.jar
  • shulkerfix-1.7.7+1.21.11.jar
  • simpleshulkerpreview-2.4.11.jar
  • sodium-extra-fabric-0.8.2+mc1.21.11.jar
  • sodium-fabric-0.8.2+mc1.21.11.jar
  • textile_backup-3.1.4-1.21.11.jar
  • tweakeroo-fabric-1.21.11-0.27.2.jar
  • voicechat-fabric-1.21.11-2.6.10.jar
  • worldedit-mod-7.4.0-beta-02.jar
  • yet_another_config_lib_v3-3.8.1+1.21.11-fabric.jar

Precise Coordinates of problematic area and info about world

  • Area (Normal Selection Mode), One Sub-Region
    • Corner 1: 1845 -57 1845
    • Corner 2: 1847 100 1098
  • World Seed: -8988317745036420132
  • Area first loaded using chunky in 1.21.10, now both server and client are running 1.21.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions