[1.19] [Bug] Crash
Wajiro opened this issue · 7 comments
What happened?
BetterEnd crashes the game with the description saying "mouseClicked event handler".
BetterEnd
2.0.2
BCLib
2.0.5
Fabric API
0.56.0
Fabric Loader
0.14.7
Minecraft
1.19
Relevant log output
---- Minecraft Crash Report ----
// Shall we play a game?
Time: 6/15/22, 12:20 PM
Description: mouseClicked event handler
java.lang.NullPointerException: Cannot invoke "java.util.List.add(Object)" because the return value of "java.util.Map.get(Object)" is null
at Not Enough Crashes deobfuscated stack trace.(1.19+build.4)
at net.minecraft.tag.TagGroupLoader.md7a3761$lambda$loadTagInject$1$4(TagGroupLoader:1555)
at java.lang.Iterable.forEach(Iterable.java:75)
at net.minecraft.tag.TagGroupLoader.handler$bhm000$loadTagInject(TagGroupLoader:1553)
at net.minecraft.tag.TagGroupLoader.loadTags(TagGroupLoader:68)
at net.minecraft.tag.TagGroupLoader.load(TagGroupLoader:163)
at net.minecraft.tag.TagManagerLoader.method_33181(TagManagerLoader:64)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_437.method_25412(class_437.java:494)
-- Affected screen --
Details:
Screen name: net.minecraft.class_442
Stacktrace:
at net.minecraft.class_437.method_25412(class_437.java:494)
at net.minecraft.class_312.method_1601(class_312.java:94)
at net.minecraft.class_312.method_22686(class_312.java:165)
at net.minecraft.class_1255.execute(class_1255.java:103)
at net.minecraft.class_312.method_22684(class_312.java:165)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:222)
at net.minecraft.class_310.method_1523(class_310.java:1174)
at net.minecraft.class_310.method_1514(class_310.java:734)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Fabric Mods
-- System Details --
Details:
Minecraft Version: 1.19
Minecraft Version ID: 1.19
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 3469057088 bytes (3308 MiB) / 4966055936 bytes (4736 MiB) up to 5268045824 bytes (5024 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Identifier: Intel64 Family 6 Model 78 Stepping 3
Microarchitecture: unknown
Frequency (GHz): 2.59
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: AMD Radeon (TM) R7 M360
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x6900
Graphics card #0 versionInfo: DriverVersion=27.20.20903.8001
Graphics card #1 name: Intel(R) HD Graphics 520
Graphics card #1 vendor: Intel Corporation (0x8086)
Graphics card #1 VRAM (MB): 1024.00
Graphics card #1 deviceId: 0x1916
Graphics card #1 versionInfo: DriverVersion=21.20.16.4627
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 1.60
Memory slot #0 type: DDR3
Virtual memory max (MB): 21395.58
Virtual memory used (MB): 18494.35
Swap memory total (MB): 13344.73
Swap memory used (MB): 2214.82
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx5000M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
architectury: Architectury 5.6.22
badpackets: Bad Packets 0.1.2
bclib: BCLib 2.0.5
better_runtime_resource_pack: Better Runtime Resource Pack 0.6.2
advanced_runtime_resource_pack: Advanced Runtime Resource Pack 0.6.2
betterend: Better End 2.0.2
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
dashloader: DashLoader 4.0.0+1.19
com_github_luben_zstd-jni: zstd-jni 1.5.2-2
dev_quantumfusion_hyphen: Hyphen 0.2.2
dev_quantumfusion_taski: Taski 1.1.0
ellemes_container_lib: Ellemes' Container Library 2.0.0-beta.4
fabric: Fabric API 0.56.0+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.13+b2a4a624a9
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.18+9ff28f40a9
fabric-command-api-v1: Fabric Command API (v1) 1.2.5+f71b366fa9
fabric-command-api-v2: Fabric Command API (v2) 2.1.1+cda9839ba9
fabric-commands-v0: Fabric Commands (v0) 0.2.22+df3654b3a9
fabric-containers-v0: Fabric Containers (v0) 0.1.27+df3654b3a9
fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.0+4a3ec384a9
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.0.1+2a5b9210a9
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.23+9ff28f40a9
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.18+9ff28f40a9
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.16+df3654b3a9
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9
fabric-loot-api-v2: Fabric Loot API (v2) 1.0.1+9e7660c6a9
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.1+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.8+33fbc738a9
fabric-models-v0: Fabric Models (v0) 0.3.15+9ff28f40a9
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.5+9ff28f40a9
fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.16+92cf9a3ea9
fabric-renderer-api-v1: Fabric Renderer API (v1) 1.0.8+9ff28f40a9
fabric-renderer-indigo: Fabric Renderer - Indigo 0.6.6+9ff28f40a9
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.18+df3654b3a9
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-rendering-v0: Fabric Rendering (v0) 1.1.20+df3654b3a9
fabric-rendering-v1: Fabric Rendering (v1) 1.10.14+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.3+9e7660c6a9
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.23+9ff28f40a9
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.6+9ff28f40a9
fabric-textures-v0: Fabric Textures (v0) 1.0.18+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.7
geckolib3: Geckolib 3.1.2
com_eliotlash_mclib_mclib: mclib 18
com_eliotlash_molang_molang: molang 18
java: OpenJDK 64-Bit Server VM 17
minecraft: Minecraft 1.19
notenoughcrashes: Not Enough Crashes 4.1.6+1.19
owo: oωo 0.7.3+1.19
skylorlib: SkyLib 1.4.0
terrablender: TerraBlender 2.0.0.112
com_electronwill_night-config_core: core 3.6.4
com_electronwill_night-config_toml: toml 3.6.4
thonkutil: ThonkUtil 2.15.2+1.19
thonkutil-base: ThonkUtil Base 1.13.1+575521ba57
thonkutil-capes-v1: ThonkUtil Capes (v1) 1.4.0+82e731da57
thonkutil-coords-v1: ThonkUtil Coords (v1) 1.1.1+8ff533c957
thonkutil-customization-v1: ThonkUtil Customization (v1) 1.1.1+8ff533c957
thonkutil-legacy: ThonkUtil Legacy 1.1.1+5d4263f557
thonkutil-modchecker-v1: ThonkUtil ModChecker (v1) 1.1.1+8ff533c957
thonkutil-potions-v0: ThonkUtil Potions (v0) 1.5.1+8ff533c957
thonkutil-titlescreen-v1: ThonkUtil TitleScreen (v1) 1.2.1+8ff533c957
thonkutil-trades-v1: ThonkUtil Trades (v1) 1.2.1+8ff533c957
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
Launched Version: fabric-loader-0.14.7-1.19
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: Intel(R) HD Graphics 520 GL version 3.2.0 - Build 21.20.16.4627, Intel
Window size: 925x530
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: Fabric Mods
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Client Crashes Since Restart: 1
Integrated Server Crashes Since Restart: 0
Suspected Mods: None
Other Mods
No response
I tried them without those three, and the crash is no longer happening.
Here is the latest log:
latest.log
Also, which of those is the true fault? I need ThonkUtil for another mod.
Could you please post the complete log?
Also could you please try without Dashloader, ThonkUtil and Terrablender?
The crash is due to ThonkUtil with BetterEnd 2.0.2. I don't have Terrablender or Dashloader I only have ThonkUtil. Removing ThonkUtil solves the crashing issue. When downgrading to BetterEnd 2.0.1, the crash goes away. So the crash is specifically with ThonkUtil and BetterEnd 2.0.2
Edit: I'm gonna downgrade to BetterEnd 2.0.1 for the time being as I also need ThonkUtil for another mod.
No, bclib and betternether are both up to date, the only thing I downgraded was betterend and that was the fix for my case. The other possible fix is removing ThonkUtil but I need that for another mod so I downgraded betterend.
Thanks. That helps me narrowing it down, because it must be soemthing we introduced in the latest BetterEnd and is propably not related to BCLib.
Looks like this is not an issue in BetterEnd, but a problem with ThonkUtils we can not fix. It surfaced in the latest version, as we added support for tinkets. That appears to trigger an issue in ThonkUtils.
So, I am closing this as an external issue for now. Please see my reply to the Issue over at ThonkUtil for an in depth explanation.