quiqueck / BetterEnd

Better End MC Mod
https://modrinth.com/mod/betterend
Other
29 stars 40 forks source link

[Bug] crash occure when using chulker box and some items vanish #478

Open tchereau opened 2 months ago

tchereau commented 2 months ago

What happened?

was closing a chulker box in end

BetterEnd

21.0.11

BCLib

21.0.13

Fabric API

0.102.0

Fabric Loader

0.15.11

Minecraft

1.21

Relevant log output

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 2024-09-18 03:10:43
Description: Feature placement

java.lang.ClassCastException: class java.util.HashMap$Node cannot be cast to class java.util.HashMap$TreeNode (java.util.HashMap$Node and java.util.HashMap$TreeNode are in module java.base of loader 'bootstrap')
    at java.base/java.util.HashMap$TreeNode.moveRootToFront(Unknown Source)
    at java.base/java.util.HashMap$TreeNode.treeify(Unknown Source)
    at java.base/java.util.HashMap$TreeNode.split(Unknown Source)
    at java.base/java.util.HashMap.resize(Unknown Source)
    at java.base/java.util.HashMap.putVal(Unknown Source)
    at java.base/java.util.HashMap.put(Unknown Source)
    at org.betterx.betterend.world.structures.piece.LakePiece.getHeight(LakePiece.java:257)
    at org.betterx.betterend.world.structures.piece.LakePiece.getHeightClamp(LakePiece.java:275)
    at org.betterx.betterend.world.structures.piece.LakePiece.method_14931(LakePiece.java:116)
    at net.minecraft.class_3449.method_14974(class_3449.java:100)
    at net.minecraft.class_2794.method_38265(class_2794.java:324)
    at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
    at net.minecraft.class_2794.method_12102(class_2794.java:323)
    at net.minecraft.class_9310.method_57610(class_9310.java:103)
    at net.minecraft.class_9770.mixinextras$bridge$doWork$15(class_9770.java)
    at net.minecraft.class_9770.mdd612d2$c2me-threading-worldgen$lambda$wrapGenerationStep$0$0(class_9770.java:537)
    at com.ishland.c2me.base.common.scheduler.ScheduledTask.run(ScheduledTask.java:22)
    at com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:56)
    at com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:35)

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

-- Head --
Thread: Server thread
Stacktrace:
    at java.base/java.util.HashMap$TreeNode.moveRootToFront(Unknown Source)
    at java.base/java.util.HashMap$TreeNode.treeify(Unknown Source)
    at java.base/java.util.HashMap$TreeNode.split(Unknown Source)
    at java.base/java.util.HashMap.resize(Unknown Source)
    at java.base/java.util.HashMap.putVal(Unknown Source)
    at java.base/java.util.HashMap.put(Unknown Source)
    at org.betterx.betterend.world.structures.piece.LakePiece.getHeight(LakePiece.java:257)
    at org.betterx.betterend.world.structures.piece.LakePiece.getHeightClamp(LakePiece.java:275)
    at org.betterx.betterend.world.structures.piece.LakePiece.method_14931(LakePiece.java:116)
    at net.minecraft.class_3449.method_14974(class_3449.java:100)
    at net.minecraft.class_2794.method_38265(class_2794.java:324)
    at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)

-- Feature --
Details:
    Description: ResourceKey[minecraft:worldgen/structure / betterend:megalake_small]
Stacktrace:
    at net.minecraft.class_2794.method_12102(class_2794.java:323)
    at net.minecraft.class_9310.method_57610(class_9310.java:103)
    at net.minecraft.class_9770.mixinextras$bridge$doWork$15(class_9770.java)
    at net.minecraft.class_9770.mdd612d2$c2me-threading-worldgen$lambda$wrapGenerationStep$0$0(class_9770.java:537)
    at com.ishland.c2me.base.common.scheduler.ScheduledTask.run(ScheduledTask.java:22)
    at com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:56)
    at com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:35)

-- Generation --
Details:
    CenterX: -131
    CenterZ: -75
    Decoration Seed: -4605407465568117819
Stacktrace:
    at net.minecraft.class_2794.method_12102(class_2794.java:323)
    at net.minecraft.class_9310.method_57610(class_9310.java:103)
    at net.minecraft.class_9770.mixinextras$bridge$doWork$15(class_9770.java)
    at net.minecraft.class_9770.mdd612d2$c2me-threading-worldgen$lambda$wrapGenerationStep$0$0(class_9770.java:537)
    at com.ishland.c2me.base.common.scheduler.ScheduledTask.run(ScheduledTask.java:22)
    at com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:56)
    at com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:35)

-- System Details --
Details:
    Minecraft Version: 1.21
    Minecraft Version ID: 1.21
    Operating System: Linux (amd64) version 6.1.0-18-amd64
    Java Version: 22, Azul Systems, Inc.
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
    Memory: 1898938696 bytes (1810 MiB) / 5167382528 bytes (4928 MiB) up to 32212254720 bytes (30720 MiB)
    CPUs: 10
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 5 2600 Six-Core Processor
    Identifier: AuthenticAMD Family 23 Model 8 Stepping 2
    Microarchitecture: Zen+
    Frequency (GHz): -0.00
    Number of physical packages: 1
    Number of physical CPUs: 10
    Number of logical CPUs: 10
    Graphics card #0 name: Device
    Graphics card #0 vendor: Vendor (0x1234)
    Graphics card #0 VRAM (MiB): 16.00
    Graphics card #0 deviceId: 0x1111
    Graphics card #0 versionInfo: unknown
    Virtual memory max (MiB): 18021.70
    Virtual memory used (MiB): 6213.75
    Swap memory total (MiB): 0.00
    Swap memory used (MiB): 0.00
    Space in storage for jna.tmpdir (MiB): <path not set>
    Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): <path not set>
    Space in storage for io.netty.native.workdir (MiB): <path not set>
    Space in storage for java.io.tmpdir (MiB): available: 4927.02, total: 30610.81
    Space in storage for workdir (MiB): available: 4927.02, total: 30610.81
    JVM Flags: 26 total; -Xms4G -Xmx30G -Xmn2880m -XX:-ZProactive -XX:+UseCompressedOops -XX:-UsePerfData -XX:ParallelGCThreads=10 -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1
    Fabric Mods: 
        bclib: BCLib 21.0.13
        betterend: Better End 21.0.11
        betternether: Better Nether 21.0.11
        c2me: Concurrent Chunk Management Engine 0.2.0+alpha.11.109+1.21
            c2me-base: Concurrent Chunk Management Engine (Base) 0.2.0+alpha.11.109+1.21
            c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.2.0+alpha.11.109+1.21
            c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.2.0+alpha.11.109+1.21
            c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.2.0+alpha.11.109+1.21
            c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.2.0+alpha.11.109+1.21
            c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.2.0+alpha.11.109+1.21
            c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.2.0+alpha.11.109+1.21
            c2me-opts-chunk-access: Concurrent Chunk Management Engine (Optimizations/Chunk Access) 0.2.0+alpha.11.109+1.21
            c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.2.0+alpha.11.109+1.21
            c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.2.0+alpha.11.109+1.21
            c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.2.0+alpha.11.109+1.21
            c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.2.0+alpha.11.109+1.21
            c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.2.0+alpha.11.109+1.21
            c2me-rewrites-chunk-serializer: Concurrent Chunk Management Engine (Rewrites/Chunk Serializer) 0.2.0+alpha.11.109+1.21
            c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.2.0+alpha.11.109+1.21
            c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.2.0+alpha.11.109+1.21
            c2me-threading-chunkio: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.109+1.21
            c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.2.0+alpha.11.109+1.21
            c2me-threading-worldgen: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.109+1.21
            com_ibm_async_asyncutil: asyncutil 0.1.0
            net_objecthunter_exp4j: exp4j 0.4.8
            org_threadly_threadly: threadly 7.0
        chunky: Chunky 1.4.14
        dynmap: Dynmap 3.7-SNAPSHOT
        explorify: Explorify 1.6.2
        fabric-api: Fabric API 0.102.0+1.21
            fabric-api-base: Fabric API Base 0.4.42+6573ed8cd1
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.68+b5597344d1
            fabric-biome-api-v1: Fabric Biome API (v1) 13.0.29+5bd9f1bcd1
            fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1
            fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1
            fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1
            fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1
            fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1
            fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.16+b5597344d1
            fabric-convention-tags-v1: Fabric Convention Tags 2.0.19+7f945d5bd1
            fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.5.0+c5e2b5c6d1
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1
            fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.27+6a6dfa19d1
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.16+16c4ae25d1
            fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.12+ba9dae06d1
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd9d1
            fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1
            fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.4+78017270d1
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.12+6c1df360d1
            fabric-loot-api-v2: Fabric Loot API (v2) 3.0.14+3f89f5a5d1
            fabric-loot-api-v3: Fabric Loot API (v3) 1.0.2+3f89f5a5d1
            fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
            fabric-networking-api-v1: Fabric Networking API (v1) 4.2.2+60c3209bd1
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.2.0+a551f7a4d1
            fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
            fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.12+65089712d1
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.1.2+60c3209bd1
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.3.0+8dc279b1d1
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.0+56599129d1
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.86+b5597344d1
            fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.16+3dccd343d1
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.1.0+176f9036d1
        fabricloader: Fabric Loader 0.15.11
            mixinextras: MixinExtras 0.3.5
        ferritecore: FerriteCore 7.0.0
        glitchcore: GlitchCore 2.0.0.3
            com_electronwill_night-config_core: core 3.6.7
            com_electronwill_night-config_toml: toml 3.6.7
            net_jodah_typetools: typetools 0.6.3
        java: OpenJDK 64-Bit Server VM 22
        lithium: Lithium 0.13.0
        midnightlib: MidnightLib 1.6.3
        mine-spawners: mine-spawners 1.0
        minecraft: Minecraft 1.21
        modernfix: ModernFix 5.19.1+mc1.21
        mr_dungeons_andtaverns: Dungeons and Taverns 4.4
        repurposed_structures: Repurposed Structures 7.5.4+1.21-fabric
        tectonic: Tectonic 2.4.1a
        terrestria: Terrestria 7.0.0
            biolith: Biolith 3.0.0-alpha.1
            terraform-biome-remapper-api-v1: Terraform Biome Remapper API (v1) 11.0.0-alpha.1
            terraform-config-api-v1: Terraform Config API (v1) 11.0.0-alpha.1
            terraform-dirt-api-v1: Terraform Dirt API (v1) 11.0.0-alpha.1
            terraform-shapes-api-v1: Terraform Shapes API (v1) 11.0.0-alpha.1
            terraform-surfaces-api-v1: Terraform Surfaces API (v1) 11.0.0-alpha.1
            terraform-tree-api-v1: Terraform Tree API (v1) 11.0.0-alpha.1
            terraform-wood-api-v1: Terraform Wood API (v1) 11.0.0-alpha.1
            terrestria-common: Terrestria: Common 7.0.0
            terrestria-worldgen: Terrestria: World Generation 7.0.0
        wover: WorldWeaver 21.0.13
            wover-biome: WorldWeaver - Biome API 21.0.13
            wover-block: WorldWeaver - Block and Item API 21.0.13
            wover-common: WorldWeaver - Common API 21.0.13
            wover-core: WorldWeaver - Core API 21.0.13
            wover-datagen: WorldWeaver - Datagen API 21.0.13
            wover-events: WorldWeaver - Events API 21.0.13
            wover-feature: WorldWeaver - Feature API 21.0.13
            wover-generator: WorldWeaver - World Generator API 21.0.13
            wover-item: WorldWeaver - Item API 21.0.13
            wover-math: WorldWeaver - Math API 21.0.13
            wover-preset: WorldWeaver - World Preset API 21.0.13
            wover-recipe: WorldWeaver - Recipe API 21.0.13
            wover-structure: WorldWeaver - Structure API 21.0.13
            wover-surface: WorldWeaver - Surface API 21.0.13
            wover-tag: WorldWeaver - Tag API 21.0.13
            wover-ui: WorldWeaver - UI API 21.0.13
        wunderlib: WunderLib 21.0.8
        wwoo: William Wythers' Overhauled Overworld 2.3.4
    Server Running: true
    Player Count: 1 / 20; [class_3222['HallowFly'/3, l='ServerLevel[world]', x=-1769.35, y=93.00, z=112.12]]
    Active Data Packs: vanilla, fabric, bclib, betterend, betternether, explorify, fabric-convention-tags-v2, mine-spawners, mr_dungeons_andtaverns, repurposed_structures, terrestria-common, wover-generator, wover-preset, wover-surface, wover-tag, wwoo, file/name colors v1.0.4 (MC 1.20-1.20.4).zip (incompatible), file/custom nether portals v2.3.9 (MC 1.20-1.20.4).zip (incompatible), file/coordinates hud v1.2.7 (MC 1.20-1.20.4).zip (incompatible), file/coordinates hud v1.2.9 (MC 1.21-1.21.1).zip, tectonic:tectonic
    Available Data Packs: bclib, betterend, betterend:nourish_extensions, betterend:patchouli_extensions, betternether, betternether:vanilla-hammers_extensions, betternether:vanillaexcavators_extensions, bundle, explorify, fabric, fabric-convention-tags-v2, file/coordinates hud v1.2.7 (MC 1.20-1.20.4).zip (incompatible), file/coordinates hud v1.2.9 (MC 1.21-1.21.1).zip, file/custom nether portals v2.3.9 (MC 1.20-1.20.4).zip (incompatible), file/name colors v1.0.4 (MC 1.20-1.20.4).zip (incompatible), mine-spawners, mr_dungeons_andtaverns, repurposed_structures, tectonic:tectonic, terrestria-common, trade_rebalance, vanilla, wover-generator, wover-preset, wover-surface, wover-tag, wwoo
    Enabled Feature Flags: minecraft:vanilla
    World Generation: Experimental
    World Seed: 8835558712387568965
    Is Modded: Definitely; Server brand changed to 'fabric'
    Type: Dedicated Server (map_server.txt)

Other Mods

The list of mods can be found towards the bottom of the crash report above.