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

Starting data.Main for data generation crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.4 Pre-release 1
    • 23w07a
    • None
    • Confirmed
    • Crash, Dedicated Server
    • Important
    • Platform

      Setting the "bundlerMainClass" system property to "net.minecraft.data.Main" and starting the server bundler jar crashes with the following error:

      [17:11:36] [ServerMain/INFO]: Building unoptimized datafixer
      [17:11:37] [ServerMain/INFO]: Starting provider: vanilla/Biome Parameters
      Exception in thread "ServerMain" [17:11:37] [ServerMain/INFO]: [STDERR]: java.util.concurrent.CompletionException: java.lang.IllegalStateException: Missing element ResourceKey[minecraft:worldgen/biome / minecraft:cherry_grove]
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1159)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
      [17:11:37] [ServerMain/INFO]: [STDERR]: Caused by: java.lang.IllegalStateException: Missing element ResourceKey[minecraft:worldgen/biome / minecraft:cherry_grove]
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at hc.c(SourceFile:15)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.Optional.orElseThrow(Optional.java:403)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at hc.b(SourceFile:15)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a.a(SourceFile:147)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at com.mojang.datafixers.util.Pair.mapSecond(Pair.java:68)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a.a(SourceFile:142)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cns.a(SourceFile:599)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cns.c(SourceFile:393)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cns.d(SourceFile:272)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cns.a(SourceFile:197)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a.a(SourceFile:142)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a$3.apply(SourceFile:122)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a.a(SourceFile:147)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at cnr$a.a(SourceFile:152)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at jv.a(SourceFile:42)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at jv.a(SourceFile:45)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
      [17:11:37] [ServerMain/INFO]: [STDERR]:     ... 8 more

            boq [Mojang] Bartosz Bok
            KennyTV [Mod] Nassim Jahnke
            Votes:
            12 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: