Black screen and Freezes during a Match: NullPointerException
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Hi, during matches i have random blackscreen and all the match freezes... i'm also unable to restore the game. If i reduce the XMage window to an icon, nothing reappears and i'm stuck in a completely black screen. What can i do? I'm on Windows 11, latest release, Beta Server. I leave here the log:
Error type: General error - NullPointerException
Client version: 1.4.57-V2 (build: 2025-04-19 14:23)
Java version: 1.8.0_201
Default charset: UTF-8
NullPointerException - look at server or client logs for more details
Stack trace:
java.util.Objects.requireNonNull(Objects.java:203)
java.util.Optional.(Optional.java:96)
java.util.Optional.of(Optional.java:108)
mage.remote.SessionImpl.getTableChatId(SessionImpl.java:738)
mage.client.SessionHandler.getTableChatId(SessionHandler.java:180)
mage.client.dialog.TableWaitingDialog.showDialog(TableWaitingDialog.java:127)
mage.client.MageFrame.showTableWaitingDialog(MageFrame.java:898)
mage.client.remote.CallbackClientImpl.joinedTable(CallbackClientImpl.java:603)
mage.client.remote.CallbackClientImpl.lambda$onCallback$2(CallbackClientImpl.java:217)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at mage.remote.SessionImpl.getTableChatId line 738, then follow the call through SessionHandler.getTableChatId, TableWaitingDialog.showDialog, and CallbackClientImpl.joinedTable. Reproduce the match-join or table-waiting flow using the supplied Windows 11 and beta-server context; done means the NullPointerException no longer causes a black, frozen, unrestorable match.
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
- 25/100