magefree / magefree/mage

CLIENT - unhandled error in GUI - ArrayIndexOutOfBoundsException

Open
#13,539 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Error type: CLIENT - unhandled error in GUI - ArrayIndexOutOfBoundsException

Client version: 1.4.57-V1 (build: 2025-04-11 13:50)
Java version: 1.8.0_201
Default charset: UTF-8

2

Stack trace:
javax.swing.text.CompositeView.getView(CompositeView.java:160)
javax.swing.text.FlowView$FlowStrategy.createView(FlowView.java:662)
javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:520)
javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:477)
javax.swing.text.FlowView.layout(FlowView.java:201)
javax.swing.text.BoxView.setSize(BoxView.java:397)
javax.swing.text.BoxView.viewToModel(BoxView.java:501)
javax.swing.text.CompositeView.viewToModel(CompositeView.java:425)
javax.swing.text.BoxView.viewToModel(BoxView.java:503)
javax.swing.text.CompositeView.viewToModel(CompositeView.java:425)
and other 40 lines

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error in the GUI using client version 1.4.57-V1, then trace the Swing path through CompositeView.getView and FlowView$FlowStrategy.layoutRow. Identify the interaction that causes the ArrayIndexOutOfBoundsException and verify the GUI no longer reports an unhandled error.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.