Crash when getting kicked while in Inventory
When opening the inventory and loosing the connection from the server (e.g. kicked from the console), the game crashes with the following crash report:
Description: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)
Code analysis
Code analysis by Tobias Hotz can be found in this comment.
Linked Issues
is duplicated by1
Created Issue:
Occasional crash when getting kicked from server
I played with some frinds on a server, kicked myself from the console and crashed instead of getting. I tested again and one in four times I crash with this crash report
I played with some frinds on a server, kicked myself from the console and crashed instead of getting. I tested again and one in four times I crash with this crash report
(1.13-pre10) crash-2018-07-17_21.58.17-client.txt
Description: Unexpected error java.lang.NullPointerException: Unexpected error at clc.n(SourceFile:218) at cfg.a(SourceFile:734) at cfg.a(SourceFile:1525) at cfg.a(SourceFile:1499) at cqq.a(SourceFile:708) at hw.l(SourceFile:396) at cqs.d(SourceFile:271) at cfg.m(SourceFile:1219) at cfg.c(SourceFile:818) at cfg.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)
I played with some frinds on a server, kicked myself from the console and crashed instead of getting. I tested again and one in four times I crash with this crash report
(1.13-pre10) crash-2018-07-17_21.58.17-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clc.n(SourceFile:218) at cfg.a(SourceFile:734) at cfg.a(SourceFile:1525) at cfg.a(SourceFile:1499) at cqq.a(SourceFile:708) at hw.l(SourceFile:396) at cqs.d(SourceFile:271) at cfg.m(SourceFile:1219) at cfg.c(SourceFile:818) at cfg.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting. I tested again and one in four times I crash with this crash report.
(1.13-pre10) crash-2018-07-17_21.58.17-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clc.n(SourceFile:218) at cfg.a(SourceFile:734) at cfg.a(SourceFile:1525) at cfg.a(SourceFile:1499) at cqq.a(SourceFile:708) at hw.l(SourceFile:396) at cqs.d(SourceFile:271) at cfg.m(SourceFile:1219) at cfg.c(SourceFile:818) at cfg.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)
I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting. I tested again and one in four times I crash with this crash report.
(1.13-pre10) crash-2018-07-17_21.58.17-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clc.n(SourceFile:218) at cfg.a(SourceFile:734) at cfg.a(SourceFile:1525) at cfg.a(SourceFile:1499) at cqq.a(SourceFile:708) at hw.l(SourceFile:396) at cqs.d(SourceFile:271) at cfg.m(SourceFile:1219) at cfg.c(SourceFile:818) at cfg.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting. I tested again and one in four times I crash with this crash report.
(1.13) crash-2018-07-18_19.59.56-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at cle.n(SourceFile:218) at cfi.a(SourceFile:734) at cfi.a(SourceFile:1525) at cfi.a(SourceFile:1499) at cqs.a(SourceFile:708) at hw.l(SourceFile:396) at cqu.d(SourceFile:271) at cfi.m(SourceFile:1219) at cfi.c(SourceFile:818) at cfi.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)
is duplicated by
I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting. I tested again and one in four times I crash with this crash report.
(1.13) crash-2018-07-18_19.59.56-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at cle.n(SourceFile:218) at cfi.a(SourceFile:734) at cfi.a(SourceFile:1525) at cfi.a(SourceFile:1499) at cqs.a(SourceFile:708) at hw.l(SourceFile:396) at cqu.d(SourceFile:271) at cfi.m(SourceFile:1219) at cfi.c(SourceFile:818) at cfi.a(SourceFile:392) at net.minecraft.client.main.Main.main(SourceFile:144)I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting. I tested again and one in four times I crash with this crash report.
(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)
Occasional crash when getting kickedfrom serverCrash when getting kicked while in Inventory
I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting kicked. I tested again and one in four times I crash with this crash report.
(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)Code analysis
Code analysis by Tobias Hotz can be found in this comment.
I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting kicked. I tested again and one in four times I crash with this crash report.
(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)Code analysis
Code analysis by Tobias Hotz can be found in
this comment.I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting kicked. I tested again and one in four times I crash with this crash report.
(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)Code analysis
Code analysis by Tobias Hotz can be found in this comment.
I played with some frinds on a dedicated server, kicked myself from the console while having the inventory open and crashed instead of getting kicked. I tested again and one in four times Icrash with thiscrash report.(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)Code analysis
Code analysis by Tobias Hotz can be found in this comment.
When opening the inventory and loosing the connection from the server (e.g. kicked from the console), the game crashes with the following crash report:
(18w31a) crash-2018-08-04_19.45.52-client.txtDescription: Unexpected error java.lang.NullPointerException: Unexpected error at clm.n(SourceFile:218) at cfq.a(SourceFile:737) at cfq.a(SourceFile:1529) at cfq.a(SourceFile:1503) at cra.a(SourceFile:715) at hx.l(SourceFile:396) at crc.d(SourceFile:272) at cfq.m(SourceFile:1223) at cfq.c(SourceFile:821) at cfq.a(SourceFile:395) at net.minecraft.client.main.Main.main(SourceFile:144)Code analysis
Code analysis by Tobias Hotz can be found in this comment.
Can confirm, After I using /team command and setting up prefix/color. The game will crash or kick player from realms.
Some code analysis based on MCPConfig for 1.13:
The last method in the stacktrace (called GuiInventory#onGuiClosed in MCP) is checking if the player is in creative mode to clean up the recipe book state. But the PlayedControllerMP is already null because we lost the connection to the remote server, and because GuiInventory doesn't handle a null PlayerControllerMP, the game crashes with an NPE
Can no longer reproduce in 18w32a