Mojira Archive
MC-132466

No enum constant bfz - loading and saving 1.12.2 chunks

While teleporting around the map converting chunks, the log occasionally displays errors:

15:07:18 sw Couldn't load chunk
java.lang.IllegalArgumentException: No enum constant bfz.
 at java.lang.Enum.valueOf(Enum.java:238)
 at bfz.valueOf(SourceFile:7)
 at bvm$a.a(SourceFile:96)
 at bwa.a(SourceFile:100)
 at bvx.b(SourceFile:123)
 at bwb.a(SourceFile:146)
 at bvx.a(SourceFile:103)
 at bvo.a(SourceFile:166)
 at bvo.a(SourceFile:81)
 at bmt.b(SourceFile:104)
 at bmt.a(SourceFile:84)
 at bmt.a(SourceFile:120)
 at sw.g(SourceFile:92)
 at sw.b(SourceFile:114)
 at te.<init>(SourceFile:40)
 at tf.c(SourceFile:171)
 at tf.c(SourceFile:263)
 at vj.d(SourceFile:349)
 at tw.a(SourceFile:772)
 at mp.a(SourceFile:126)
 at mp$b.a(SourceFile:18)
 at iv.a(SourceFile:10)
 at iv$$Lambda$1873/1582035725.run(Unknown Source)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at k.a(SourceFile:174)
 at net.minecraft.server.MinecraftServer.w(SourceFile:675)
 at net.minecraft.server.MinecraftServer.v(SourceFile:631)
 at dej.v(SourceFile:155)
 at net.minecraft.server.MinecraftServer.run(SourceFile:535)
 at java.lang.Thread.run(Thread.java:745)


15:07:56 tr Couldn't load protochunk
java.lang.IllegalArgumentException: No enum constant bfz.
 at java.lang.Enum.valueOf(Enum.java:238)
 at bfz.valueOf(SourceFile:7)
 at bvm$a.a(SourceFile:96)
 at bwa.a(SourceFile:100)
 at bvx.b(SourceFile:123)
 at bwb.a(SourceFile:146)
 at bvx.a(SourceFile:103)
 at bvo.a(SourceFile:166)
 at bvo.a(SourceFile:81)
 at bmt.b(SourceFile:104)
 at bmt.a(SourceFile:84)
 at bmt.b(SourceFile:136)
 at tr.a(SourceFile:70)
 at tr.a(SourceFile:51)
 at tr$$Lambda$1628/509546797.apply(Unknown Source)
 at java.util.Map.computeIfAbsent(Map.java:957)
 at tr.a(SourceFile:50)
 at tr.a(SourceFile:25)
 at ace.c(SourceFile:89)
 at sw.d(SourceFile:143)
 at bsj.a(SourceFile:196)
 at bsj.a(SourceFile:92)
 at bsn.d(SourceFile:60)
 at bnt.a(SourceFile:296)
 at sw.a(SourceFile:299)
 at sx.a(SourceFile:247)
 at axm.a(SourceFile:149)
 at sx.i_(SourceFile:197)
 at net.minecraft.server.MinecraftServer.w(SourceFile:697)
 at net.minecraft.server.MinecraftServer.v(SourceFile:631)
 at dej.v(SourceFile:155)
 at net.minecraft.server.MinecraftServer.run(SourceFile:535)
 at java.lang.Thread.run(Thread.java:745)

15:08:47 sw Couldn't load chunk
java.lang.IllegalArgumentException: No enum constant bfz.
 at java.lang.Enum.valueOf(Enum.java:238)
 at bfz.valueOf(SourceFile:7)
 at bvm$a.a(SourceFile:96)
 at bwa.a(SourceFile:100)
 at bvx.b(SourceFile:123)
 at bwb.a(SourceFile:146)
 at bvx.a(SourceFile:103)
 at bvo.a(SourceFile:166)
 at bvo.a(SourceFile:81)
 at bmt.b(SourceFile:104)
 at bmt.a(SourceFile:84)
 at bmt.a(SourceFile:120)
 at sw.g(SourceFile:92)
 at sw.b(SourceFile:114)
 at sw.c(SourceFile:120)
 at te.a(SourceFile:85)
 at tf.c(SourceFile:122)
 at sx.i_(SourceFile:221)
 at net.minecraft.server.MinecraftServer.w(SourceFile:697)
 at net.minecraft.server.MinecraftServer.v(SourceFile:631)
 at dej.v(SourceFile:155)
 at net.minecraft.server.MinecraftServer.run(SourceFile:535)
 at java.lang.Thread.run(Thread.java:745)
15:08:50 bmt Failed to save chunk
java.lang.IllegalArgumentException: No enum constant bfz.
 at java.lang.Enum.valueOf(Enum.java:238)
 at bfz.valueOf(SourceFile:7)
 at bvm$a.a(SourceFile:96)
 at bwa.a(SourceFile:100)
 at bvx.b(SourceFile:123)
 at bwb.a(SourceFile:146)
 at bvx.a(SourceFile:103)
 at bvo.a(SourceFile:166)
 at bvo.a(SourceFile:81)
 at bmt.b(SourceFile:104)
 at bmt.a(SourceFile:220)
 at tr.a(SourceFile:96)
 at tr$$Lambda$1815/27351070.accept(Unknown Source)
 at java.lang.Iterable.forEach(Iterable.java:75)
 at tr.a(SourceFile:91)
 at sw.d(SourceFile:282)
 at sx.i_(SourceFile:201)
 at net.minecraft.server.MinecraftServer.w(SourceFile:697)
 at net.minecraft.server.MinecraftServer.v(SourceFile:631)
 at dej.v(SourceFile:155)
 at net.minecraft.server.MinecraftServer.run(SourceFile:535)
 at java.lang.Thread.run(Thread.java:745)

How to Reproduce

  1. Download https://www.dropbox.com/s/yqyugdf0d7j8tqk/Enum%20Constant%20Test.zip?dl=0
  2. Exract the contained folder and put it into the world save.
  3. Make sure the launcher log is open (or go to the logs directory afterwards)
  4. Open the world and click "I know what I am doing"
  5. Press the green button
  6. Observe the Game Output Log

Fixed

bdm68

[Mojang] Bartosz Bok

2018-07-01, 08:40 AM

2018-07-13, 12:56 PM

2018-07-13, 12:56 PM

0

3

Confirmed

Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7

Minecraft 1.13-pre8