mojira.dev
MC-231863

Game crashes when trying to access the realms settings

The bug

Anytime I try to open my realm settings, I get this:

The game crashed whilst rendering screen
Error: java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "☃" is null
Exit Code: -1

I recently took the world down and added two new datapacks that had been requested. I've done this multiple times in the past and never had problems with it. I'm unsure if this is a problem with my computer or with a way the world reuploaded itself.

Stack trace

1.17.1: [^crash-2021-07-12_19.40.33-client.txt]

Description: Rendering screen

java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "☃" is null
	at dud.b(SourceFile:176)
	at dud.a(SourceFile:47)
	at dsq.a(SourceFile:188)
	at dsq.b(SourceFile:168)
	at dwy.a(SourceFile:67)
	at eaq.a(SourceFile:107)
	at dsx.a(SourceFile:208)
	at enb.a(SourceFile:874)
	at dvp.f(SourceFile:1112)
	at dvp.e(SourceFile:728)
	at net.minecraft.client.main.Main.main(SourceFile:217)

Linked issues

MC-232150 Java Edition Realms Crashing When Accessing "Configure" Resolved MC-232158 Realms for Java - Clicking on "configure realm" crashes the game Resolved MC-232171 Minecraft Java Realm Crashes when clicking "Configure" button to edit realm Resolved MC-232264 Crashing game when configure a Realm Resolved MC-232273 realms crashing when trying to configure realm Resolved

Attachments

Comments 25

Hello! Could you please attach the crash report found in [minecraft/crash-reports/crash-<DATE>-client.txt|https://minecrafthopper.net/help/finding-minecraft-data-folder/] to this report? If you cannot find a crash report, you can attach the full launcher log found in [minecraft/launcher_log.txt|https://minecrafthopper.net/help/finding-minecraft-data-folder/]. This information will help others better understand your issue. Thank you!

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

I have the same issue, I was playing a race for the wool map last night with some friends and now I can't open the realms option menu. When I try to open the menu, it shows the buttons, but not the world previews for about 2 seconds and then goes to a Saving World... screen and then crashes with the same error message above. The map has two data packs in the world file and was designed for 1.16.4.

Map Link

https://www.curseforge.com/minecraft/worlds/race-for-the-wool-bleb-edition

Having the same issue since yesterday. When you try and configure the realm it goes to saving world and then crashes. Tried rebooting etc no change. The world that can't be changed was 1.17.1

[media][media]

I having the same

[media]
15 more comments

Same issue on a MacOS as well.

I've tested with 1.17.1 and 1.17, both have the same crash when trying to configure the first realm I manage. I can get in and access the configuration for the other realms I manage, so it may just be related to the first one in the list?

I've tested with and without resourcepacks, with and without optifine, full screen / windowed, updated Java, all have had no effect.

The last configuration change I was making to the realm was uploading a locally configured world to the realm, and the upload got stuck about 63%. Backing out of the upload then lead to the first crash, and the realm was stuck with a corrupted version of the world. I've been unable to configure the realm since then.

Ryan Xie  i have that same exact message and code

 

Update, I had this error and now it has fixed itself. Very strange.

I made no changes to any of my client settings and I now have normal range of operations in all my realms configurations. I have been able to upload and reconfigure multiple worlds in my first realm.

Suspect that maybe there was a server refresh or something similar on the server end that was able to flush the stuck settings.

I also noticed a reduction in the lag that appeared in my other realms at the same time.

I fixed it by completely deleting the file that is crashing the game. Ex:I downloaded a datapack, than added it to the game but the game crashes, so delete the datapack that is crashing the game. then it will solve the problem (it worked for me anyways)

Roman Reilander

(Unassigned)

Community Consensus

Very Important

Crash

1.17.1

21w37a

Retrieved