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.57-V2 (build: 2025-04-19 14:23)
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:351)
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.updateSize(BattlefieldPanel.java:101)
mage.client.game.BattlefieldPanel$1.componentResized(BattlefieldPanel.java:88)
java.awt.Component.processComponentEvent(Component.java:6365)
java.awt.Component.processEvent(Component.java:6319)
and other 22 lines
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with org.mage.plugins.card.CardPluginImpl.sortPermanents at line 351, then follow its callers in Plugins.java, CardLayoutStrategyImpl.java, and BattlefieldPanel.java. Use the stack trace to investigate the concurrent modification during GUI layout and verify that resizing or sorting the battlefield no longer produces the reported 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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100