mojira.dev
MC-154499

Item frames in the world disappear and cause multiple error messages in the server console / Placing an item frame causes the client to crash

The bug

When an item frame is somewhere in the loaded parts of the world, the following error message appears in the server console:

Exception loading entity: 

java.lang.NullPointerException: null
	at ati.f(SourceFile:86) ~[server-1.14.3-pre3.jar:?]
	at ath.c(SourceFile:232) ~[server-1.14.3-pre3.jar:?]
	at ail.<init>(SourceFile:234) ~[server-1.14.3-pre3.jar:?]
	at ath.<init>(SourceFile:35) ~[server-1.14.3-pre3.jar:?]
	at ati.<init>(SourceFile:46) ~[server-1.14.3-pre3.jar:?]
	at aip.a(SourceFile:422) ~[server-1.14.3-pre3.jar:?]
	at aip.b(SourceFile:431) ~[server-1.14.3-pre3.jar:?]
	at java.util.Optional.map(Unknown Source) ~[?:1.8.0_201]
	at aip.a(SourceFile:431) ~[server-1.14.3-pre3.jar:?]
	at aip.b(SourceFile:484) ~[server-1.14.3-pre3.jar:?]
	at aip.a(SourceFile:465) ~[server-1.14.3-pre3.jar:?]
	at bya.a(SourceFile:393) ~[server-1.14.3-pre3.jar:?]
	at bya.b(SourceFile:151) ~[server-1.14.3-pre3.jar:?]
	at bxo.w(SourceFile:484) ~[server-1.14.3-pre3.jar:?]
	at uu.a(SourceFile:594) ~[server-1.14.3-pre3.jar:?]
	at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[server-1.14.3-pre3.jar:?]
	at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[server-1.14.3-pre3.jar:?]
	at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[server-1.14.3-pre3.jar:?]
	at uu.a(SourceFile:583) ~[server-1.14.3-pre3.jar:?]
	at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) ~[?:1.8.0_201]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) ~[?:1.8.0_201]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_201]
	at uw.b(SourceFile:57) ~[server-1.14.3-pre3.jar:?]
	at agq.e(SourceFile:83) [server-1.14.3-pre3.jar:?]
	at agq.a(SourceFile:123) [server-1.14.3-pre3.jar:?]
	at agq.run(SourceFile:91) [server-1.14.3-pre3.jar:?]
	at agn.h(SourceFile:135) [server-1.14.3-pre3.jar:?]
	at agn.p(SourceFile:114) [server-1.14.3-pre3.jar:?]
	at vg$a.p(SourceFile:506) [server-1.14.3-pre3.jar:?]
	at vg.d(SourceFile:234) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.aW(SourceFile:707) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.p(SourceFile:695) [server-1.14.3-pre3.jar:?]
	at agn.c(SourceFile:123) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.o(SourceFile:680) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:469) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:372) [server-1.14.3-pre3.jar:?]
	at ui.d(SourceFile:218) [server-1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:604) [server-1.14.3-pre3.jar:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]

As a result, the item frame that was about to be loaded will disappear.

When the client tries to place an item frame, the following error message will appear in the server console:

Error executing task on Server

java.lang.NullPointerException: null
	at ati.f(SourceFile:86) ~[1.14.3-pre3.jar:?]
	at ath.c(SourceFile:232) ~[1.14.3-pre3.jar:?]
	at ail.<init>(SourceFile:234) ~[1.14.3-pre3.jar:?]
	at ath.<init>(SourceFile:35) ~[1.14.3-pre3.jar:?]
	at ath.<init>(SourceFile:39) ~[1.14.3-pre3.jar:?]
	at ati.<init>(SourceFile:50) ~[1.14.3-pre3.jar:?]
	at bbw.a(SourceFile:40) ~[1.14.3-pre3.jar:?]
	at bce.a(SourceFile:189) ~[1.14.3-pre3.jar:?]
	at vk.a(SourceFile:312) ~[1.14.3-pre3.jar:?]
	at wa.a(SourceFile:951) ~[1.14.3-pre3.jar:?]
	at pi.a(SourceFile:36) ~[1.14.3-pre3.jar:?]
	at pi.a(SourceFile:10) ~[1.14.3-pre3.jar:?]
	at kd.a(SourceFile:15) ~[1.14.3-pre3.jar:?]
	at kd$$Lambda$3080/1958423162.run(Unknown Source) ~[?:?]
	at ri.run(SourceFile:18) ~[1.14.3-pre3.jar:?]
	at agn.h(SourceFile:135) [1.14.3-pre3.jar:?]
	at agr.h(SourceFile:23) [1.14.3-pre3.jar:?]
	at agn.p(SourceFile:114) [1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.aW(SourceFile:701) [1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.p(SourceFile:695) [1.14.3-pre3.jar:?]
	at agn.c(SourceFile:123) [1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.o(SourceFile:680) [1.14.3-pre3.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:635) [1.14.3-pre3.jar:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]

Additionally, the client will crash with the following crash report.

Crash report

1.14.3 Pre-Release 3\: [^crash-2019-06-14_11.35.28-client.txt]

Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at ati.f(SourceFile:86)
	at ath.c(SourceFile:232)
	at ail.<init>(SourceFile:234)
	at ath.<init>(SourceFile:35)
	at ath.<init>(SourceFile:39)
	at ati.<init>(SourceFile:50)
	at bbw.a(SourceFile:40)
	at bce.a(SourceFile:189)
	at dhq.a(SourceFile:321)
	at cvo.aF(SourceFile:1335)
	at cvo.aG(SourceFile:1562)
	at cvo.m(SourceFile:1411)
	at cvo.e(SourceFile:925)
	at cvo.b(SourceFile:411)
	at net.minecraft.client.main.Main.main(SourceFile:154)

Original description

When updating the server to the latest 1.14.3 pre-release 3, at first start up the server console spams a lot of errors. After restart these errors are gone, but when logging on to the server, all item frames are gone.

Reproduce: put in latest world backup with item frames, then start server again. This will give multiple errors. When restarting there are no errors and all item frames are gone.

Also tested without datapacks, but still same issue

Client side: when placing item frame, the client crashes. This causes error on the server, but server remains running.

Client crash report included in attachments.

Attachments

Comments 20

Can confirm. This is not caused by any data packs. Seems like the server throws an error message and the client crashes when an item frame is somewhere in the loaded parts of the world

I don't think it's worth bothering with all the issues that are potentially blocked by this one. Every issue that needs item frames to be reproduced is blocked by this. I don't expect this bug to last long.

I can confirm this, my item frames disapeared from chests and trying to place them again cause crash to desktop.

I also can confirm this... Even in a new world the placing of item frames will crash the game

10 more comments
Rellik PanDragon

any eta on 1.14.3pre4? Normally I wouldn't even bother asking, but man they been cranking these things out like crazy lately, that this long a pause (on such a MAJOR issue) seems crazy lol

Gavin L Moreland

I think 1.14.3pre4 will come out sometime this week. If I am reading the description here  correctly it has been delayed and should have released 2 days ago. It's possible they delayed either because this bug hasn't been fixed yet, or they are planning on releasing 1.14.3 and wanted to fix some more stuff.

This also happened when item frames were first added. Not crashing, but if item frames were on a wall, they would disappear if you walked away from them.

Please keep comments on topic, every comment (and every edit of a comment) triggers 33 mails. Since this report is resolved, pretty much the only good reason to comment is to claim that it was not fixed. Over 6 year old issues are extremely unlikely to be related.

Relates to MC-54008/MC-55627

 

Roeland Wubs

migrated

Confirmed

Very Important

Crash

Minecraft 1.14.3 Pre-Release 3

Minecraft 1.14.3 Pre-Release 4

Retrieved