magefree / magefree/mage

CLIENT - unhandled error in GUI - NullPointerException

Open
#15,426 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

Game actions:
```
8:24 PM: TURN 37 for KELP_ME (57 - -6 - 18 - 14)
8:24 PM, T37.DR: KELP_ME draws a card
8:24 PM, T37.M1: KELP_ME puts [Wastes](https://github.com/magefree/mage/issues/new#Wastes) [327] from hand onto the Battlefield
8:24 PM, T37.M1: KELP_ME plays [Wastes](https://github.com/magefree/mage/issues/new#Wastes) [327]
8:24 PM, T37.M1: KELP_ME casts [Zhulodok, Void Gorger](https://github.com/magefree/mage/issues/new#Zhulodok,%20Void%20Gorger) [632] from command
8:24 PM, T37.M1: KELP_ME - Ability triggers: [Forsaken Monument](https://github.com/magefree/mage/issues/new#Forsaken%20Monument) [240] - Whenever you cast a colorless spell, you gain 2 life.
8:24 PM, T37.M1: KELP_ME gains 2 life (source: [Forsaken Monument](https://github.com/magefree/mage/issues/new#Forsaken%20Monument) [240])
```

Error:
```
Error type: CLIENT - unhandled error in GUI - NullPointerException

Client version: 1.4.60-V1 (build: 2026-06-20 17:21)
Java version: 1.8.0_491
Default charset: UTF-8

NullPointerException - look at server or client logs for more details

Stack trace:
javax.swing.text.FlowView$FlowStrategy.createView(FlowView.java:663)
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.modelToView(BoxView.java:482)
javax.swing.text.CompositeView.modelToView(CompositeView.java:265)
javax.swing.text.BoxView.modelToView(BoxView.java:484)
javax.swing.text.CompositeView.modelToView(CompositeView.java:265)
javax.swing.text.BoxView.modelToView(BoxView.java:484)
and other 22 lines
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the listed game actions involving Wastes, Zhulodok, Void Gorger, and Forsaken Monument, then inspect the server or client logs for the complete exception. Trace the javax.swing.text.FlowView stack from the GUI event that triggers it. Done means the same action no longer produces an unhandled GUI NullPointerException.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.