quiqueck / BetterNether

BetterNether Mod
https://modrinth.com/mod/betternether
Other
21 stars 32 forks source link

[Bug] Plant crashing server #25

Closed Zunwolf1896 closed 2 years ago

Zunwolf1896 commented 2 years ago

What happened?

Player exploring the nether, got to a chunk and immediately crashed the server, Reset, player joined and immediately crashed the server again. Reset the Nether, same thing.

BetterNether

7.0.2

BCLib

2.0.5

Fabric API

0.56.1

Fabric Loader

0.14.7

Minecraft

1.19

Relevant log output

---- Minecraft Crash Report ----
// Oops.

Time: 6/28/22, 4:29 PM
Description: Exception ticking world

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2248.method_9564()" because "this.plant" is null
    at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9652(BlockCommonSapling.java:97)
    at org.betterx.betternether.blocks.BlockCommonSapling.method_9652(BlockCommonSapling.java:26)
    at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9588(BlockCommonSapling.java:104)
    at org.betterx.betternether.blocks.BlockCommonSapling.method_9588(BlockCommonSapling.java:26)
    at net.minecraft.class_4970.method_9514(class_4970.java:366)
    at net.minecraft.class_4970$class_4971.method_26199(class_4970.java:947)
    at net.minecraft.class_3218.redirect$cjf000$redirectBlockStateTick(class_3218.java:10231)
    at net.minecraft.class_3218.method_18203(class_3218.java:495)
    at net.minecraft.class_3215.method_14161(class_3215.java:379)
    at net.minecraft.class_3215.method_12127(class_3215.java:323)
    at net.minecraft.class_3218.method_18765(class_3218.java:318)
    at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875)
    at net.minecraft.class_3176.method_3813(class_3176.java:289)
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
    at net.minecraft.server.MinecraftServer.handler$zmi000$modifiedRunLoop(MinecraftServer.java:3880)
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644)
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:258)
    at java.base/java.lang.Thread.run(Thread.java:833)

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

-- Head --
Thread: Server thread
Stacktrace:
    at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9652(BlockCommonSapling.java:97)
    at org.betterx.betternether.blocks.BlockCommonSapling.method_9652(BlockCommonSapling.java:26)
    at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9588(BlockCommonSapling.java:104)
    at org.betterx.betternether.blocks.BlockCommonSapling.method_9588(BlockCommonSapling.java:26)
    at net.minecraft.class_4970.method_9514(class_4970.java:366)
    at net.minecraft.class_4970$class_4971.method_26199(class_4970.java:947)
    at net.minecraft.class_3218.redirect$cjf000$redirectBlockStateTick(class_3218.java:10231)
    at net.minecraft.class_3218.method_18203(class_3218.java:495)
    at net.minecraft.class_3215.method_14161(class_3215.java:379)
    at net.minecraft.class_3215.method_12127(class_3215.java:323)
    at net.minecraft.class_3218.method_18765(class_3218.java:318)

-- Affected level --
Details:
    All players: 2 total; [class_3222['Vandiu'/690, l='ServerLevel[Zunwolf5]', x=-1402.07, y=90.00, z=-0.21], class_3222['AnomalousCrow'/911, l='ServerLevel[Zunwolf5]', x=-767.49, y=110.00, z=-739.79]]
    Chunk stats: 6984
    Level dimension: minecraft:overworld
    Level spawn location: World: (0,68,0), Section: (at 0,4,0 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
    Level time: 9926562 game time, 5881446 day time
    Level name: Zunwolf5
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Level weather: Rain time: 100713 (now: false), thunder time: 59901 (now: false)
    Known server brands: fabric
    Level was modded: true
    Level storage version: 0x04ABD - Anvil
Stacktrace:
    at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875)
    at net.minecraft.class_3176.method_3813(class_3176.java:289)
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
    at net.minecraft.server.MinecraftServer.handler$zmi000$modifiedRunLoop(MinecraftServer.java:3880)
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644)
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:258)
    at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details --
Details:
    Minecraft Version: 1.19
    Minecraft Version ID: 1.19
    Operating System: Linux (amd64) version 4.18.0-348.7.1.el8_5.x86_64
    Java Version: 17.0.3, Eclipse Adoptium
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
    Memory: 5054169088 bytes (4820 MiB) / 6979321856 bytes (6656 MiB) up to 10737418240 bytes (10240 MiB)
    CPUs: 2
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 7 5800X 8-Core Processor
    Identifier: AuthenticAMD Family 25 Model 33 Stepping 0
    Microarchitecture: Zen 3
    Frequency (GHz): -0.00
    Number of physical packages: 1
    Number of physical CPUs: 8
    Number of logical CPUs: 16
    Graphics card #0 name: unknown
    Graphics card #0 vendor: unknown
    Graphics card #0 VRAM (MB): 0.00
    Graphics card #0 deviceId: unknown
    Graphics card #0 versionInfo: unknown
    Virtual memory max (MB): 81698.59
    Virtual memory used (MB): 89743.20
    Swap memory total (MB): 17407.99
    Swap memory used (MB): 3348.15
    JVM Flags: 20 total; -Xmx10240M -Xms6656M -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
    Fabric Mods: 
        additionalbanners: AdditionalBanners 8.0.1
        additionalstructures: Additional Structures 4.0.0
        adorn: Adorn 3.5.4+1.19
        advancednetherite: Advanced Netherite 1.6.0-1.19
        alloy_forgery: Alloy Forgery 2.0.14+1.19
        animal_origins_18: Animal Origins 1.0.0
        antixray: AntiXray 1.2.2
            com_moandjiezana_toml_toml4j: toml4j 0.7.2
        appleskin: AppleSkin 2.4.0+mc1.19
        architectury: Architectury 5.7.28
        attributefix: AttributeFix 15.0.1
        awesomedungeonend: Awesome Dungeon Edition end 1.0.2
        awesomedungeonnether: Awesome Dungeon Edition Nether 1.0.2
        awesomedungeonocean: Awesome Dungeon Edition Ocean 2.0.7
        badpackets: Bad Packets 0.1.2
        banhammer: BanHammer 0.5.2+1.19
            club_minnced_discord-webhooks: discord-webhooks 0.8.0
            com_squareup_okhttp3_okhttp: okhttp 3.14.9
            com_squareup_okio_okio: okio 1.17.2
            fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
            mysql_mysql-connector-java: mysql-connector-java 8.0.29
            org_jetbrains_annotations: annotations 22.0.0
            org_json_json: json 20210307
            org_slf4j_slf4j-api: slf4j-api 1.7.32
            org_xerial_sqlite-jdbc: sqlite-jdbc 3.36.0.3
            sgui: sgui 1.1.0+1.19
        bclib: BCLib 2.0.5
        beaconoverhaul: Beacon Overhaul 1.7.0+1.19
            fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9
            fabric-networking-api-v1: Fabric Networking API (v1) 1.0.27+7fe97409a9
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.16+92cf9a3ea9
            reach-entity-attributes: Reach Entity Attributes 2.3.0
        beo: Basic End Ores 1.19-3.0.0-Fabric
        better_bad_omen: Better Bad Omen 1.4.0
        betteranimalsplus: Better Animals Plus 1.19-11.0.6
        betterechoshards: Better Echo Shards 1.1
        betternether: Better Nether 7.0.2
        bettervillage: Better Village 1.0.1
        bitsandchisels: BitsAndChisels 2.7.0
            stacc: Stacc 1.3.4
        blockus: Blockus 2.5.0+1.19-rc2
            terraform-wood-api-v1: Terraform Wood API (v1) 4.0.0-alpha.4
        bno: Basic Nether Ores 1.19-8.0.0-Fabric
        bookshelf: Bookshelf 14.0.3
        carpet: Carpet Mod 1.4.79
        cave_enhancements: Cave Enhancements 1.2.5
        chunky: Chunky 1.2.202
        cloth-config: Cloth Config v6 7.0.72
            cloth-basic-math: cloth-basic-math 0.6.1
        clumps: Clumps 9.0.0+3
        collective-fabric: Collective (Fabric) 4.27
            fiber: fiber 0.23.0-2
        cotw: Curse Of The Warden 1.0.0
        craftycuisine: Crafty Cuisine 1.1.0
        crawl: Crawl 0.11.0
        croptopia: Croptopia 2.0.6
            com_typesafe_config: config 1.4.1
            io_leangen_geantyref_geantyref: geantyref 1.3.11
            org_spongepowered_configurate-core: configurate-core 4.1.2
            org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
        ctov: ChoiceTheorem's Overhauled Villages 3.0
        darkpaintings: DarkPaintings 11.0.2
        dcintegration-fabric: Discord Integration Fabric 2.4.5
            de_erdbeerbaerlp_dcintegration_common: dcintegration.common 2.4.5
        deathlog: DeathLog 0.2.10+1.19
        dual_riders: Dual Riders 1.1.1
        ecologics: Ecologics 2.1.1
        economical_villager_trading: Economical Villager Trading 1.2.6
            crowdin-translate: CrowdinTranslate 1.4+1.19
        ellemes_container_lib: Ellemes' Container Library 2.0.0-beta.4
        emerald_tools: Emerald Tools 1.4.14
            pugh_tools: Pugh Tools 1.3.10
        enderscape: Enderscape 0.3.2
        endrem: End Remastered 5.1.0
        essential_commands: Essential Commands 0.24.1-mc1.19
            com_fasterxml_jackson_dataformat_jackson-dataformat-yaml: jackson-dataformat-yaml 2.13.0
            ec-core: Essential Commands Core 1.0.1-mc1.19
            playerabilitylib: Pal 1.6.0
        expandedstorage: Expanded Storage 8.0.0-beta.4
        experiencebugfix: Experience Bug Fix 18
        extradiscs: Extra Discs 1.0.2
        extrakeybinds: ThatRobins Extra Origins Keybinds 0.3.0
        extraorigins: Extra Origins 1.19-1
        fabric: Fabric API 0.56.1+1.19
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9
            fabric-biome-api-v1: Fabric Biome API (v1) 9.0.14+b2a4a624a9
            fabric-command-api-v1: Fabric Command API (v1) 1.2.6+f71b366fa9
            fabric-command-api-v2: Fabric Command API (v2) 2.1.2+0d55f585a9
            fabric-commands-v0: Fabric Commands (v0) 0.2.23+df3654b3a9
            fabric-containers-v0: Fabric Containers (v0) 0.1.27+df3654b3a9
            fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.1+82552130a9
            fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.1.0+a680b9b4a9
            fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.27+72da3b3da9
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9
            fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.25+df3654b3a9
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9
            fabric-item-api-v1: Fabric Item API (v1) 1.5.4+767db26ea9
            fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.24+9ff28f40a9
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9
            fabric-loot-api-v2: Fabric Loot API (v2) 1.0.2+9e7660c6a9
            fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.2+9e7660c6a9
            fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9
            fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.9+33fbc738a9
            fabric-networking-v0: Fabric Networking (v0) 0.3.14+df3654b3a9
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.6+9ff28f40a9
            fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.6+9ff28f40a9
            fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9
        fabric-language-kotlin: Fabric Language Kotlin 1.8.0+kotlin.1.7.0
            org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.0
            org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.0
            org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.0
            org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.0
            org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.17.3
            org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.2
            org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.2
            org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.3.3
            org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.3
            org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.3
            org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.3
        fabricloader: Fabric Loader 0.14.8
        fancyclear: FancyClear 1.3.3
        fishofthieves: Fish of Thieves 2.0.2
        flytre_lib: FlytreLib 1.8.6
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.4+db8596f1a9
        friendsandfoes: Friends&Foes 1.5.4
            mm: Manningham Mills 2.3
        ftbchunks: FTB Chunks 1900.3.7-build.154
        ftblibrary: FTB Library 1900.3.7-build.131
        ftbteams: FTB Teams 1900.2.7-build.56
        fwaystones: Fabric Waystones 3.0.1+mc1.19
        geckolib3: Geckolib 3.1.3
            com_eliotlash_mclib_mclib: mclib 18
            com_eliotlash_molang_molang: molang 18
        guardvillagers: Guard Villagers Fabric 1.19-1.0.14
        herdspanic: Herds Panic 1.0.6
        hopobetterunderwaterruins: Hopo Better Underwater Ruins 1.0.7
        htm: Hey That's Mine 1.1.5
        immersive_weathering: Immersive Weathering 1.0.1-1.19_SNAPSHOT
        invview: InvView 1.4.9-1.19+
        java: OpenJDK 64-Bit Server VM 17
        jei: Just Enough Items 11.0.0.206
        jej: Just Enough Juices 1.0.0
        justplayerheads-fabric: Just Player Heads (Fabric) 2.1
        ledger: Ledger 1.2.5
            server_translations_api: Server Translations API 1.4.14+1.19-rc2
                packet_tweaker: Packet Tweaker 0.3.0+1.18.2
        ledger-databases: Ledger Databases 1.1.1
            com_h2database_h2: h2 1.4.200
            org_postgresql_postgresql: postgresql 42.3.0
        libraryferret: Library Ferret 1.0.3
        lithium: Lithium 0.8.0
        logprot: Logprot Mod 1.19-1.6
        luckperms: LuckPerms 5.4.28
        mavm: More Axolotl Variants Mod 1.0.8a
        mcda: MC Dungeons Armors 2.1.0
        mcdw: MC Dungeons Weapons 4.4.0-1.19
            enchant_giver: Enchant Giver 1.3.0
        mcwbridges: Macaw's Bridges 2.0.3
        mcwdoors: Macaw's Doors 1.0.6
        mcwfences: Macaw's Fences and Walls 1.0.5
        mcwlights: Macaw's Lights and Lamps 1.0.3
        mcwpaintings: Macaw's Paintings 1.0.3
        mcwroofs: Macaw's Roofs 2.1.2
        mcwtrpdoors: Macaw's Trapdoors 1.0.5
        mcwwindows: Macaw's Windows 2.0.3
        medievalorigins: Medieval Origins 1.19.x-4.1.1
        midnightlib: MidnightLib 0.5.2
        minecraft: Minecraft 1.19
        mob_catcher: Mob Catcher 1.2.2
        moborigins: Mob Origins 1.9.0
        mobs_attempt_parkour: Mobs Attempt Parkour 0.3-1.19-pre1
            maelstrom_library: Maelstrom Library 1.3-1.19-pre1
        modid: Creatures Of The Snow 2.2.0+1.19
        moreblockbricks: More Block Bricks 1.4.0
        naturalist: Naturalist 2.0.1
        naturescompass: Nature's Compass 1.19-2.0.4-fabric
        nears: Nears 1.2.0
        nomobfarm: No Mob Farm 1.6.3
        origins: Origins 1.6.1
            apoli: Apoli 2.5.0
                additionalentityattributes: Additionalentityattributes 1.0.0+1.19
                calio: Calio 1.7.0
        owo: oωo 0.7.3+1.19
        patchouli: Patchouli 1.19-73-FABRIC
        pehkui: Pehkui 3.3.2+1.14.4-1.19
            kanos_config: Kanos Config 0.3.1+1.14.4-1.19
        phantomsseephantoms: Phantoms See Phantoms 1.0.0
        phosphor: Phosphor 0.8.1
        player_events: Player Events 2.3.1
            placeholder-api: Placeholder API 2.0.0-beta.6+1.19
            player_events_api: Player Events API 2.3.1
        pvptoggle: Pvp Toggle 1.0.6
        rocks: This Rocks! 1.6.1
        short_grass: Short Grass 1.1.0
        spark: spark 1.9.13
        stackrefill-fabric: Stack Refill (Fabric) 2.2
        styledplayerlist: Styled Player List 2.2.1+1.19
            player-data-api: Player Data API 0.1.0+1.18
        terrablender: TerraBlender 2.0.0.112
            com_electronwill_night-config_core: core 3.6.4
            com_electronwill_night-config_toml: toml 3.6.4
        toofast: TooFast 1.0.0
        trinkets: Trinkets 3.4.0
            cardinal-components-base: Cardinal Components API (base) 5.0.0-beta.1
            cardinal-components-entity: Cardinal Components API (entities) 5.0.0-beta.1
        unsaddle: Unsaddle 0.1.0+1.17
            unsaddle-core: Unsaddle Core 0.1.0
        voicechat: Simple Voice Chat 1.19-2.2.45
        whisperwoods: Whisperwoods 1.19-2.1.0
        wthit: wthit 5.4.3
        xaerominimap: Xaero's Minimap 22.9.3
        xaeroworldmap: Xaero's World Map 1.23.3
        yigd: You're in Grave Danger 1.4.1-beta.1
    Server Running: true
    Player Count: 2 / 1337; [class_3222['Vandiu'/690, l='ServerLevel[Zunwolf5]', x=-1402.07, y=90.00, z=-0.21], class_3222['AnomalousCrow'/911, l='ServerLevel[Zunwolf5]', x=-767.49, y=110.00, z=-739.79]]
    Data Packs: vanilla, Fabric Mods, file/GiantOrigin-1.19v1.zip (incompatible), file/MonkeyOrigin-1.19v1.zip (incompatible), file/Sculkborn_1.2.zip, file/TadpolefrogDontUnzip.zip (incompatible), file/TheSculker_5.0_1.19_Datapack.zip, file/Pocket_Dragon_V7.zip, file/Hellchained_v0.4.1.zip
    World Generation: Stable
    Is Modded: Definitely; Server brand changed to 'fabric'
    Type: Dedicated Server (map_server.txt)

Other Mods

No response

quiqueck commented 2 years ago

Duplicate of https://github.com/quiqueck/BetterNether/issues/8