Chat Patches

Chat Patches

2M Downloads

Saving chat log uses invalid registry ops that crash game - 210.6.5.1

YOMA8338 opened this issue ยท 40 comments

commented

Description

Sudden crash.
I saw the word "chatpatches" in the crash log, so I submitted it here.

How to reproduce

When I color-coded the timestamps finely, it suddenly started crashing.
The timestamp was set to "&'d'a &'a'KK&'f':&'b'mm&'f':&'c'ss".

Expected result

No crash

Log file link

crash-report

Specs and Details

Required information:

  • Computer OS: Windows11pro 23h2
  • Mod version: 210.6.5.1
  • Fabric 0.15.11-1.21.0 and FabricAPI: 0.100.3
  • YetAnotherConfigLib 3.5.0+1.21-fabric and Mod Menu 11.0.1
  • MODList: It should be in the crash log.
    It's a pain to write, so please look at the crash log.

Additional context

It also says it was enchantment related, so maybe it wasn't related.

commented

i think this is a chat patches issue, thanks for the report. what were you doing when the game crashed?

commented

At that time, I was at the end and near the beacon.

commented

so you were just walking/standing still and it just abruptly crashed?

commented

Yeah

commented

Crashing just walking around.
Crashing just digging.
I think that Crashes even when left unattended.

commented

Second crash report.
I found several similar ones.
crash-2024-06-26_18.45.33-client.txt

commented

okay, so so far they've all happened while you're in game and not when youre loading a world or in the menu/config screen?

commented

Yes, it is.
At the moment it happens during the game, but not in the main menu.

commented

ill try this fix tm night or sunday when i can! thanks for ur patience

commented

please verify that this build fixes the issue! see the readme here for instructions on how to test it.

commented

#184
I'm not sure when the crash was resolved, but I have a feeling it has something to do with this.

commented

to reiterate, my current suspicion about this bug is some incompatibility with styledchat, so i'll get on that when i can.

commented

Actually, I'm not sure how much concrete proof I have of this being caused by StyledChat incompatibility. can everyone who is experiencing this bug verify that your world/server has it installed at the same time as chat patches? i really appreciate it ๐Ÿ˜

one source:

https://discord.com/channels/1077285607375638529/1077297192659861686/1260328256964395058

commented

I'm also facing the issue in 1.21 with version 210.6.6
For me it mostly happens when I open game menu.

Crash Report
---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2024-07-28 00:39:17
Description: Unexpected error

com.google.gson.JsonSyntaxException: Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:fire_aspect]=Enchantment Fire Aspect} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set
	at obro1961.chatpatches.chatlog.ChatLog.lambda$serialize$1(ChatLog.java:197)
	at com.mojang.serialization.DataResult$Error.resultOrPartial(DataResult.java:276)
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:196)
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:48)
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101)
	at net.minecraft.class_437.afterInit(class_437.java:1831)
	at net.minecraft.class_437.handler$bjg000$fabric-screen-api-v1$afterInitScreen(class_437.java:1784)
	at net.minecraft.class_437.method_25423(class_437.java:318)
	at net.minecraft.class_310.method_1507(class_310.java:1143)
	at net.minecraft.class_310.method_20539(class_310.java:1721)
	at net.minecraft.class_309.method_1466(class_309.java:451)
	at net.minecraft.class_309.method_22678(class_309.java:499)
	at net.minecraft.class_1255.execute(class_1255.java:108)
	at net.minecraft.class_309.method_22676(class_309.java:499)
	at org.lwjgl.glfw.GLFWKeyCallback$Container.invoke(GLFWKeyCallback.java:82)
	at dynamic_fps.impl.feature.state.IdleHandler.onKey(IdleHandler.java:120)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3509)
	at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:184)
	at net.minecraft.class_310.method_1523(class_310.java:1310)
	at net.minecraft.class_310.method_1514(class_310.java:882)
	at net.minecraft.client.main.Main.main(Main.java:256)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
	at obro1961.chatpatches.chatlog.ChatLog.lambda$serialize$1(ChatLog.java:197)
	at com.mojang.serialization.DataResult$Error.resultOrPartial(DataResult.java:276)
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:196)
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:48)
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101)
	at net.minecraft.class_437.afterInit(class_437.java:1831)
	at net.minecraft.class_437.handler$bjg000$fabric-screen-api-v1$afterInitScreen(class_437.java:1784)
	at net.minecraft.class_437.method_25423(class_437.java:318)
	at net.minecraft.class_310.method_1507(class_310.java:1143)
	at net.minecraft.class_310.method_20539(class_310.java:1721)
	at net.minecraft.class_309.method_1466(class_309.java:451)
	at net.minecraft.class_309.method_22678(class_309.java:499)
	at net.minecraft.class_1255.execute(class_1255.java:108)
	at net.minecraft.class_309.method_22676(class_309.java:499)
	at org.lwjgl.glfw.GLFWKeyCallback$Container.invoke(GLFWKeyCallback.java:82)
	at dynamic_fps.impl.feature.state.IdleHandler.onKey(IdleHandler.java:120)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3509)```

</details> 
commented

When I set up my own mackerel,
When I added LunaChat, I found that it changes the chat text.
StyledChat is not on the server or client side.

In addition, I would like you to check the issue of the duplicate counter not working. (lol.)

commented

I'm also facing the issue in 1.21 with version 210.6.6 For me it mostly happens when I open game menu.
Crash Report

Can confirm that this happens on 1.21 / 210.6.6, and the above devbuild fixes the issue

commented

Nevermind it still crashes in singleplayer just not in multiplayer

commented

please verify that this build fixes the issue! see the readme here for instructions on how to test it.

please test this one instead: https://github.com/mrbuilder1961/ChatPatches/actions/runs/10312134468/artifacts/1793179405 (scroll down for newer build)

commented
commented

Nevermind it still crashes in singleplayer just not in multiplayer

Tested the latest commit (52a1f5a) and it still crashes in singleplayer

commented

log? this goes for everyone experiencing this or any other issue, i need mclo.gs links otherwise i don't have concrete evidence

I've been experiencing this crash as well (I just found this issue report when searching for this error.) I've experienced a crash with this error six times so far. I have attached each of the six crash reports, as well as the corresponding Minecraft client logs. I have not yet had a chance to do any sort of troubleshooting (such as disabling other mods or testing in single player mode), and I've not had a chance to test the above commits you posted yet, but hopefully these logs still help. I do not see any reference in the logs to the "mclo.gs links" that you mentioned and I'm not sure what those are or where I should be looking for them? If there are other logs or info that would help you let me know and I'll be happy to provide it. I do see a large (22MB) chatlog.json file in my log directory, would you like that as well?

Thanks! (Both for looking into this and for developing this mod in the first place!)

2024-08-03-4.log
2024-08-07-1.log
2024-08-07-2.log
2024-08-07-3.log
2024-08-08-1.log
2024-08-08-2.log
crash-2024-08-03_21.27.35-client.txt
crash-2024-08-07_03.29.17-client.txt
crash-2024-08-07_05.15.53-client.txt
crash-2024-08-07_05.17.04-client.txt
crash-2024-08-08_10.58.51-client.txt
crash-2024-08-08_13.10.44-client.txt
chatpatches.json

commented

I do not see any reference in the logs to the "mclo.gs links" that you mentioned and I'm not sure what those are or where I should be looking for them?

Apparently I am an idiot, lol. I just re-read the thread and saw your reference to https://mclo.gs above. I thought it was something in the log you were looking for. If you'd rather I post them there let me know!

commented

The crash is related to serializing the chat log to JSON before it is saved to disk, and disabling the chat log will fix the issue.

commented

I do not see any reference in the logs to the "mclo.gs links" that you mentioned and I'm not sure what those are or where I should be looking for them?

Apparently I am an idiot, lol. I just re-read the thread and saw your reference to https://mclo.gs above. I thought it was something in the log you were looking for. If you'd rather I post them there let me know!

please do! i appreciate all the links ๐Ÿ™ƒ

commented

please test this one instead: https://github.com/mrbuilder1961/ChatPatches/actions/runs/10312134468/artifacts/1793179405

i had one person say this build fixed the issue, see if it does for you all as well

commented

log? this goes for everyone experiencing this or any other issue, i need mclo.gs links otherwise i don't have concrete evidence

commented

please test this one instead: https://github.com/mrbuilder1961/ChatPatches/actions/runs/10312134468/artifacts/1793179405

i had one person say this build fixed the issue, see if it does for you all as well

No it still crashed!

commented

Apparently I am an idiot, lol. I just re-read the thread and saw your reference to https://mclo.gs above. I thought it was something in the log you were looking for. If you'd rather I post them there let me know!

please do! i appreciate all the links ๐Ÿ™ƒ

You got it! Hope this helps:

https://mclo.gs/iLujsJb - 8/3 crash
https://mclo.gs/rkhIl6k - 8/3 log
https://mclo.gs/76c2Tna - 8/7 crash
https://mclo.gs/90HOJn1 - 8/7 log
https://mclo.gs/SmUDKfC - 8/7 crash 2
https://mclo.gs/V9yT9Bf - 8/7 log 2
https://mclo.gs/UOR5DlP - 8/7 crash 3
https://mclo.gs/9auWwcs - 8/7 log 3
https://mclo.gs/hgTI04Q - 8/8 crash 1
https://mclo.gs/Ffa1xwP - 8/8 log 1
https://mclo.gs/PGN7e1E - 8/8 crash 2
https://mclo.gs/oqISMPp - 8/8 log 2

Let me know if there's anything else I can provide.

commented

Latest commit seems to solve the issue for me

commented

An update from my end. I've recently updated fabric loader from 15.11 to 16.0. So far didn't face any crashes after that. I'll report if it happens.

commented

Apparently I am an idiot, lol. I just re-read the thread and saw your reference to https://mclo.gs above. I thought it was something in the log you were looking for. If you'd rather I post them there let me know!

please do! i appreciate all the links ๐Ÿ™ƒ

You got it! Hope this helps:

https://mclo.gs/iLujsJb - 8/3 crash https://mclo.gs/rkhIl6k - 8/3 log https://mclo.gs/76c2Tna - 8/7 crash https://mclo.gs/90HOJn1 - 8/7 log https://mclo.gs/SmUDKfC - 8/7 crash 2 https://mclo.gs/V9yT9Bf - 8/7 log 2 https://mclo.gs/UOR5DlP - 8/7 crash 3 https://mclo.gs/9auWwcs - 8/7 log 3 https://mclo.gs/hgTI04Q - 8/8 crash 1 https://mclo.gs/Ffa1xwP - 8/8 log 1 https://mclo.gs/PGN7e1E - 8/8 crash 2 https://mclo.gs/oqISMPp - 8/8 log 2

Let me know if there's anything else I can provide.

I appreciate all the links, but they seem to be the same thing over and over for the most part. please try the latest commit build when you can and come back with some logs then please! ๐Ÿ˜„

commented

I appreciate all the links, but they seem to be the same thing over and over for the most part. please try the latest commit build when you can and come back with some logs then please! ๐Ÿ˜„

Well, yes, they were all crashes from the release version (210.6.5.1), so they would be very similar. I was doing different things in the game when the crashes happened though, and others had said above that the latest commits didn't fix it for them, so I thought the logs might help you narrow down the cause. Sorry if they weren't helpful.

I'm now running 210.6.6. I have about six hours into it and have not experienced any crashes. If I do I'll post the logs.

Disabling the chat log as mentioned above seemed to stop the crashes for me with 210.6.5.1. I have it re-enabled for 210.6.6 testing.

commented

it's okay, i still appreciate the links anyway ๐Ÿ˜„!

it sounds like the fix worked, but if any of you want to 100% verify it, just go into the config > chat log > save button, press it, and if nothing crashes and your chat log is up to date it should be fixed.

also, for the majority of people i imagine the chat log save interval is set to zero, meaning it saves when pressing escape.

also also please let me know if there are any issues when the saved log is restored into the game in a future session.

commented

it's okay, i still appreciate the links anyway ๐Ÿ˜„!

it sounds like the fix worked, but if any of you want to 100% verify it, just go into the config > chat log > save button, press it, and if nothing crashes and your chat log is up to date it should be fixed.

also, for the majority of people i imagine the chat log save interval is set to zero, meaning it saves when pressing escape.

also also please let me know if there are any issues when the saved log is restored into the game in a future session.

Seems like with a long enough chat log it takes a very long time to deserialize / get loaded / whatever the first time you enter a world or join a server after launching the game. Kind of unrelated, but maybe it would be simpler to save the chat log in plain text instead of JSON?

commented

Another crash log in 210.6.6

Crash Report
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 2024-08-15 17:08:37
Description: Unexpected error

java.util.NoSuchElementException: No value present
	at java.base/java.util.Optional.orElseThrow(Optional.java:377)
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:193)
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:81)
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101)
	at net.minecraft.class_437.afterInit(class_437.java:2331)
	at net.minecraft.class_437.handler$bok000$fabric-screen-api-v1$afterInitScreen(class_437.java:2284)
	at net.minecraft.class_437.method_25423(class_437.java:318)
	at net.minecraft.class_310.method_1507(class_310.java:1143)
	at net.minecraft.class_310.method_18098(class_310.java:2314)
	at net.minecraft.class_310.method_18096(class_310.java:2248)
	at net.minecraft.class_8673.method_10839(class_8673.java:319)
	at net.minecraft.class_2535.method_10768(class_2535.java:673)
	at net.minecraft.class_636.method_2927(class_636.java:290)
	at net.minecraft.class_310.method_1574(class_310.java:1908)
	at net.minecraft.class_310.method_1523(class_310.java:1246)
	at net.minecraft.class_310.method_1514(class_310.java:882)
	at net.minecraft.client.main.Main.main(Main.java:256)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.21
	Minecraft Version ID: 1.21
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.2, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 1820597592 bytes (1736 MiB) / 3183476736 bytes (3036 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 20
	Processor Vendor: GenuineIntel
	Processor Name: 12th Gen Intel(R) Core(TM) i7-12700H
	Identifier: Intel64 Family 6 Model 154 Stepping 3
	Microarchitecture: Alder Lake
	Frequency (GHz): 2.69
	Number of physical packages: 1
	Number of physical CPUs: 14
	Number of logical CPUs: 20
	Graphics card #0 name: Intel(R) Iris(R) Xe Graphics
	Graphics card #0 vendor: Intel Corporation
	Graphics card #0 VRAM (MiB): 1024.00
	Graphics card #0 deviceId: VideoController1
	Graphics card #0 versionInfo: 31.0.101.4575
	Memory slot #0 capacity (MiB): 8192.00
	Memory slot #0 clockSpeed (GHz): 3.20
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MiB): 8192.00
	Memory slot #1 clockSpeed (GHz): 3.20
	Memory slot #1 type: DDR4
	Virtual memory max (MiB): 18149.49
	Virtual memory used (MiB): 14652.71
	Swap memory total (MiB): 2144.91
	Swap memory used (MiB): 149.52
	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: 43311.65, total: 180848.31
	Space in storage for workdir (MiB): available: 76982.61, total: 104999.00
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m
	Fabric Mods: 
		advanced-xray-fabric: Advanced XRay (Fabric) 21.0.0
		appleskin: AppleSkin 3.0.2+mc1.21
		autoinfelytra: Automatic Infinite Elytra 5.0.1
			clientarguments: clientarguments 1.9
		autoreconnectrf: AutoReconnect-Reforged 0.5.0
		autototem: Auto Totem 1.1
		bedrockminer: Bedrock Miner 1.21-1.2.21
		betterf1: BetterF1 1.0
		betterf3: BetterF3 11.0.1
		bobby: Bobby 5.2.3+mc1.21
			com_typesafe_config: config 1.4.2
			fabric-api-base: Fabric API Base 0.4.42+6573ed8c90
			io_leangen_geantyref_geantyref: geantyref 1.3.13
			org_spongepowered_configurate-core: configurate-core 4.1.2
			org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
		c2me: Concurrent Chunk Management Engine 0.2.0+alpha.11.107+1.21
			c2me-base: Concurrent Chunk Management Engine (Base) 0.2.0+alpha.11.107+1.21
			c2me-client-uncapvd: Concurrent Chunk Management Engine (Client/Uncap View Distance) 0.2.0+alpha.11.107+1.21
			c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.2.0+alpha.11.107+1.21
			c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.2.0+alpha.11.107+1.21
			c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.2.0+alpha.11.107+1.21
			c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.2.0+alpha.11.107+1.21
			c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.2.0+alpha.11.107+1.21
			c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.2.0+alpha.11.107+1.21
			c2me-opts-chunk-access: Concurrent Chunk Management Engine (Optimizations/Chunk Access) 0.2.0+alpha.11.107+1.21
			c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.2.0+alpha.11.107+1.21
			c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.2.0+alpha.11.107+1.21
			c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.2.0+alpha.11.107+1.21
			c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.2.0+alpha.11.107+1.21
			c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.2.0+alpha.11.107+1.21
			c2me-rewrites-chunk-serializer: Concurrent Chunk Management Engine (Rewrites/Chunk Serializer) 0.2.0+alpha.11.107+1.21
			c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.2.0+alpha.11.107+1.21
			c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.2.0+alpha.11.107+1.21
			c2me-threading-chunkio: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.107+1.21
			c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.2.0+alpha.11.107+1.21
			c2me-threading-worldgen: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.107+1.21
			com_electronwill_night-config_core: core 3.6.5
			com_electronwill_night-config_toml: toml 3.6.5
			com_ibm_async_asyncutil: asyncutil 0.1.0
			net_objecthunter_exp4j: exp4j 0.4.8
			org_threadly_threadly: threadly 7.0
		carpet: Carpet Mod 1.4.147+v240613
		chatpatches: Chat Patches 210.6.6
		chesttracker: Chest Tracker 2.4.12+1.21
			searchables: Searchables 1.0.1
			whereisit: Where Is It 2.5.0+1.21
				jackfredlib: JackFredLib 0.10.0+1.21
					jackfredlib-base: JackFredLib: Base 1.4.0+1.21
					jackfredlib-colour: JackFredLib: Colour 1.1.0+1.21
					jackfredlib-extracommandsourcedata: JackFredLib: Extra Command Source Data 1.1.1+1.21
					jackfredlib-gps: JackFredLib: GPS 1.0.7+1.21
					jackfredlib-lying: JackFredLib: Lying 0.5.5+1.21
					jackfredlib-toasts: JackFredLib: Toasts 1.1.0+1.21
		cloth-config: Cloth Config v15 15.0.128
			cloth-basic-math: cloth-basic-math 0.6.1
		creeper-warning: Creeper Warning 1.0.21
		cullleaves: Cull Leaves 3.4.0
			midnightlib: MidnightLib 1.5.7
		dynamic_fps: Dynamic FPS 3.6.0
			net_lostluma_battery: battery 1.0.1
		entityseparator: Entity Separator 0.2.3+1.21
		essentialgui: EssentialGUI 1.10.1
		fabric-api: Fabric API 0.100.7+1.21
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.67+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-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a7d1
			fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8cd1
			fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1
			fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1
			fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1
			fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.15+b5597344d1
			fabric-convention-tags-v1: Fabric Convention Tags 2.0.18+7f945d5bd1
			fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.4.2+c111832ad1
			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.25+6a6dfa19d1
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.12+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.10+e633f883d1
			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.3+78017270d1
			fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a7d1
			fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b3d1
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.11+8f3583aed1
			fabric-loot-api-v2: Fabric Loot API (v2) 3.0.13+3f89f5a5d1
			fabric-loot-api-v3: Fabric Loot API (v3) 1.0.1+3f89f5a5d1
			fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
			fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6bd1
			fabric-networking-api-v1: Fabric Networking API (v1) 4.2.0+ab7edbacd1
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.13+d1321076d1
			fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
			fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.10+65089712d1
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.25+5bd9f1bcd1
			fabric-renderer-api-v1: Fabric Renderer API (v1) 3.3.0+0ae0b97dd1
			fabric-renderer-indigo: Fabric Renderer - Indigo 1.6.5+48fb1586d1
			fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.68+df3654b3d1
			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-rendering-v0: Fabric Rendering (v0) 1.1.71+df3654b3d1
			fabric-rendering-v1: Fabric Rendering (v1) 5.0.5+df16efd0d1
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.2.1+d153f344d1
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.2.0+7e687b32d1
			fabric-screen-api-v1: Fabric Screen API (v1) 2.0.24+b5597344d1
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.82+b5597344d1
			fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8cd1
			fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.15+3dccd343d1
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.12+6573ed8cd1
		fabricloader: Fabric Loader 0.16.0
			mixinextras: MixinExtras 0.4.0
		ferritecore: FerriteCore 7.0.0
		gammautils: Gamma Utils 1.9.20
		hotbarcycle: Hotbar Cycle 1.1.2
		immediatelyfast: ImmediatelyFast 1.2.18+1.21
			net_lenni0451_reflect: Reflect 1.3.4
		inventory-tabs: Inventory Tabs 1.3.3+1.21
			folk_sisby_kaleido-config: kaleido-config 0.3.1+1.3.1
		invmove: InvMove 0.8.8
		item-despawn-timer: Item Despawn Timer 0.1.5
		itemscroller: Item Scroller 0.23.999-sakura.3
		jade: Jade 15.1.4+fabric
		java: Java HotSpot(TM) 64-Bit Server VM 21
		jei: Just Enough Items 19.5.0.45
		krypton: Krypton 0.2.8
			com_velocitypowered_velocity-native: velocity-native 3.3.0-SNAPSHOT
		librarian-trade-finder: Librarian Trade Finder 3.0.0
		litematica: Litematica 0.18.999-sakura.17
		lithium: Lithium 0.12.7
		malilib: MaLiLib 0.19.999-sakura.6
		mcbrowser: MCBrowser 1.1.0-Alpha1
		mcef: MCEF (Minecraft Chromium Embedded Framework) 2.1.5-1.21
		minecraft: Minecraft 1.21
		minihud: MiniHUD 0.31.999-sakura.8
		modmenu: Mod Menu 11.0.1
			placeholder-api: Placeholder API 2.4.0-pre.2+1.21
		nochatreports: No Chat Reports 1.21-v2.8.0
		notenoughcrashes: Not Enough Crashes 4.4.8+1.21
		notes: Notes 1.21-2.1.1-fabric
		offershud: OffersHUD 1.21-1.6.1
		owo: oรโ€ฐo 0.12.10+1.21
			io_wispforest_endec: endec 0.1.0
			io_wispforest_endec_gson: gson 0.1.0
			io_wispforest_endec_jankson: jankson 0.1.0
			io_wispforest_endec_netty: netty 0.1.0
		provihealth: Provi's Health Bars 2.1.0+1.21
			lilylib: LilyLib 1.1.3+1.21
		quickmenu: Quick Menu 1.2.4
		rrls: Remove Reloading Screen 5.0.6+mc1.21-fabric
		seedcrackerx: SeedCrackerX 2.15.0
		sodium: Sodium 0.5.11+mc1.21
		stendhal: Stendhal 1.4.1-1.21
			libgui: LibGui 11.0.0+1.21
				jankson: Jankson 8.0.0+j1.2.3
					blue_endless_jankson: jankson 1.2.3
				libninepatch: LibNinePatch 1.2.0
		symbol-chat: Symbol Chat 1.21-1.2.6
		toomanybinds: Too Many Binds 0.3.4+1.20.2
		trajectory-preview: Trajectory Preview 4.0-1.21
		tweakeroo: Tweakeroo 0.20.999-sakura.14
		xaerominimap: Xaero's Minimap 24.2.1
		xaeroworldmap: Xaero's World Map 1.38.8
		yet_another_config_lib_v3: YetAnotherConfigLib 3.5.0+1.21-fabric
			com_twelvemonkeys_common_common-image: common-image 3.10.0
			com_twelvemonkeys_common_common-io: common-io 3.10.0
			com_twelvemonkeys_common_common-lang: common-lang 3.10.0
			com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0
			com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0
			com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0
			org_quiltmc_parsers_gson: gson 0.2.1
			org_quiltmc_parsers_json: json 0.2.1
	Client Crashes Since Restart: 1
	Integrated Server Crashes Since Restart: 0
	Suspected Mods: Minecraft (minecraft), Chat Patches (chatpatches), Fabric Loader (fabricloader), Fabric Screen API (v1) (fabric-screen-api-v1)
[17:08:37] [Render thread/ERROR]: [ChatLog.lambda$serialize$1] /!\ Please report this error on GitHub or Discord with the full log file attached! /!\
com.google.gson.JsonParseException: Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set
	at obro1961.chatpatches.chatlog.ChatLog.lambda$serialize$1(ChatLog.java:192) ~[chatpatches-210.6.6.jar:?]
	at com.mojang.serialization.DataResult$Error.resultOrPartial(DataResult.java:276) ~[datafixerupper-8.0.16.jar:?]
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:191) ~[chatpatches-210.6.6.jar:?]
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:81) ~[chatpatches-210.6.6.jar:?]
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101) ~[fabric-screen-api-v1-2.0.24+b5597344d1-fe0594de7304123c.jar:?]
	at net.minecraft.class_437.afterInit(class_437.java:2331) [client-intermediary.jar:?]
	at net.minecraft.class_437.handler$bok000$fabric-screen-api-v1$afterInitScreen(class_437.java:2284) [client-intermediary.jar:?]
	at net.minecraft.class_437.method_25423(class_437.java:318) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1507(class_310.java:1143) [client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.displayCrashScreen(InGameCatcher.java:112) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:35) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.modify$dcm000$notenoughcrashes$atTheEndOfSecondCatchBeforePrintingCrashReport(class_310.java:18255) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:905) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.0.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
[17:08:37] [Render thread/ERROR]: An uncaught exception occured while displaying the crash screen, making normal report instead
java.util.NoSuchElementException: No value present
	at java.base/java.util.Optional.orElseThrow(Optional.java:377) ~[?:?]
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:193) ~[chatpatches-210.6.6.jar:?]
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:81) ~[chatpatches-210.6.6.jar:?]
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101) ~[fabric-screen-api-v1-2.0.24+b5597344d1-fe0594de7304123c.jar:?]
	at net.minecraft.class_437.afterInit(class_437.java:2331) ~[client-intermediary.jar:?]
	at net.minecraft.class_437.handler$bok000$fabric-screen-api-v1$afterInitScreen(class_437.java:2284) ~[client-intermediary.jar:?]
	at net.minecraft.class_437.method_25423(class_437.java:318) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1507(class_310.java:1143) ~[client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.displayCrashScreen(InGameCatcher.java:112) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:35) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.modify$dcm000$notenoughcrashes$atTheEndOfSecondCatchBeforePrintingCrashReport(class_310.java:18255) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:905) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.0.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
[17:08:37] [Render thread/ERROR]: [ChatLog.lambda$serialize$1] /!\ Please report this error on GitHub or Discord with the full log file attached! /!\
com.google.gson.JsonParseException: Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:unbreaking]=Enchantment Unbreaking} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sharpness]=Enchantment Sharpness} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:mending]=Enchantment Mending} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:looting]=Enchantment Looting} is not valid in current registry set; Element Reference{ResourceKey[minecraft:enchantment / minecraft:sweeping_edge]=Enchantment Sweeping Edge} is not valid in current registry set
	at obro1961.chatpatches.chatlog.ChatLog.lambda$serialize$1(ChatLog.java:192) ~[chatpatches-210.6.6.jar:?]
	at com.mojang.serialization.DataResult$Error.resultOrPartial(DataResult.java:276) ~[datafixerupper-8.0.16.jar:?]
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:191) ~[chatpatches-210.6.6.jar:?]
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:81) ~[chatpatches-210.6.6.jar:?]
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101) ~[fabric-screen-api-v1-2.0.24+b5597344d1-fe0594de7304123c.jar:?]
	at net.minecraft.class_437.afterInit(class_437.java:2331) [client-intermediary.jar:?]
	at net.minecraft.class_437.handler$bok000$fabric-screen-api-v1$afterInitScreen(class_437.java:2284) [client-intermediary.jar:?]
	at net.minecraft.class_437.method_25423(class_437.java:318) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1507(class_310.java:1143) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_18098(class_310.java:2314) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_18096(class_310.java:2248) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_56134(class_310.java:2219) [client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.cleanupBeforeMinecraft(InGameCatcher.java:54) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.handler$dcm000$notenoughcrashes$beforeCleanUpAfterCrash(class_310.java:18268) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1519(class_310.java) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_54580(class_310.java:950) [client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.displayCrashScreen(InGameCatcher.java:117) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:35) [notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.modify$dcm000$notenoughcrashes$atTheEndOfSecondCatchBeforePrintingCrashReport(class_310.java:18255) [client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:905) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.0.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
[17:08:37] [Render thread/ERROR]: Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.util.NoSuchElementException: No value present
	at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:482) ~[fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.0.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.0.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
Caused by: java.util.NoSuchElementException: No value present
	at java.base/java.util.Optional.orElseThrow(Optional.java:377) ~[?:?]
	at obro1961.chatpatches.chatlog.ChatLog.serialize(ChatLog.java:193) ~[chatpatches-210.6.6.jar:?]
	at obro1961.chatpatches.ChatPatches.lambda$onInitializeClient$2(ChatPatches.java:81) ~[chatpatches-210.6.6.jar:?]
	at net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.lambda$static$2(ScreenEvents.java:101) ~[fabric-screen-api-v1-2.0.24+b5597344d1-fe0594de7304123c.jar:?]
	at net.minecraft.class_437.afterInit(class_437.java:2331) ~[client-intermediary.jar:?]
	at net.minecraft.class_437.handler$bok000$fabric-screen-api-v1$afterInitScreen(class_437.java:2284) ~[client-intermediary.jar:?]
	at net.minecraft.class_437.method_25423(class_437.java:318) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1507(class_310.java:1143) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_18098(class_310.java:2314) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_18096(class_310.java:2248) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_56134(class_310.java:2219) ~[client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.cleanupBeforeMinecraft(InGameCatcher.java:54) ~[notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.handler$dcm000$notenoughcrashes$beforeCleanUpAfterCrash(class_310.java:18268) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1519(class_310.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_54580(class_310.java:950) ~[client-intermediary.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.displayCrashScreen(InGameCatcher.java:117) ~[notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:35) ~[notenoughcrashes-4.4.8+1.21-fabric.jar:?]
	at net.minecraft.class_310.modify$dcm000$notenoughcrashes$atTheEndOfSecondCatchBeforePrintingCrashReport(class_310.java:18255) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:905) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) ~[minecraft-1.21-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.0.jar:?]
	... 5 more
Process exited with code 1.```
</details>
commented

has anyone reproduced this bug without any other mods (just chat patches and its dependencies)?

commented

please test this one instead: https://github.com/mrbuilder1961/ChatPatches/actions/runs/10312134468/artifacts/1793179405

i had one person say this build fixed the issue, see if it does for you all as well

this is the most recent dev build and i think has the highest chance of actually fixing the issue. as a reminder, please send your https://mclo.gs link with your results otherwise I can't verify or use them.

commented

Tried the latest build, the issue persists.
https://mclo.gs/0olfsQv

commented

none of those errors are from chat patches, so i'm assuming the issue you're referring to is the lag-inducing chat log loading?

in that case could you repost this log under #191? this would also mean this issue (#180) seems to be solved for at least one person!!

otherwise you must be referring to something else entirely or you sent the wrong log.

commented

fixed in 211.6.7!