Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-241172

Rare Datafixer error occured in old world

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 4
    • 1.18 Pre-release 1, 1.18 Pre-release 2
    • None
    • Community Consensus
    • Datafixer
    • Important

      The bug
      I was loading my old worlds in this Pre-release and the world lagged a bit on saving and then I checked logs and saw a problem saving chunk with a Data fixer error.

      [17:29:13] [Server thread/ERROR]: Failed to save chunk 9,-18
      java.lang.NullPointerException: Cannot read field "d" because "$$0" is null
      	at ddm.b(SourceFile:23) ~[1.18-pre1.jar:?]
      	at com.mojang.serialization.codecs.RecordCodecBuilder$Instance.lambda$ap2$4(RecordCodecBuilder.java:215) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) ~[datafixerupper-4.0.26.jar:?]
      	at xz.a(SourceFile:34) ~[1.18-pre1.jar:?]
      	at xv.a(SourceFile:42) ~[1.18-pre1.jar:?]
      	at xv.encode(SourceFile:13) ~[1.18-pre1.jar:?]
      	at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.codecs.FieldEncoder.encode(FieldEncoder.java:24) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.MapCodec$1.encode(MapCodec.java:39) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$4.encode(RecordCodecBuilder.java:222) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.codecs.RecordCodecBuilder$2.encode(RecordCodecBuilder.java:112) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.codecs.KeyDispatchCodec.encode(KeyDispatchCodec.java:92) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.MapCodec$MapCodecCodec.encode(MapCodec.java:96) ~[datafixerupper-4.0.26.jar:?]
      	at com.mojang.serialization.Encoder.encodeStart(Encoder.java:14) ~[datafixerupper-4.0.26.jar:?]
      	at dem.a(SourceFile:72) ~[1.18-pre1.jar:?]
      	at det.a(SourceFile:119) ~[1.18-pre1.jar:?]
      	at dfb.a(SourceFile:53) ~[1.18-pre1.jar:?]
      	at dev.a(SourceFile:81) ~[1.18-pre1.jar:?]
      	at cqn.a(SourceFile:421) ~[1.18-pre1.jar:?]
      	at cqn.a(SourceFile:373) ~[1.18-pre1.jar:?]
      	at acp.a(SourceFile:758) ~[1.18-pre1.jar:?]
      	at acp.e(SourceFile:457) ~[1.18-pre1.jar:?]
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
      	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$ValueIterator.acceptOnIndex(Long2ObjectLinkedOpenHashMap.java:1736) ~[fastutil-8.5.6.jar:?]
      	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$ValueIterator.acceptOnIndex(Long2ObjectLinkedOpenHashMap.java:1723) ~[fastutil-8.5.6.jar:?]
      	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$MapIterator.forEachRemaining(Long2ObjectLinkedOpenHashMap.java:1260) ~[fastutil-8.5.6.jar:?]
      	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$ValueIterator.forEachRemaining(Long2ObjectLinkedOpenHashMap.java:1723) ~[fastutil-8.5.6.jar:?]
      	at it.unimi.dsi.fastutil.objects.ObjectSpliterators$SpliteratorFromIterator.forEachRemaining(ObjectSpliterators.java:1194) ~[fastutil-8.5.6.jar:?]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
      	at acp.a(SourceFile:454) ~[1.18-pre1.jar:?]
      	at ada.a(SourceFile:305) ~[1.18-pre1.jar:?]
      	at adc.a(SourceFile:741) ~[1.18-pre1.jar:?]
      	at net.minecraft.server.MinecraftServer.a(SourceFile:561) ~[1.18-pre1.jar:?]
      	at net.minecraft.server.MinecraftServer.b(SourceFile:585) ~[1.18-pre1.jar:?]
      	at fcg.a(SourceFile:87) ~[1.18-pre1.jar:?]
      	at net.minecraft.server.MinecraftServer.w(SourceFile:684) ~[1.18-pre1.jar:?]
      	at net.minecraft.server.MinecraftServer.a(SourceFile:270) ~[1.18-pre1.jar:?]
      	at java.lang.Thread.run(Thread.java:831) [?:?]
      

            fry [Mojang] Georgii Gavrichev
            Welcome_234 Welcome 234
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: