CLIENT - unhandled error in GUI - ConcurrentModificationException
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Error type: CLIENT - unhandled error in GUI - ConcurrentModificationException
Client version: 1.4.58-V1 (build: 2025-10-06 20:20)
Java version: 1.8.0_201
Default charset: UTF-8
ConcurrentModificationException - look at server or client logs for more details
Stack trace:
java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
java.util.ArrayList$Itr.next(ArrayList.java:859)
org.mage.plugins.card.CardPluginImpl.sortPermanents(CardPluginImpl.java:356)
mage.client.plugins.impl.Plugins.sortPermanents(Plugins.java:137)
mage.client.util.layout.impl.CardLayoutStrategyImpl.doLayout(CardLayoutStrategyImpl.java:60)
mage.client.game.BattlefieldPanel.sortLayout(BattlefieldPanel.java:273)
mage.client.game.BattlefieldPanel.changeGUISize(BattlefieldPanel.java:125)
mage.client.game.PlayAreaPanel.changeGUISize(PlayAreaPanel.java:102)
mage.client.game.GamePanel.changeGUISize(GamePanel.java:498)
mage.client.game.GamePane.changeGUISize(GamePane.java:44)
and other 4 lines
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with org.mage.plugins.card.CardPluginImpl.sortPermanents at line 356 and follow the callers in Plugins.sortPermanents, CardLayoutStrategyImpl.doLayout, and BattlefieldPanel.changeGUISize. Reproduce or investigate the ConcurrentModificationException during GUI resizing using the reported client and Java versions. Done means resizing the GUI no longer produces this unhandled exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100