magefree / magefree/mage

CLIENT - unhandled error in GUI - IndexOutOfBoundsException

Open
#13,896 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Error type: CLIENT - unhandled error in GUI - IndexOutOfBoundsException

Client version: 1.4.57-V2 (build: 2025-04-19 14:23)
Java version: 1.8.0_201
Default charset: UTF-8

Index: 0, Size: 0

Stack trace:
java.util.ArrayList.rangeCheck(ArrayList.java:657)
java.util.ArrayList.get(ArrayList.java:433)
mage.client.cards.CardDraggerGlassPane.handleDragStart(CardDraggerGlassPane.java:109)
mage.client.cards.DragCardGrid$16.mouseDragged(DragCardGrid.java:2013)
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
java.awt.Component.processMouseMotionEvent(Component.java:6587)
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
java.awt.Component.processEvent(Component.java:6308)
java.awt.Container.processEvent(Container.java:2239)
java.awt.Component.dispatchEventImpl(Component.java:4889)
and other 26 lines

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting mage.client.cards.CardDraggerGlassPane.java at line 109 and the mouse-drag path in DragCardGrid.java around line 2013. Reproduce the GUI drag action that yields an empty list, then verify that the reported IndexOutOfBoundsException no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.