mojira.dev
MC-225707

Caves and Cliffs Datapacks Server Error

Hi

I can't make a new server with caves and cliffs data pack in world/datapacks folder. It always gives the same error.

[Server thread/ERROR]: Encountered an unexpected exception
z: Exception initializing level
    at net.minecraft.server.MinecraftServer.a(SourceFile:393) ~[server.jar:?]
    at net.minecraft.server.MinecraftServer.e_(SourceFile:338) ~[server.jar:?]
    at aam.e(SourceFile:180) ~[server.jar:?]
    at net.minecraft.server.MinecraftServer.x(SourceFile:649) ~[server.jar:?]
    at net.minecraft.server.MinecraftServer.a(SourceFile:261) ~[server.jar:?]
    at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 47 out of bounds for length 33
    at cpd.a(SourceFile:102) ~[server.jar:?]
    at cpb.a(SourceFile:456) ~[server.jar:?]
    at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
    at cpb.a(SourceFile:456) ~[server.jar:?]
    at cpb.b(SourceFile:410) ~[server.jar:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]

Linked issues

Attachments

Comments 3

Can confirm

if you run it afterwards(dont mess around with the files) the server starts fine

attached log file and crash report(21w20a)

Still an issue in 1.17 Pre-release 3.

Hakaso

eowyn36

Community Consensus

Very Important

Crash, Data Packs

21w19a, 1.17 Pre-release 4

1.17 Pre-release 5

Retrieved