Out of Bounds Exceptions stemming from knot causing server crash.
Neohedron512 opened this issue · 2 comments
The server had been up for a few hours before we encountered this OutOfBounds exception that stems from knot. We've had two crashes today with an OOBE.
It appears to be tied to some world-ticking event, but I must admit I'm not too familiar with the fabric system.
---- Minecraft Crash Report ----
// Sorry :(
Time: 2025-01-04 20:08:36
Description: Exception ticking world
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1025
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet.rehash(LongOpenHashSet.java:828)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet.removeEntry(LongOpenHashSet.java:440)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet.remove(LongOpenHashSet.java:463)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet$SetIterator.remove(LongOpenHashSet.java:596)
at knot//it.unimi.dsi.fastutil.longs.LongCollection.removeIf(LongCollection.java:275)
at knot//net.minecraft.class_5579.method_31851(class_5579.java:338)
at knot//net.minecraft.class_5579.method_31809(class_5579.java:358)
at knot//net.minecraft.class_3218.method_18765(class_3218.java:417)
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//it.unimi.dsi.fastutil.longs.LongOpenHashSet.rehash(LongOpenHashSet.java:828)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet.removeEntry(LongOpenHashSet.java:440)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet.remove(LongOpenHashSet.java:463)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet$SetIterator.remove(LongOpenHashSet.java:596)
at knot//it.unimi.dsi.fastutil.longs.LongCollection.removeIf(LongCollection.java:275)
at knot//net.minecraft.class_5579.method_31851(class_5579.java:338)
at knot//net.minecraft.class_5579.method_31809(class_5579.java:358)
-- Affected level --
Details:
All players: 2 total; [class_3222['Neohedron12'/202, l='ServerLevel[world]', x=-351.60, y=196.00, z=476.81], class_3222['Based_Leviathan'/41638, l='ServerLevel[world]', x=-503.56, y=63.94, z=812.94]]
Chunk stats: 5224
Level dimension: minecraft:overworld
Level spawn location: World: (96,72,272), Section: (at 0,8,0 in 6,4,17; chunk contains blocks 96,-64,272 to 111,319,287), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 13354494 game time, 6457156 day time
Level name: world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
Level weather: Rain time: 29745 (now: false), thunder time: 116689 (now: false)
Known server brands: fabric
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Loaded entity count: 496
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)
-- Cobblemon --
Details:
Version: 1.6.0
Is Snapshot: false
Git Commit: 2e3302b (https://gitlab.com/cable-mc/cobblemon/-/commit/2e3302bdec487bf11cace370cffd38f1837ae96b)
Branch: HEAD
-- System Details --
Details:
Minecraft Version: 1.21.1
Minecraft Version ID: 1.21.1
Operating System: Linux (amd64) version 4.18.0-553.16.1.el8_10.x86_64
Java Version: 21.0.2, Eclipse Adoptium
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Memory: 790854824 bytes (754 MiB) / 3472883712 bytes (3312 MiB) up to 24125636608 bytes (23008 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): 130882.09
Virtual memory used (MiB): 175757.25
Swap memory total (MiB): 66559.98
Swap memory used (MiB): 66559.78
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: 499.87, total: 500.00
Space in storage for workdir (MiB): available: 1415994.38, total: 1826179.50
JVM Flags: 5 total; -Xmx23000M -Xms128M -XX:MaxDirectMemorySize=2000M -XX:MaxMetaspaceSize=2000M -XX:MaxRAMPercentage=90.0
Fabric Mods:
accessories: Accessories 1.1.0-beta.19+1.21.1
architectury: Architectury 13.0.8
axesareweapons: Axes Are Weapons 1.9.1
balm-fabric: Balm 21.0.20
kuma_api: KumaAPI 21.0.5-SNAPSHOT
betterdeserttemples: YUNG's Better Desert Temples 1.21.1-Fabric-4.1.2
betterdungeons: YUNG's Better Dungeons 1.21.1-Fabric-5.1.4
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.3
betterjungletemples: YUNG's Better Jungle Temples 1.21.1-Fabric-3.1.2
bettermineshafts: YUNG's Better Mineshafts 1.21.1-Fabric-5.1.1
org_reflections_reflections: reflections 0.10.2
betteroceanmonuments: YUNG's Better Ocean Monuments 1.21.1-Fabric-4.1.2
betterstrongholds: YUNG's Better Strongholds 1.21.1-Fabric-5.1.2
bundle_scroll: Bundle Scroll 1.1
cicada: CICADA 0.10.2+1.21-1.21.1
clickopener: Click Opener Continued! 1.0.0+1.21
cliff_face: Cliff Face 2.0
cloth-config: Cloth Config v15 15.0.140
cloth-basic-math: cloth-basic-math 0.6.1
clumps: Clumps 19.0.0.1
cobblemon: Cobblemon 1.6.0+1.21.1
cobblemonridingfabric: Cobblemon Riding Fabric 1.3.2
collective: Collective 7.87
default_components: Default Components 0.1.1
dropspread: DropSpread 1.0.3
easyanvils: Easy Anvils 21.1.0
easymagic: Easy Magic 21.1.0
emi: EMI 1.1.18+1.21.1+fabric
emi_enchanting: EMI Enchanting 0.1.2+1.21
emi_ores: EMI Ores 1.0+1.21.1+fabric
endrem: End Remastered 6.0.2
fabric-api: Fabric API 0.110.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.70+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.18+b559734419
fabric-convention-tags-v1: Fabric Convention Tags 2.1.2+7f945d5b19
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.9.2+e60e56d419
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.4.0+da19b51a19
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.24+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.5.0+01d9a51c19
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.2.0+34f5d91419
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.88+b559734419
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.4.2+95bead5f19
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.2.0+45b9699719
fabric-language-kotlin: Fabric Language Kotlin 1.13.0+kotlin.2.1.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.1.0
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.1.0
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.1.0
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.1.0
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.26.1
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.9.0
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.9.0
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.6.1
org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm: kotlinx-io-bytestring-jvm 0.6.0
org_jetbrains_kotlinx_kotlinx-io-core-jvm: kotlinx-io-core-jvm 0.6.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.7.3
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.7.3
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.7.3
fabricloader: Fabric Loader 0.16.9
mixinextras: MixinExtras 0.4.1
farmtweaks: FarmTweaks 1.1+1.21.1
fightorflight: Cobblemon Fight or Flight Fabric 0.7.1
fixed-villager-trades: Fixed Villager Trades 1.2.2
com_electronwill_night-config_core: core 3.8.1
com_electronwill_night-config_toml: toml 3.8.1
forgeconfigapiport: Forge Config API Port 21.1.3
fzzy_config: Fzzy Config 0.5.9+1.21
blue_endless_jankson: jankson 1.2.3
fabric-permissions-api-v0: fabric-permissions-api 0.3.1
net_peanuuutz_tomlkt_tomlkt-jvm: tomlkt-jvm 0.3.7
geckolib: GeckoLib 4 4.7
java: OpenJDK 64-Bit Server VM 21
jesus-roulette: Jesus Roulette 1.0.1
kiss: Keep Inventory Sorted, Simple 0.3.1
kyrptconfig: Kyrpt Config 1.6.1-1.20.4
knightlib: Knight Lib 1.1.1
knightquest: Knight Quest 1.7.3
lavender: Lavender 0.1.14+1.21
lavender-md: lavender-md 0.1.2+1.21
lavender-md-owo-ui: lavender-md-owo-ui 0.1.2+1.21
lenientdeath: Lenient Death 1.2.5+1.21.1
jackfredlib-base: JackFredLib: Base 1.4.0+1.21
jackfredlib-colour: JackFredLib: Colour 1.1.0+1.21
jackfredlib-config: JackFredLib: Config 0.2.3+1.21
commons-io_commons-io: commons-io 2.15.1
jackfredlib-lying: JackFredLib: Lying 0.5.5+1.21
lootr: Lootr 1.21-1.10.34.86
midnightlib: MidnightLib 1.6.3
minecraft: Minecraft 1.21.1
mob-ai-tweaks: Mob AI Tweaks 1.5.0
mr_1212_bundlerecipe: 1.21.2 Bundle Recipe Backport 1.1
mr_librarians_balance: Librarian's Balance 3.5
mr_mastercutter: MasterCutter 1.3.1+1.21
mr_sneak_actions: Sneak Actions 1.0
mru: Mineblock's Repeated Utilities 1.0.7+1.21+fabric
no-shield-delay: No Shield Delay 1.0.1
noisium: Noisium 2.3.0+mc1.21-1.21.1
owo: oωo 0.12.15+1.21
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
puzzleslib: Puzzles Lib 21.1.24
safe-respawn: Safe Respawn (Fabric) 1.0.2
sleepwarp: SleepWarp (Updated) 2.4.0+1.21.1
server_translations_api: Server Translations API 2.3.1+1.21-pre2
packet_tweaker: Packet Tweaker 0.5.1+24w03b
starterkit: Starter Kit 7.1
taxfreelevels: Tax Free Levels 1.4.1
terralith: Terralith 2.5.7
tmcraft: TM Craft 1.2.3+1.6.0
trickster: Trickster 2.0.0-beta.8
cardinal-components-base: Cardinal Components API (base) 6.1.1
cardinal-components-chunk: Cardinal Components API (chunks) 6.1.1
cardinal-components-entity: Cardinal Components API (entities) 6.1.1
cardinal-components-scoreboard: Cardinal Components API (scoreboard) 6.1.1
cardinal-components-world: Cardinal Components API (worlds) 6.1.1
io_vavr_vavr: vavr 0.10.5
trimmable_tools: Trimmable Tools 2.0.5
unloadedactivity: Unloaded Activity 0.6.4
waystones: Waystones 21.1.5
wildtoolaccess: Wild Tool Access 1.21.1-1.5.2
xaerominimap: Xaero's Minimap 24.7.1
xaeroworldmap: Xaero's World Map 1.39.2
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
yungsapi: YUNG's API 1.21.1-Fabric-5.1.3
org_javassist_javassist: javassist 3.29.2-GA
Server Running: true
Player Count: 3 / 20; [class_3222['Neohedron12'/202, l='ServerLevel[world]', x=-351.60, y=196.00, z=476.81], class_3222['Based_Leviathan'/41638, l='ServerLevel[world]', x=-503.56, y=63.94, z=812.94], class_3222['SomeGuyNamedLex'/42376, l='ServerLevel[world]', x=1517.50, y=19.04, z=-365.50]]
Active Data Packs: vanilla, fabric, accessories, axesareweapons, balm-fabric (incompatible), betterdeserttemples (incompatible), betterdungeons (incompatible), betterendisland (incompatible), betterfortresses (incompatible), betterjungletemples (incompatible), bettermineshafts (incompatible), betteroceanmonuments (incompatible), betterstrongholds (incompatible), cliff_face, cobblemon, collective, easyanvils (incompatible), easymagic (incompatible), endrem (incompatible), fabric-convention-tags-v2, knightlib (incompatible), knightquest (incompatible), lenientdeath, lootr, mob-ai-tweaks, mr_1212_bundlerecipe, mr_librarians_balance, mr_mastercutter, mr_sneak_actions, server_translations_api, sleepwarp, terralith, tmcraft, trickster, trimmable_tools (incompatible), waystones (incompatible), yungsapi (incompatible), file/Ability Recipes
Available Data Packs: accessories, axesareweapons, balm-fabric (incompatible), betterdeserttemples (incompatible), betterdungeons (incompatible), betterendisland (incompatible), betterfortresses (incompatible), betterjungletemples (incompatible), bettermineshafts (incompatible), betteroceanmonuments (incompatible), betterstrongholds (incompatible), bundle, cliff_face, cobblemon, collective, easyanvils (incompatible), easymagic (incompatible), endrem (incompatible), fabric, fabric-convention-tags-v2, file/Ability Recipes, knightlib (incompatible), knightquest (incompatible), lenientdeath, lootr, mob-ai-tweaks, mr_1212_bundlerecipe, mr_librarians_balance, mr_mastercutter, mr_sneak_actions, server_translations_api, sleepwarp, terralith, tmcraft, trade_rebalance, trickster, trimmable_tools (incompatible), vanilla, waystones (incompatible), yungsapi (incompatible)
Enabled Feature Flags: minecraft:vanilla
World Generation: Experimental
World Seed: 248988631740296017
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)
A second crash occured not long after,
---- Minecraft Crash Report ----
// Sorry :(
Time: 2025-01-04 20:33:59
Description: Exception ticking world
java.lang.IndexOutOfBoundsException: Index (1) is greater than or equal to list size (1)
at knot//it.unimi.dsi.fastutil.longs.LongArrayList.getLong(LongArrayList.java:341)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet$SetIterator.nextLong(LongOpenHashSet.java:551)
at knot//it.unimi.dsi.fastutil.longs.LongCollection.removeIf(LongCollection.java:274)
at knot//net.minecraft.class_5579.method_31851(class_5579.java:338)
at knot//net.minecraft.class_5579.method_31809(class_5579.java:358)
at knot//net.minecraft.class_3218.method_18765(class_3218.java:417)
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//it.unimi.dsi.fastutil.longs.LongArrayList.getLong(LongArrayList.java:341)
at knot//it.unimi.dsi.fastutil.longs.LongOpenHashSet$SetIterator.nextLong(LongOpenHashSet.java:551)
at knot//it.unimi.dsi.fastutil.longs.LongCollection.removeIf(LongCollection.java:274)
at knot//net.minecraft.class_5579.method_31851(class_5579.java:338)
at knot//net.minecraft.class_5579.method_31809(class_5579.java:358)
-- Affected level --
Details:
All players: 3 total; [class_3222['Neohedron12'/1049, l='ServerLevel[world]', x=-359.00, y=196.00, z=473.95], class_3222['Zeldsy'/12428, l='ServerLevel[world]', x=-476.46, y=65.00, z=703.67], class_3222['Based_Leviathan'/478, l='ServerLevel[world]', x=-641.90, y=64.00, z=866.05]]
Chunk stats: 5782
Level dimension: minecraft:overworld
Level spawn location: World: (96,72,272), Section: (at 0,8,0 in 6,4,17; chunk contains blocks 96,-64,272 to 111,319,287), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 13384256 game time, 6486918 day time
Level name: world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
Level weather: Rain time: 23518 (now: true), thunder time: 86927 (now: false)
Known server brands: fabric
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Loaded entity count: 691
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)
👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.
The mentions of Knot in the stacktrace aren't because the error is from Knot, they're because the erroring classes were loaded by the Knot "class loader". The Knot class loader loads all Minecraft and mod classes, so it appearing in the stacktrace is completely normal.
Your issue thus could be in any mod you have installed, or Minecraft itself. I can't offer any more than that, if you need more assistance, use a discussion thread or the Discord as the bot requested.