Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. 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

XMLWordPrintable

    • Confirmed
    • Crash
    • Very Important

      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

      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.

            Excited Maria Lemón
            Dnaleor Roeland Wubs
            Votes:
            44 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: