HiveGamesOSS / Chunker

Convert Minecraft worlds between Java Edition and Bedrock Edition
https://oss.chunker.app/
MIT License
266 stars 11 forks source link

World conversion #135

Closed westy4268 closed 3 hours ago

westy4268 commented 3 hours ago

Chunker Version

1.4.0-main-86becbf

Input World Version

Bedrock 1.0.12

Output World Version

N/A

Platform / Operating System

win32-x64-10.0.22631

Issue Description

Error Displayed: A fatal error occurred during conversion. Stack Trace:

java.util.concurrent.CompletionException: java.lang.IllegalStateException: CURRENT file does not end with newline
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
    at com.hivemc.chunker.scheduling.task.Environment.cancel(Environment.java:85)
    at com.hivemc.chunker.conversion.WorldConverter.cancel(WorldConverter.java:609)
    at com.hivemc.chunker.conversion.WorldConverter.logFatalException(WorldConverter.java:441)
    at com.hivemc.chunker.scheduling.task.executor.TaskExecutor.handleException(TaskExecutor.java:109)
    at com.hivemc.chunker.scheduling.task.WrappedTask.lambda$setupFuture$0(WrappedTask.java:57)
    at java.base/java.util.concurrent.CompletableFuture.uniHandle(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
    at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(Unknown Source)
    at com.hivemc.chunker.scheduling.task.executor.TaskExecutorSupplier.run(TaskExecutorSupplier.java:44)
    at com.hivemc.chunker.scheduling.task.executor.TaskExecutor.threadLoop(TaskExecutor.java:178)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: CURRENT file does not end with newline
    at org.iq80.leveldb.impl.Filename.getCurrentFile(Filename.java:218)
    at org.iq80.leveldb.impl.VersionSet.recover(VersionSet.java:350)
    at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:220)
    at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:68)
    at com.hivemc.chunker.conversion.encoding.bedrock.base.reader.BedrockLevelReader.openDatabase(BedrockLevelReader.java:97)
    at com.hivemc.chunker.conversion.encoding.bedrock.base.reader.BedrockLevelReader.readLevel(BedrockLevelReader.java:115)
    at com.hivemc.chunker.scheduling.function.ThrowableConsumer.invoke(ThrowableConsumer.java:20)
    at com.hivemc.chunker.scheduling.function.ThrowableConsumer.invoke(ThrowableConsumer.java:8)
    at com.hivemc.chunker.scheduling.task.WrappedTask.apply(WrappedTask.java:84)
    at com.hivemc.chunker.scheduling.task.WrappedTask$WrappedTaskConstant.apply(WrappedTask.java:129)
    at com.hivemc.chunker.scheduling.task.WrappedTask.get(WrappedTask.java:77)
    at com.hivemc.chunker.scheduling.task.executor.TaskExecutorSupplier.run(TaskExecutorSupplier.java:42)
    ... 2 more
FormallyMyles commented 3 hours ago

Chunker has a minimum supported version of Bedrock 1.12.0, additionally the error indicates that the world is either corrupted / encrypted or just from a version that isn't supproted.