BetterNether

BetterNether

30M Downloads

[Bug] Plant Sapling Crashing Server

ProSabre opened this issue ยท 3 comments

commented

What happened?

Hi,

I appear to be having an issue where my server keeps crashing due to a ticking world caused by a soul lily sapling.
I have attached the crash report generated by the server.
I also had a crash occur yesterday (27th of June) due to a Naga Projectile. If you also require this crash log I can upload it.

Kind Regards

BetterNether

7.0.2

BCLib

2.0.5

Fabric API

0.56.3

Fabric Loader

0.14.8

Minecraft

1.19

Relevant log output

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 6/28/22, 5:55 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.BlockSoulLilySapling.method_9652(BlockSoulLilySapling.java:11)
	at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9588(BlockCommonSapling.java:104)
	at org.betterx.betternether.blocks.BlockSoulLilySapling.method_9588(BlockSoulLilySapling.java:11)
	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$bfn000$redirectBlockStateTick(class_3218.java:8231)
	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.method_29741(MinecraftServer.java:665)
	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.BlockSoulLilySapling.method_9652(BlockSoulLilySapling.java:11)
	at org.betterx.betternether.blocks.BaseBlockCommonSapling.method_9588(BlockCommonSapling.java:104)
	at org.betterx.betternether.blocks.BlockSoulLilySapling.method_9588(BlockSoulLilySapling.java:11)
	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$bfn000$redirectBlockStateTick(class_3218.java:8231)
	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: 1 total; [class_3222['MallikSP'/556, l='ServerLevel[Max_Matt Part 2]', x=346.17, y=40.00, z=438.43]]
	Chunk stats: 2809
	Level dimension: minecraft:the_nether
	Derived: true
	Level spawn location: World: (-195,68,500), Section: (at 13,4,4 in -13,4,31; chunk contains blocks -208,0,496 to -193,255,511), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 36232406 game time, 11115359 day time
	Level name: Max_Matt Part 2
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Level weather: Rain time: 89787 (now: false), thunder time: 22307 (now: false)
	Known server brands: vanilla, 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.method_29741(MinecraftServer.java:665)
	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 3.10.0-1160.36.2.el7.x86_64
	Java Version: 17.0.3, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 859562624 bytes (819 MiB) / 2793406464 bytes (2664 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 2
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 7 3800X 8-Core Processor
	Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
	Microarchitecture: Zen 2
	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): 81788.16
	Virtual memory used (MB): 92196.47
	Swap memory total (MB): 17405.99
	Swap memory used (MB): 1786.03
	JVM Flags: 20 total; -Xmx4096M -Xms2662M -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: 
		architectury: Architectury 5.7.28
		armorposer: Armor Poser 1.1.0
		bclib: BCLib 2.0.5
		better_runtime_resource_pack: Better Runtime Resource Pack 0.7.0
			advanced_runtime_resource_pack: Advanced Runtime Resource Pack 0.6.2
		betteranimalsplus: Better Animals Plus 1.19-11.0.6
		betterend: Better End 2.0.2
		bettermending: Better Mending 1.2.0+1.19
			midnightlib: MidnightLib 0.5.2
		betternether: Better Nether 7.0.2
		bosses_of_mass_destruction: Bosses of Mass Destruction (Beta) 1.4.1-1.19
			maelstrom_library: Maelstrom Library 1.3-1.19-pre1
			multipart_entities: MultipartEntities 1.2-1.19-pre1
		cardinal-components: Cardinal Components API 5.0.0-beta.1
			cardinal-components-base: Cardinal Components API (base) 5.0.0-beta.1
			cardinal-components-block: Cardinal Components API (blocks) 5.0.0-beta.1
			cardinal-components-chunk: Cardinal Components API (chunks) 5.0.0-beta.1
			cardinal-components-entity: Cardinal Components API (entities) 5.0.0-beta.1
			cardinal-components-item: Cardinal Components API (items) 5.0.0-beta.1
			cardinal-components-level: Cardinal Components API (world saves) 5.0.0-beta.1
			cardinal-components-scoreboard: Cardinal Components API (scoreboard) 5.0.0-beta.1
			cardinal-components-world: Cardinal Components API (worlds) 5.0.0-beta.1
		cloth-config: Cloth Config v6 7.0.72
			cloth-basic-math: cloth-basic-math 0.6.1
		collective-fabric: Collective (Fabric) 4.27
			fiber: fiber 0.23.0-2
		columns: Columns 1.5.1
		disenchanter: Disenchanter 0.1.7+1.19
		editsign: EditSign 2.4.1
		explorerscompass: Explorer's Compass 1.19-2.1.1-fabric
		extshape: Extended Block Shapes 1.5.2
		fabric: Fabric API 0.56.3+1.19
			fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9
			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.1+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-api-v1: Fabric Networking API (v1) 1.0.27+7fe97409a9
			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-registry-sync-v0: Fabric Registry Sync (v0) 0.9.17+23c4cfefa9
			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-resource-loader-v0: Fabric Resource Loader (v0) 0.5.4+db8596f1a9
			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
		fallingtree: FallingTree 3.6.1
		ferritecore: FerriteCore 4.2.1
		flytre_lib: FlytreLib 1.8.6
		fractalportals: FractalPortals 1.3.3
			customportalapi: Custom Portal Api 0.0.1-beta51-1.19
		friendsandfoes: Friends&Foes 1.5.4
			mm: Manningham Mills 2.3
		fwaystones: Fabric Waystones 3.0.1+mc1.19
		geckolib3: Geckolib 3.1.4
			com_eliotlash_mclib_mclib: mclib 18
			com_eliotlash_molang_molang: molang 18
		inventorysorter: Inventory Sorter 1.8.8-1.19
		ironchests: Iron Chests: Restocked 3.0.2
		java: OpenJDK 64-Bit Server VM 17
		lithium: Lithium 0.8.0
		mavm: More Axolotl Variants Mod 1.0.8a
		mcwbridges: Macaw's Bridges 2.0.3
		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
		mcwpaths: Macaw's Paths and Pavings 1.0.0
		mcwwindows: Macaw's Windows 2.0.3
		minecraft: Minecraft 1.19
		mob_catcher: Mob Catcher 1.2.2
		nametagtweaks-fabric: Name Tag Tweaks (Fabric) 1.9
		naturescompass: Nature's Compass 1.19-2.0.4-fabric
		noexpensive: NoExpensive 1.19-Fabric-1.3.0
		our_villager_discounts: Our Villager Discounts 1.19+build.1
		phosphor: Phosphor 0.8.1
		pipe: Pipe 1.8.2
		spawnermod: Enhanced Mob Spawners 1.1.3
		taxfreelevels: Tax Free Levels 1.3
		upgradedshulkers: Upgraded Shulkers 1.1.2-1.19
			kyrptconfig: Kyrpt Config 1.4.6-1.19
				blue_endless_jankson: jankson 1.2.1
			shulkerutils: shulkerutils 1.0.4-1.18
		yigd: You're in Grave Danger 1.4.1-beta.1
	Server Running: true
	Player Count: 2 / 10; [class_3222['ProSabre'/479, l='ServerLevel[Max_Matt Part 2]', x=-122.02, y=90.00, z=543.86], class_3222['MallikSP'/556, l='ServerLevel[Max_Matt Part 2]', x=346.17, y=40.00, z=438.43]]
	Data Packs: vanilla, Fabric Mods
	World Generation: Experimental
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)

Other Mods

No response

commented

Getting the same issue on our server, has forced me to bring the server down for the time being

commented

This is the same issue I have here; #25

commented

Duplicate of #8