1.20.1/1.21.1 Fruitblock Supplier Null Crash
D4aku opened this issue · 6 comments
Well, just been playing some mods when encountering an error that is persistent even when I restart the server
[08:06:19] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception ticking world
at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1025) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3176.method_3813(class_3176.java:299) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) ~[server-intermediary.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.function.Supplier.get()" because "this.fruitBlock" is null
at knot/net.potionstudios.biomeswevegone.world.level.block.plants.tree.leaves.BWGFruitLeavesBlock.method_9514(BWGFruitLeavesBlock.java:32) ~[Oh-The-Biomes-Weve-Gone-Fabric-2.2.0.jar:?]
at knot/net.minecraft.class_4970$class_4971.method_26199(class_4970.java:1153) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3218.redirect$bio000$lithium$redirectBlockStateTick(class_3218.java:8289) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3218.method_18203(class_3218.java:519) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3215.method_14161(class_3215.java:365) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3215.method_12127(class_3215.java:310) ~[server-intermediary.jar:?]
at knot/net.minecraft.class_3218.method_18765(class_3218.java:350) ~[server-intermediary.jar:?]
at knot/net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ~[server-intermediary.jar:?]
... 5 more
Using Fabric 0.16.7 and Minecraft 1.21.1
Just had the same issue in single player and couldn't load into the world again.
Directly from 13b6dc3
I thought I tested it enough to know it works all the time but apparently not,
I will send out a patch to fix this later, is there anything else happening at the time this happens?
Directly from 13b6dc3 I thought I tested it enough to know it works all the time but apparently not, I will send out a patch to fix this later, is there anything else happening at the time this happens?
With this information, you probably will be able to recreate the exact crash and do testing. If you want I can provide the Curseforge instances, just hmu
crash-server.txt
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 2024-11-02 15:59:41
Description: Exception ticking world
java.lang.NullPointerException: Cannot invoke "java.util.function.Supplier.get()" because "this.fruitBlock" is null
at knot//net.potionstudios.biomeswevegone.world.level.block.plants.tree.leaves.BWGFruitLeavesBlock.method_9514(BWGFruitLeavesBlock.java:32)
at knot//net.minecraft.class_4970$class_4971.method_26199(class_4970.java:1153)
at knot//net.minecraft.class_3218.redirect$bio000$lithium$redirectBlockStateTick(class_3218.java:8289)
at knot//net.minecraft.class_3218.method_18203(class_3218.java:519)
at knot//net.minecraft.class_3215.method_14161(class_3215.java:365)
at knot//net.minecraft.class_3215.method_12127(class_3215.java:310)
at knot//net.minecraft.class_3218.method_18765(class_3218.java:350)
at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021)
at knot//net.minecraft.class_3176.method_3813(class_3176.java:299)
at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Thread.java:1583)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at knot//net.potionstudios.biomeswevegone.world.level.block.plants.tree.leaves.BWGFruitLeavesBlock.method_9514(BWGFruitLeavesBlock.java:32)
at knot//net.minecraft.class_4970$class_4971.method_26199(class_4970.java:1153)
at knot//net.minecraft.class_3218.redirect$bio000$lithium$redirectBlockStateTick(class_3218.java:8289)
at knot//net.minecraft.class_3218.method_18203(class_3218.java:519)
at knot//net.minecraft.class_3215.method_14161(class_3215.java:365)
at knot//net.minecraft.class_3215.method_12127(class_3215.java:310)
-- Affected level --
Details:
All players: 1 total; [class_3222['Anonymized'/3, l='ServerLevel[world]', x=-312.08, y=97.00, z=188.61]]
Chunk stats: 2564
Level dimension: minecraft:overworld
Level spawn location: World: (0,75,0), Section: (at 0,11,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: 48169 game time, 29646 day time
Level name: world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
Level weather: Rain time: 30176 (now: false), thunder time: 110693 (now: false)
Known server brands: fabric
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Loaded entity count: 169
Stacktrace:
at knot//net.minecraft.class_3218.method_8538(class_3218.java:1693)
at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1024)
at knot//net.minecraft.class_3176.method_3813(class_3176.java:299)
at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912)
at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281)
at java.base/java.lang.Thread.run(Thread.java:1583)
-- System Details --
Details:
Minecraft Version: 1.21.1
Minecraft Version ID: 1.21.1
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.1, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 414067480 bytes (394 MiB) / 1293942784 bytes (1234 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 20
Processor Vendor: GenuineIntel
Processor Name: 13th Gen Intel(R) Core(TM) i5-13600KF
Identifier: Intel64 Family 6 Model 183 Stepping 1
Microarchitecture: Raptor Lake
Frequency (GHz): 3.49
Number of physical packages: 1
Number of physical CPUs: 14
Number of logical CPUs: 20
Graphics card #0 name: NVIDIA GeForce RTX 4070
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 12282.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.15.6094
Memory slot #0 capacity (MiB): 8192.00
Memory slot #0 clockSpeed (GHz): 2.13
Memory slot #0 type: DDR4
Memory slot #1 capacity (MiB): 8192.00
Memory slot #1 clockSpeed (GHz): 2.13
Memory slot #1 type: DDR4
Virtual memory max (MiB): 34651.91
Virtual memory used (MiB): 23611.09
Swap memory total (MiB): 18432.00
Swap memory used (MiB): 838.23
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: 2594.76, total: 976003.00
Space in storage for workdir (MiB): available: 87950.69, total: 238473.00
JVM Flags: 1 total; -Xmx4G
Fabric Mods:
almostunified: AlmostUnified 1.21.1-1.2.2
alternate-current: Alternate Current 1.9.0
balm-fabric: Balm 21.0.20
kuma_api: KumaAPI 21.0.5-SNAPSHOT
bclib: BCLib 21.0.13
betterdeserttemples: YUNG's Better Desert Temples 1.21.1-Fabric-4.1.2
betterdungeons: YUNG's Better Dungeons 1.21.1-Fabric-5.1.2
betterend: Better End 21.0.11
betterenddelight: BetterEnd Dlight 1.0.0.2-1.21.x
betterendisland: YUNG's Better End Island 1.21.1-Fabric-3.1.1
betterfortresses: YUNG's Better Nether Fortresses 1.21.1-Fabric-3.1.2
betterjungletemples: YUNG's Better Jungle Temples 1.21.1-Fabric-3.1.1
bettermineshafts: YUNG's Better Mineshafts 1.21.1-Fabric-5.1.1
betteroceanmonuments: YUNG's Better Ocean Monuments 1.21.1-Fabric-4.1.1
betterstrongholds: YUNG's Better Strongholds 1.21.1-Fabric-5.1.2
betterwitchhuts: YUNG's Better Witch Huts 1.21.1-Fabric-4.1.1
biomes_o_bark: BiomesOBark 1.21.1-4.0
biomesoplenty: BiomesOPlenty 21.1.0.7
biomeswevegone: Oh The Biomes We've Gone 2.2.0
cloth-config: Cloth Config v15 15.0.140
cloth-basic-math: cloth-basic-math 0.6.1
connectivity: Connectivity Mod 1.21-5.8
corgilib: CorgiLib 5.0.0.2
com_electronwill_night-config_core: core 3.8.0
com_electronwill_night-config_toml: toml 3.8.0
cristellib: Cristel Lib 1.2.8
blue_endless_jankson: jankson 1.2.3
ctov: ChoiceTheorem's Overhauled Village 3.5.3a
cupboard: cupboard 1.21-2.7
fabric-api: Fabric API 0.107.0+1.21.1
fabric-api-base: Fabric API Base 0.4.42+6573ed8c19
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.69+b559734419
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.30+be1ed2d719
fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a719
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8c19
fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366f19
fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd919
fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b319
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.17+b559734419
fabric-convention-tags-v1: Fabric Convention Tags 2.1.1+7f945d5b19
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.9.1+7fd4837519
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a719
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.2.0+e49211d819
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.22+16c4ae2519
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b9919
fabric-entity-events-v1: Fabric Entity Events (v1) 1.7.0+2122d82819
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.13+ba9dae0619
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd919
fabric-item-api-v1: Fabric Item API (v1) 11.1.1+d5debaed19
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.6+6823f7cd19
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.4.0+0f6c53cd19
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.15+3f89f5a519
fabric-loot-api-v3: Fabric Loot API (v3) 1.0.3+3f89f5a519
fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8c19
fabric-networking-api-v1: Fabric Networking API (v1) 4.3.0+c7469b2119
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.2.1+40875a9319
fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8c19
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.13+6508971219
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.1.3+60c3209b19
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2e19
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+1daea21519
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.3.0+8dc279b119
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.1+5b5275af19
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.87+b559734419
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.4.1+95bead5f19
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.1.0+1daea21519
fabricloader: Fabric Loader 0.16.7
mixinextras: MixinExtras 0.4.1
farmersdelight: Farmer's Delight 1.21-2.1.10+refabricated
mm: Manningham Mills 2.3
porting_lib_base: Porting Lib Base 3.1.0-beta+fdrf.1+1.21
porting_lib_accessors: Porting Lib Accessors 3.1.0-beta+fdrf.1+1.21
porting_lib_asm: Porting Lib ASM 3.1.0-beta+fdrf.1+1.21
porting_lib_attributes: Porting Lib Attributes 3.1.0-beta+fdrf.1+1.21
porting_lib_common: Porting Lib Common 3.1.0-beta+fdrf.1+1.21
porting_lib_entity: Porting Lib Entity 3.1.0-beta+fdrf.1+1.21
porting_lib_extensions: Porting Lib Extensions 3.1.0-beta+fdrf.1+1.21
porting_lib_fluids: Porting Lib Fluids 3.1.0-beta+fdrf.1+1.21
porting_lib_gui_utils: Porting Lib Gui Utils 3.1.0-beta+fdrf.1+1.21
porting_lib_mixin_extensions: Porting Lib Mixin Extensions 3.1.0-beta+fdrf.1+1.21
porting_lib_tags: Porting Lib Tags 3.0
porting_lib_transfer: Porting Lib Transfer 3.1.0-beta+fdrf.1+1.21
porting_lib_config: Porting Lib Config 3.1.0-beta+fdrf.1+1.21
porting_lib_item_abilities: Porting Lib Item Abilities 3.1.0-beta+fdrf.1+1.21
porting_lib_blocks: Porting Lib Blocks 3.1.0-beta+fdrf.1+1.21
porting_lib_core: Porting Lib Core 3.1.0-beta+fdrf.1+1.21
porting_lib_gametest: Porting Lib GameTest 3.1.0-beta+fdrf.1+1.21
porting_lib_level_events: Porting Lib Level Events 3.1.0-beta+fdrf.1+1.21
porting_lib_lazy_registration: Porting Lib Lazy Register 3.1.0-beta+fdrf.1+1.21
porting_lib_loot: Porting Lib Loot 3.1.0-beta+fdrf.1+1.21
porting_lib_conditions: Porting Lib Conditions 3.1.0-beta+fdrf.1+1.21
porting_lib_recipe_book_categories: Porting Lib Recipe Book Categories 3.1.0-beta+fdrf.1+1.21
geckolib: GeckoLib 4 4.6.6
glitchcore: GlitchCore 2.1.0.0
net_jodah_typetools: typetools 0.6.3
java: Java HotSpot(TM) 64-Bit Server VM 21
jei: Just Enough Items 19.8.4.113
journeymap: Journeymap 1.21.1-6.0.0-beta.29
ar_com_hjg_pngj: pngj 2.1.0
commonnetworking: Common Network 1.0.16-1.21.1
journeymap-api-fabric: JourneyMap API 2.0.0-1.21.1-SNAPSHOT
liby: Liby 1.21.1-build-1.3
org_javassist_javassist: javassist 3.29.2-GA
org_reflections_reflections: reflections 0.10.2
lithium: Lithium 0.13.1
lithostitched: Lithostitched 1.3.4
minecraft: Minecraft 1.21.1
mr_farmers_cuttingbiomesoplenty: Farmer's Cutting: Biomes O' Plenty 1.21-2.0.0-fabric
mr_farmers_cuttingohthebiomeswevegone: Farmer's Cutting: Oh The Biomes We've Gone 1.21.1-2.0-fabric
mr_farmers_cuttingterrestria: Farmer's Cutting: Terrestria 1.21.1-1.0
ohthetreesyoullgrow: Oh The Trees You'll Grow 5.0.3
recipeessentials: recipeessentials Mod 1.21-3.8
seasons: Fabric Seasons 2.4.2-BETA+1.21
seasonsdelightcompat: Fabric Seasons: Delight Compat 1.0-1.3.9
seasonsextras: Fabric Seasons: Extras 1.3.2-BETA+1.21
seasonsterralithcompat: Fabric Seasons: Terralith Compat 1.0-2.3.7
sereneseasons: SereneSeasons 10.1.0.1
simplemod: SimpleMod 1.21.1
smoothchunk: Smooth chunk save Mod 1.21-3.6
structory: Structory 1.3.7
structory_towers: Structory: Towers 1.0.9
structureessentials: Structure Essentials Mod 1.21-3.4
t_and_t: Towns and Towers 1.13.2
terrablender: TerraBlender 4.1.0.5
terralith: Terralith 2.5.6
terrestria: Terrestria 7.0.1
biolith: Biolith 3.0.0
terraform-biome-remapper-api-v1: Terraform Biome Remapper API (v1) 11.0.0
terraform-config-api-v1: Terraform Config API (v1) 11.0.0
terraform-dirt-api-v1: Terraform Dirt API (v1) 11.0.0
terraform-shapes-api-v1: Terraform Shapes API (v1) 11.0.0
terraform-surfaces-api-v1: Terraform Surfaces API (v1) 11.0.0
terraform-tree-api-v1: Terraform Tree API (v1) 11.0.0
terraform-wood-api-v1: Terraform Wood API (v1) 11.0.0
terrestria-common: Terrestria: Common 7.0.1
terrestria-worldgen: Terrestria: World Generation 7.0.1
treebark: TreeBark 1.21.1-4.3
waystones: Waystones 21.1.5
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
yungsapi: YUNG's API 1.21.1-Fabric-5.1.2
yungsbridges: YUNG's Bridges 1.21.1-Fabric-5.1.1
yungsextras: YUNG's Extras 1.21.1-Fabric-5.1.1
Server Running: true
Player Count: 1 / 20; [class_3222['Anonymized'/3, l='ServerLevel[world]', x=-312.08, y=97.00, z=188.61]]
Active Data Packs: vanilla, fabric, balm-fabric (incompatible), bclib, betterdeserttemples (incompatible), betterdungeons (incompatible), betterend, betterenddelight, betterendisland (incompatible), betterfortresses (incompatible), betterjungletemples (incompatible), bettermineshafts (incompatible), betteroceanmonuments (incompatible), betterstrongholds (incompatible), betterwitchhuts (incompatible), biomes_o_bark, biomesoplenty (incompatible), biomeswevegone, ctov, fabric-convention-tags-v2, farmersdelight, lithostitched, mr_farmers_cuttingbiomesoplenty, mr_farmers_cuttingohthebiomeswevegone, mr_farmers_cuttingterrestria, ohthetreesyoullgrow, porting_lib_base, porting_lib_gametest, porting_lib_item_abilities, porting_lib_tags, seasons, seasonsdelightcompat, seasonsextras, sereneseasons (incompatible), simplemod, structory, structory_towers, t_and_t, terrablender (incompatible), terralith, terrestria-common, treebark, waystones (incompatible), wover-generator, wover-preset, wover-surface, wover-tag, yungsbridges (incompatible), yungsextras (incompatible), towns_and_towers:resources/t_and_t_waystones_patch
Available Data Packs: balm-fabric (incompatible), bclib, betterdeserttemples (incompatible), betterdungeons (incompatible), betterend, betterend:nourish_extensions, betterend:patchouli_extensions, betterenddelight, betterendisland (incompatible), betterfortresses (incompatible), betterjungletemples (incompatible), bettermineshafts (incompatible), betteroceanmonuments (incompatible), betterstrongholds (incompatible), betterwitchhuts (incompatible), biomes_o_bark, biomesoplenty (incompatible), biomeswevegone, bundle, ctov, fabric, fabric-convention-tags-v2, farmersdelight, lithostitched, mr_farmers_cuttingbiomesoplenty, mr_farmers_cuttingohthebiomeswevegone, mr_farmers_cuttingterrestria, ohthetreesyoullgrow, porting_lib_base, porting_lib_gametest, porting_lib_item_abilities, porting_lib_tags, seasons, seasonsdelightcompat, seasonsextras, sereneseasons (incompatible), simplemod, structory, structory_towers, t_and_t, terrablender (incompatible), terralith, terrestria-common, towns_and_towers:resources/t_and_t_waystones_patch, trade_rebalance, treebark, vanilla, waystones (incompatible), wover-generator, wover-preset, wover-surface, wover-tag, yungsbridges (incompatible), yungsextras (incompatible)
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: 3584199489696054932
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)