Torchmaster

Torchmaster

117M Downloads

[Bug]: Exception Ticking World

Legocopboss opened this issue · 2 comments

commented

Torchmaster Version

21.0.3-alpha

Mod Loader

Fabric

Mod Loader Version

0.16.9

What happened?

Seems to be random server crashes upon player login, or player teleport. Seems to happen when a chunk is loaded that contains a special torch

Relevant log output

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 2025-04-27 23:44:35
Description: Exception ticking world

com.llamalad7.mixinextras.injector.wrapoperation.IncorrectArgumentCountException: Incorrect number of arguments passed to Operation::call! Expected 3 but got 2. Expected types were [net.minecraft.class_1419, net.minecraft.class_3218, net.minecraft.class_2338], actual types were [net.minecraft.class_3218, net.minecraft.class_2338].
	at knot//com.llamalad7.mixinextras.injector.wrapoperation.WrapOperationRuntime.checkArgumentCount(WrapOperationRuntime.java:10)
	at knot//net.minecraft.class_1419.mixinextras$bridge$method_6448$7(class_1419.java)
	at knot//net.minecraft.class_1419.wrapOperation$bho000$torchmaster$tryToSetupSiege_findRandomSpawnPos(class_1419.java:534)
	at knot//net.minecraft.class_1419.method_6446(class_1419.java:95)
	at knot//net.minecraft.class_1419.method_6445(class_1419.java:56)
	at knot//net.minecraft.class_3218.method_29202(class_3218.java:444)
	at knot//net.minecraft.class_3215.method_14161(class_3215.java:372)
	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//com.llamalad7.mixinextras.injector.wrapoperation.WrapOperationRuntime.checkArgumentCount(WrapOperationRuntime.java:10)
	at knot//net.minecraft.class_1419.mixinextras$bridge$method_6448$7(class_1419.java)
	at knot//net.minecraft.class_1419.wrapOperation$bho000$torchmaster$tryToSetupSiege_findRandomSpawnPos(class_1419.java:534)
	at knot//net.minecraft.class_1419.method_6446(class_1419.java:95)
	at knot//net.minecraft.class_1419.method_6445(class_1419.java:56)
	at knot//net.minecraft.class_3218.method_29202(class_3218.java:444)
	at knot//net.minecraft.class_3215.method_14161(class_3215.java:372)
	at knot//net.minecraft.class_3215.method_12127(class_3215.java:310)

-- Affected level --
Details:
	All players: 1 total; [class_3222['Nyx0526'/1212, l='ServerLevel[world]', x=-4607.09, y=72.00, z=2946.30]]
	Chunk stats: 4431
	Level dimension: minecraft:overworld
	Level spawn location: World: (-2448,72,2813), Section: (at 0,8,13 in -153,4,175; chunk contains blocks -2448,-64,2800 to -2433,319,2815), Region: (-5,5; contains chunks -160,160 to -129,191, blocks -2560,-64,2560 to -2049,319,3071)
	Level time: 369624575 game time, 373194000 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
	Level weather: Rain time: 48887 (now: false), thunder time: 32363 (now: false)
	Known server brands: fabric
	Removed feature flags: 
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
	Loaded entity count: 428
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
	Minecraft Version ID: 1.21
	Operating System: Linux (amd64) version 6.1.0-25-amd64
	Java Version: 21.0.6, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 589628232 bytes (562 MiB) / 2462056448 bytes (2348 MiB) up to 6442450944 bytes (6144 MiB)
	CPUs: 5
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
	Identifier: Intel64 Family 6 Model 158 Stepping 13
	Microarchitecture: Coffee Lake
	Frequency (GHz): 3.70
	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 (MiB): 0.00
	Graphics card #0 deviceId: unknown
	Graphics card #0 versionInfo: unknown
	Virtual memory max (MiB): 105234.35
	Virtual memory used (MiB): 83052.80
	Swap memory total (MiB): 40960.00
	Swap memory used (MiB): 5447.44
	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: 727465.88, total: 898222.88
	Space in storage for workdir (MiB): available: 95912.04, total: 100692.19
	JVM Flags: 6 total; -Xmx6144M -Xms1024M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1MixedGCLiveThresholdPercent=90 -XX:+DisableExplicitGC
	Fabric Mods: 
		amendments: Amendments 1.21-1.2.24
		amethystequipment: Amethyst Equipment 1.0.4
		architectury: Architectury 13.0.8
		athena: Athena 4.0.1
		audioplayer: AudioPlayer 1.21.1-1.13.2
			admiral: Admiral 0.4.5+1.21
			fabric-api-base: Fabric API Base 0.4.42+6573ed8c6a
			fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd96a
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.12+6c1df3606a
		biomesoplenty: BiomesOPlenty 21.0.0.15
		cardinal-components: Cardinal Components API 6.1.2
			cardinal-components-base: Cardinal Components API (base) 6.1.2
			cardinal-components-block: Cardinal Components API (blocks) 6.1.2
			cardinal-components-chunk: Cardinal Components API (chunks) 6.1.2
			cardinal-components-entity: Cardinal Components API (entities) 6.1.2
			cardinal-components-item: Cardinal Components API (items) 6.1.2
			cardinal-components-level: Cardinal Components API (world saves) 6.1.2
			cardinal-components-scoreboard: Cardinal Components API (scoreboard) 6.1.2
			cardinal-components-world: Cardinal Components API (worlds) 6.1.2
		chipped: Chipped 4.0.0
		clientsort: ClientSort 1.3.0+1.21
		cloth-config: Cloth Config v15 15.0.140
			cloth-basic-math: cloth-basic-math 0.6.1
		collective: Collective 8.1
		coroutil: CoroUtil 1.21.0-1.3.7
		croptopia: Croptopia 3.0.9
		cupboard: cupboard 1.21-2.9
		doubledoors: Double Doors 6.2
		epherolib: EpheroLib 1.2.0-1.20.6
		exlinecopperequipment: Copper Equipment 1.0.3
		fabric-api: Fabric API 0.102.0+1.21
			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-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-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.16.9
			mixinextras: MixinExtras 0.4.1
		glitchcore: GlitchCore 2.0.0.3
			net_jodah_typetools: typetools 0.6.3
		handcrafted: Handcrafted 4.0.1
		immersive_aircraft: Immersive Aircraft 1.1.5+1.21
			org_mariuszgromada_math_mathparser_org-mxparser: MathParser.org-mXparser 5.2.1
		jade: Jade 15.1.5+fabric
		java: OpenJDK 64-Bit Server VM 21
		jei: Just Enough Items 19.21.0.247
		loadmychunks: Load My Chunks 1.1.0
		mcwbridges: Macaw's Bridges 3.0.0
		mcwdoors: Macaw's Doors 1.1.2
		mcwfences: Macaw's Fences and Walls 1.2.0
		minecraft: Minecraft 1.21
		modernfix: ModernFix 5.19.1+mc1.21
		moonlight: Moonlight Lib 1.21-2.18.4
		owo: oωo 0.12.15.1+1.21
			blue_endless_jankson: jankson 1.2.2
			io_wispforest_endec: endec 0.1.5
			io_wispforest_endec_gson: gson 0.1.3
			io_wispforest_endec_jankson: jankson 0.1.3
			io_wispforest_endec_netty: netty 0.1.2
		resourcefullib: Resourceful Lib 3.0.12
			com_teamresourceful_bytecodecs: bytecodecs 1.1.2
			com_teamresourceful_yabn: yabn 1.0.3
		smoothchunk: Smooth chunk save Mod 1.21-4.1
		terrablender: TerraBlender 4.0.0.2
			com_electronwill_night-config_core: core 3.6.7
			com_electronwill_night-config_toml: toml 3.6.7
		torchmaster: Torchmaster 21.0.3-alpha
		travelersbackpack: Traveler's Backpack 10.1.17
		vcinteraction: Voice Chat Interaction 1.21.1-1.0.8
			polymer-registry-sync-manipulator: Polymer (Registry Sync Manipulator) 0.9.9+1.21
		voicechat: Simple Voice Chat 1.21.1-2.5.29
		watut: What Are They Up To 1.21.0-1.2.6
			forgeconfigapiport: Forge Config API Port 21.0.0
		whereisit: Where Is It 2.6.3+1.21.1
			jackfredlib: JackFredLib 0.10.2+1.21.1
				jackfredlib-base: JackFredLib: Base 1.4.1+1.21.1
				jackfredlib-colour: JackFredLib: Colour 1.1.0+1.21.1
				jackfredlib-extracommandsourcedata: JackFredLib: Extra Command Source Data 1.1.1+1.21.1
				jackfredlib-lying: JackFredLib: Lying 0.5.5+1.21.1
		xaerominimap: Xaero's Minimap 25.1.0
		xaeroworldmap: Xaero's World Map 1.39.4
		yet_another_config_lib_v3: YetAnotherConfigLib 3.6.2+1.21-fabric
			com_twelvemonkeys_common_common-image: common-image 3.12.0
			com_twelvemonkeys_common_common-io: common-io 3.12.0
			com_twelvemonkeys_common_common-lang: common-lang 3.12.0
			com_twelvemonkeys_imageio_imageio-core: imageio-core 3.12.0
			com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.12.0
			com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.12.0
			org_quiltmc_parsers_gson: gson 0.2.1
			org_quiltmc_parsers_json: json 0.2.1
	Server Running: true
	Player Count: 1 / 8; [class_3222['Nyx0526'/1212, l='ServerLevel[world]', x=-4607.09, y=72.00, z=2946.30]]
	Active Data Packs: vanilla, fabric, amendments, amethystequipment, audioplayer, biomesoplenty (incompatible), chipped, collective, croptopia, exlinecopperequipment, fabric-convention-tags-v2, handcrafted, immersive_aircraft, loadmychunks (incompatible), mcwbridges (incompatible), mcwdoors (incompatible), mcwfences (incompatible), moonlight, terrablender (incompatible), torchmaster (incompatible), travelersbackpack, vcinteraction
	Available Data Packs: amendments, amethystequipment, audioplayer, biomesoplenty (incompatible), bundle, chipped, collective, croptopia, exlinecopperequipment, fabric, fabric-convention-tags-v2, handcrafted, immersive_aircraft, loadmychunks (incompatible), mcwbridges (incompatible), mcwdoors (incompatible), mcwfences (incompatible), moonlight, terrablender (incompatible), torchmaster (incompatible), trade_rebalance, travelersbackpack, vanilla, vcinteraction
	Enabled Feature Flags: minecraft:vanilla
	World Generation: Stable
	World Seed: -3735116653322330086
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)
commented

Thanks for the report. It's 2 am here, so this will have to wait a bit. I'll look into this tomorrow after work.

commented

Closing as duplicate of #252