mojira.dev
MC-145925

Realms button crash NoSuchMethodError: RealmsClientOutdatedScreen

After starting the game, clicking on the Minecraft Realms button will result in a version incompatible screen which is expected to happen. However, after going back to the Main Menu and trying to click again, the game will crash after displaying Saving World for a few seconds:

19w11b\: [^crash-2019-03-14_22.07.20-client.txt]

Description: mouseClicked event handler

java.lang.NoSuchMethodError: com.mojang.realmsclient.gui.screens.RealmsClientOutdatedScreen.buttonsAdd(Lnet/minecraft/realms/RealmsButton;)V
	at com.mojang.realmsclient.gui.screens.RealmsClientOutdatedScreen.init(RealmsClientOutdatedScreen.java:21)
	at cwx.c(SourceFile:51)
	at cyg.a(SourceFile:320)
	at cwx.a(SourceFile:42)
	at ctp.a(SourceFile:849)
	at net.minecraft.realms.Realms.setScreenDirect(SourceFile:83)
	at net.minecraft.realms.Realms.lambda$setScreen$0(SourceFile:77)
	at net.minecraft.realms.Realms$$Lambda$1749/646213461.get(Unknown Source)
	at afy.a(SourceFile:49)
	at net.minecraft.realms.Realms.execute(SourceFile:68)
	at net.minecraft.realms.Realms.setScreen(SourceFile:76)
	at com.mojang.realmsclient.RealmsMainScreen.init(RealmsMainScreen.java:200)
	at cwx.c(SourceFile:51)
	at cyg.a(SourceFile:320)
	at cwx.a(SourceFile:42)
	at ctp.a(SourceFile:849)
	at net.minecraft.realms.RealmsBridge.switchToRealms(SourceFile:31)
	at cyk.l(SourceFile:229)
	at cyk.a(SourceFile:30)
	at cyk$6.a(SourceFile:191)
	at cut.b(SourceFile:39)
	at cvo.b(SourceFile:45)
	at cyk.b(SourceFile:341)
	at ctq.b(SourceFile:86)
	at ctq$$Lambda$1723/359985955.run(Unknown Source)
	at cyg.a(SourceFile:438)
	at ctq.a(SourceFile:86)
	at ctq$$Lambda$1450/546704209.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3129)
	at csj.c(SourceFile:292)
	at ctp.b_(SourceFile:1043)
	at ctp.d(SourceFile:992)
	at ctp.b(SourceFile:413)
	at net.minecraft.client.main.Main.main(SourceFile:154)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at com.mojang.realmsclient.gui.screens.RealmsClientOutdatedScreen.init(RealmsClientOutdatedScreen.java:21)
	at cwx.c(SourceFile:51)
	at cyg.a(SourceFile:320)
	at cwx.a(SourceFile:42)
	at ctp.a(SourceFile:849)
	at net.minecraft.realms.Realms.setScreenDirect(SourceFile:83)
	at net.minecraft.realms.Realms.lambda$setScreen$0(SourceFile:77)
	at net.minecraft.realms.Realms$$Lambda$1749/646213461.get(Unknown Source)
	at afy.a(SourceFile:49)
	at net.minecraft.realms.Realms.execute(SourceFile:68)
	at net.minecraft.realms.Realms.setScreen(SourceFile:76)
	at com.mojang.realmsclient.RealmsMainScreen.init(RealmsMainScreen.java:200)
	at cwx.c(SourceFile:51)
	at cyg.a(SourceFile:320)
	at cwx.a(SourceFile:42)
	at ctp.a(SourceFile:849)
	at net.minecraft.realms.RealmsBridge.switchToRealms(SourceFile:31)
	at cyk.l(SourceFile:229)
	at cyk.a(SourceFile:30)
	at cyk$6.a(SourceFile:191)
	at cut.b(SourceFile:39)
	at cvo.b(SourceFile:45)
	at cyk.b(SourceFile:341)
	at ctq.b(SourceFile:86)
	at ctq$$Lambda$1723/359985955.run(Unknown Source)

-- Affected screen --
Details:
	Screen name: cyk
Stacktrace:
	at cyg.a(SourceFile:438)
	at ctq.a(SourceFile:86)
	at ctq$$Lambda$1450/546704209.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3129)
	at csj.c(SourceFile:292)
	at ctp.b_(SourceFile:1043)
	at ctp.d(SourceFile:992)
	at ctp.b(SourceFile:413)
	at net.minecraft.client.main.Main.main(SourceFile:154)

Linked issues

Attachments

Comments 2

Realms are not supposed to work in Snapshots.

 

Here's why:

Stated by Minecraft Wiki (on Gamepedia), "Realms cannot be used in old versions of the game, snapshots, or betas."^^

 

Please read the realms page for more information.

Correct. However, clicking that button is not supposed to crash the game, it's just supposed to show a message that your client is incompatible with Realms.

Stefan-Ionut Barbu

(Unassigned)

Confirmed

crash

Minecraft 19w11b

Minecraft 19w12a

Retrieved