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

Game crashes or fails to save chunks // Error: java.util.concurrent.CompletionException: z: Accessing PalettedContainer from multiple threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 21w43a, 1.18 Pre-release 4, 1.18 Pre-release 5
    • None
    • Windows 11, Java 17.0.1
    • Confirmed
    • Crash
    • Very Important

      The game crashed whilst exploring the world, vanilla 1.18 pre-release 4 I've attached the crash log and full game log.

      ---- Minecraft Crash Report ----
      // There are four lights!
      
      Time: 19/11/2021, 14:22
      Description: Exception in server tick loop
      
      java.util.concurrent.CompletionException: z: Accessing PalettedContainer from multiple threads
          at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
          at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
          at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1159)
          at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
          at acx.b(SourceFile:58)
          at auk.g(SourceFile:91)
          at auk.a(SourceFile:146)
          at auk.run(SourceFile:102)
          at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
          at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
          at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
          at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
          at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
          at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
      Caused by: z: Accessing PalettedContainer from multiple threads
          at acv.a(SourceFile:639)
          at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
          at acv.a(SourceFile:621)
          at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
          ... 11 more
      Caused by: java.lang.IllegalStateException
          at ajj.a(SourceFile:27)
          at ajj.a(SourceFile:19)
          at cqp.a(SourceFile:55)
          at cqj.a(SourceFile:58)
          at cpw.a(SourceFile:35)
          at it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap.computeIfAbsent(Long2ObjectOpenHashMap.java:499)
          at cpw.a(SourceFile:32)
          at cxm.a(SourceFile:150)
          at cxm.a(SourceFile:52)
          at cvt.a(SourceFile:80)
          at ddu.a(SourceFile:56)
          at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
          at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
          at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
          at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
          at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
          at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
          at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
          at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
          at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
          at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.base/java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180)
          at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104)
          at java.base/java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711)
          at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
          at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
          at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
          at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
          at java.base/java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411)
          at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
          at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
          at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
          at ddu.a(SourceFile:55)
          at ddu.b(SourceFile:44)
          at cpz.a(SourceFile:310)
          at cqb.c(SourceFile:146)
          at cqb.a(SourceFile:289)
          at acv.a(SourceFile:627)
          ... 14 more
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- System Details --
      Details:
          Minecraft Version: 1.18 Pre-release 4
          Minecraft Version ID: 1.18-pre4
          Operating System: Windows 10 (amd64) version 10.0
          Java Version: 17.0.1, Microsoft
          Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
          Memory: 1615789512 bytes (1540 MiB) / 4932501504 bytes (4704 MiB) up to 6442450944 bytes (6144 MiB)
          CPUs: 12
          Processor Vendor: GenuineIntel
          Processor Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
          Identifier: Intel64 Family 6 Model 158 Stepping 10
          Microarchitecture: Coffee Lake
          Frequency (GHz): 3.70
          Number of physical packages: 1
          Number of physical CPUs: 6
          Number of logical CPUs: 12
          Graphics card #0 name: NVIDIA GeForce RTX 3080
          Graphics card #0 vendor: NVIDIA (0x10de)
          Graphics card #0 VRAM (MB): 4095.00
          Graphics card #0 deviceId: 0x2216
          Graphics card #0 versionInfo: DriverVersion=30.0.14.7196
          Memory slot #0 capacity (MB): 16384.00
          Memory slot #0 clockSpeed (GHz): 2.67
          Memory slot #0 type: DDR4
          Memory slot #1 capacity (MB): 16384.00
          Memory slot #1 clockSpeed (GHz): 2.67
          Memory slot #1 type: DDR4
          Virtual memory max (MB): 49080.70
          Virtual memory used (MB): 37582.27
          Swap memory total (MB): 16384.00
          Swap memory used (MB): 217.65
          JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
          Player Count: 1 / 8; [adj['abfielder'/31870, l='ServerLevel[-5596631996663293324]', x=-137.83, y=165.79, z=48.22]]
          Data Packs: vanilla
          Type: Integrated Server (map_client.txt)
          Is Modded: Probably not. Client jar signature and brand is untouched; Server jar signature and brand is untouched
      

        1. crash-2021-11-19_14.22.38-server.txt
          6 kB
          Alistair Beasley
        2. deobf_crash-2021-11-19_14.22.38-server.txt
          13 kB
          [Bot] Arisa
        3. deobf_description
          13 kB
          [Bot] Arisa
        4. latest.log
          70 kB
          Alistair Beasley
        5. latest-1.log
          17 kB
          [Mod] ampolive

            Unassigned Unassigned
            abfielder Alistair Beasley
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: