Mojira Archive
MC-116927

Server crashes with "null" as advancement title or description value

The bug

Setting the title or description of an advancement to null crashes the server.

Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
	at i.<init>(SourceFile:51)
	at i$a.a(SourceFile:170)
	at j.a(SourceFile:65)
	at ng.a(SourceFile:74)
	at ng.<init>(SourceFile:66)
	at ob.b(SourceFile:162)
	at cgl.a(SourceFile:98)
	at cgl.j(SourceFile:130)
	at net.minecraft.server.MinecraftServer.run(SourceFile:436)
	at java.lang.Thread.run(Unknown Source)
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
	at gw.a(SourceFile:18)
	at i.<init>(SourceFile:54)
	at i$a.a(SourceFile:170)
	at j.a(SourceFile:65)
	at ng.a(SourceFile:74)
	at ng.<init>(SourceFile:66)
	at ob.b(SourceFile:162)
	at cgl.a(SourceFile:98)
	at cgl.j(SourceFile:130)
	at net.minecraft.server.MinecraftServer.run(SourceFile:436)
	at java.lang.Thread.run(Unknown Source)

Note: It is likely that MC-87587 and MC-92867 can cause a crash as well.

How to reproduce

  1. Download the attached advancement title_description_null.json and place it in the following directory of your world folder
    data\advancements\custom
    
  2. Load the world

Fixed

Marcono1234

[Mojang] Nathan Adams

2017-05-02, 10:40 PM

2017-05-16, 01:09 PM

2017-05-16, 01:09 PM

1

0

Confirmed

advancement, crash, description, null, null-pointer-exception, server, text-component, title

Minecraft 17w17b, Minecraft 17w18b

Minecraft 1.12 Pre-Release 3