mojira.dev
MC-312536

ConcurrentModificationException in ResolvableProfile

Steps to Reproduce:
Having lot of player traffic (tablist updates) and sending unresolved profiles (in chat as components)

Observed Results:
Client crash

Description: Render Frame

java.util.ConcurrentModificationException
	at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1606)
	at java.base/java.util.HashMap$ValueIterator.next(HashMap.java:1634)
	at net.minecraft.client.multiplayer.ClientPacketListener.getPlayerInfoIgnoreCase(ClientPacketListener.java:2562)
	at net.minecraft.client.player.LocalPlayerResolver.fetchByName(LocalPlayerResolver.java:28)
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
	at net.minecraft.server.players.ProfileResolver.fetchByNameOrId(ProfileResolver.java:25)
	at net.minecraft.world.item.component.ResolvableProfile$Dynamic.lambda$resolveProfile$0(ResolvableProfile.java:225)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
	at java.base/java.lang.Thread.run(Thread.java:1474)

Expected Results:
No crash

Comments 0

No comments.

Valaphee

(Unassigned)

Unconfirmed

26.3

Retrieved