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

Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.18.1
    • 22w06a
    • None
    • Plausible
    • Crash
    • Very Important

    Description

      Description: Exception ticking world
      
      java.lang.NullPointerException: Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null
      	at acv.a(SourceFile:329)
      	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1163)
      	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)
      
      Description: Ticking player
      
      java.lang.NullPointerException: Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null
      	at net.minecraft.server.level.ChunkMap.java.util.concurrent.CompletableFuture getChunkRangeFuture(net.minecraft.world.level.ChunkPos,int,java.util.function.IntFunction)(ChunkMap.java:329)
      	at net.minecraft.server.level.ChunkMap.com.mojang.datafixers.util.Either lambda$getChunkRangeFuture$3(int,int,int,java.util.List)(ChunkMap.java:329)
      	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1163)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      	at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.void lambda$message$1(java.lang.Runnable,net.minecraft.util.thread.ProcessorHandle)(ChunkTaskPriorityQueueSorter.java:58)
      	at net.minecraft.util.thread.ProcessorMailbox.boolean pollTask()(ProcessorMailbox.java:91)
      	at net.minecraft.util.thread.ProcessorMailbox.int pollUntil(it.unimi.dsi.fastutil.ints.Int2BooleanFunction)(ProcessorMailbox.java:146)
      	at net.minecraft.util.thread.ProcessorMailbox.void run()(ProcessorMailbox.java: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)
      
      Description: Exception initializing level
      
      java.lang.NullPointerException: Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null
      	at net.minecraft.server.level.ChunkMap.java.util.concurrent.CompletableFuture getChunkRangeFuture(net.minecraft.world.level.ChunkPos,int,java.util.function.IntFunction)(ChunkMap.java:329)
      	at net.minecraft.server.level.ChunkMap.com.mojang.datafixers.util.Either lambda$getChunkRangeFuture$3(int,int,int,java.util.List)(ChunkMap.java:329)
      	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
      	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1163)
      	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
      	at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.void lambda$message$1(java.lang.Runnable,net.minecraft.util.thread.ProcessorHandle)(ChunkTaskPriorityQueueSorter.java:58)
      	at net.minecraft.util.thread.ProcessorMailbox.boolean pollTask()(ProcessorMailbox.java:91)
      	at net.minecraft.util.thread.ProcessorMailbox.int pollUntil(it.unimi.dsi.fastutil.ints.Int2BooleanFunction)(ProcessorMailbox.java:146)
      	at net.minecraft.util.thread.ProcessorMailbox.void run()(ProcessorMailbox.java: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)
      

      Attachments

        Issue Links

          Activity

            People

              billy.sjoberg [Mojang] Billy Sjöberg
              AdieCraft Adrian Kitchen
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: