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

Crash when loading world: java.util.ConcurrentModificationException when using Java 11 or above

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, 1.15.2, 20w13b, 20w15a, 20w21a, 1.16 Pre-release 8, 1.16.1, 20w28a, 20w29a, 1.16.4 Pre-release 2, 20w46a
    • 21w20a
    • None
    • Java 11 or newer
    • Confirmed
    • Crash
    • Very Important

    Description

      When attempting to play attached world in Minecraft client, game may crash, then freeze. Doesn't always happen. Crash report is only printed in launcher, not saved.

      java.util.ConcurrentModificationException
      	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
      	at cje.b(SourceFile:67)
      	at cje.a(SourceFile:57)
      	at cff.a(SourceFile:98)
      	at cfi.a(SourceFile:86)
      	at java.base/java.util.stream.ReferencePipeline$4$1.accept(ReferencePipeline.java:212)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.IntPipeline.reduce(IntPipeline.java:496)
      	at java.base/java.util.stream.IntPipeline.max(IntPipeline.java:459)
      	at cfi.a(SourceFile:86)
      	at cfd$c.a(SourceFile:175)
      	at java.base/java.util.stream.ReferencePipeline$4$1.accept(ReferencePipeline.java:212)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.IntPipeline.reduce(IntPipeline.java:496)
      	at java.base/java.util.stream.IntPipeline.max(IntPipeline.java:459)
      	at cfd$c.a(SourceFile:176)
      	at cfd$c.<init>(SourceFile:98)
      	at cfd.a(SourceFile:280)
      	at cet.a(SourceFile:25)
      	at ces$a.a(SourceFile:89)
      	at bwy.a(SourceFile:187)
      	at bxc.d(SourceFile:44)
      	at bxc.a(SourceFile:199)
      	at us.a(SourceFile:461)
      	at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
      	at us.a(SourceFile:455)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
      	at uu.b(SourceFile:57)
      	at agk.e(SourceFile:83)
      	at agk.a(SourceFile:123)
      	at agk.run(SourceFile:91)
      	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
      	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
      	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
      	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
      	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
      	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
      

      Attachments

        1. 20w21a_log.txt
          12 kB
        2. crash-2020-04-04_20.04.06-server.txt
          5 kB
        3. crashreport.txt
          15 kB
        4. documentary.zip
          311 kB
        5. pre1.txt
          7 kB

        Issue Links

          Activity

            People

              billy.sjoberg [Mojang] Billy Sjöberg
              laputan laputan
              Votes:
              45 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: