magefree / magefree/mage

CLIENT - unhandled error in GUI - IndexOutOfBoundsException

Open
#13,357 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.56-V3 (build: 2025-02-09 16:02)
Java version: 1.8.0_201
Default charset: UTF-8

Invalid index

Stack trace:
javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:514)
sun.swing.FilePane$SortableListModel.getElementAt(FilePane.java:670)
javax.swing.JList.getSelectedValue(JList.java:2347)
javax.swing.plaf.basic.BasicFileChooserUI$Handler.valueChanged(BasicFileChooserUI.java:545)
javax.swing.JList.fireSelectionValueChanged(JList.java:1802)
javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1816)
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685)
javax.swing.JList.setValueIsAdjusting(JList.java:2146)
and other 78 lines

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported Java Swing stack trace, especially DefaultRowSorter.convertRowIndexToModel and the file chooser selection path. Determine which XMage GUI action triggers the Invalid index error and locate the project code involved; done means the action no longer produces an unhandled IndexOutOfBoundsException, with a regression check if the relevant test path exists.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.