mojira.dev
MC-119214

When trying to open Advancement screen with custom advancements I get a java.lang.NullPointerException: Registering texture

I get this crash report

java.lang.NullPointerException: Registering texture
    at cdr.a(SourceFile:215)
    at cdk.a(SourceFile:46)
    at cdp.a(SourceFile:60)
    at cdp.a(SourceFile:42)
    at blv.f(SourceFile:96)
    at blz.c(SourceFile:138)
    at blz.a(SourceFile:118)
    at buo.a(SourceFile:1079)
    at bhz.az(SourceFile:1023)
    at bhz.a(SourceFile:419)
    at net.minecraft.client.main.Main.main(SourceFile:123)

Full crash report: https://pastebin.com/ntvHfe7E

When I try to open the Advancement screen with the following advancements:
advancements/Test/root.json: https://pastebin.com/TtKsdxef
advancements/Test/basic.json: https://pastebin.com/eVKg5KQR
advancements/Test/advanced.json: https://pastebin.com/bMQSVw0n

When Root and Basic are Granted to the player

In the screenshot you can see that as soon as I open the "Suck those Items" tab, the game crashes.
And the "parent" tag into Basic and Advanced is not working for some reasons

Linked issues

Attachments

Comments 3

And the "parent" tag into Basic and Advanced is not working for some reasons

Because it shouldn't be inside display, it should be on the same level as display and criteria

Even if it's user error, It shouldn't crash, unless this is more deep-level? Correct me if i'm wrong.

Is this still an issue in the most recent versions (currently that is 1.12.2, or the latest 1.13 development snapshot 18w20c) of Minecraft?

insane96mcp

(Unassigned)

Unconfirmed

Minecraft 1.12

Retrieved