BlueMap 插件在加载 Minecraft 世界时,无法找到 level.dat 文件,导致世界加载失败。
848244210 opened this issue · 2 comments
报告日期:2025年01月30日
反馈类型:Bug
反馈内容:
问题描述:
BlueMap 插件在加载 Minecraft 世界时,无法找到 level.dat 文件,导致世界加载失败。具体涉及的两个世界为:
world\DIM1#minecraft:the_end
world\DIM-1#minecraft:the_nether
日志中显示 java.nio.file.NoSuchFileException,表明 level.dat 文件可能不存在或路径不正确。
[15:05:21 WARN] [BlueMap]:
################################
There is a problem with your BlueMap setup!
Failed to load world world\DIM1#minecraft:the_end!
Is the level.dat of that world present and not corrupted?
################################
[15:05:21 ERROR] [BlueMap]: Detailed error:
de.bluecolored.bluemap.common.config.ConfigurationException: java.nio.file.NoSuchFileException: world\DIM1\level.dat
at de.bluecolored.bluemap.common.BlueMapService.loadMap(BlueMapService.java:230) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.getOrLoadMaps(BlueMapService.java:166) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.getOrLoadMaps(BlueMapService.java:149) ~[?:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:187) ~[?:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:113) ~[?:?]
at de.bluecolored.bluemap.bukkit.BukkitPlugin.lambda$onEnable$0(BukkitPlugin.java:152) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[arclight-1.20.1-1.0.6-4e94eb76.jar%23163!/:arclight-1.20.1-1.0.6-4e94eb76]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[arclight-1.20.1-1.0.6-4e94eb76.jar%23163!/:arclight-1.20.1-1.0.6-4e94eb76]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.nio.file.NoSuchFileException: world\DIM1\level.dat
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:234) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:379) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:431) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:159) ~[?:?]
at de.bluecolored.bluemap.core.world.mca.MCAWorld.load(MCAWorld.java:272) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.loadMap(BlueMapService.java:227) ~[?:?]
... 10 more
同样的问题也出现在 world\DIM-1#minecraft:the_nether 世界中,日志内容类似。
使用环境:
操作系统:Windows
Java版本:java17
Minecraft版本:1.20.1
BlueMap版本:5.5-spigot
服务器软件:Arclight 1.20.1-1.0.6-4e94eb76
已采取的措施:
确认 world\DIM1 和 world\DIM-1 文件夹中是否存在 level.dat 文件。
检查文件路径是否正确,确认文件夹和文件名的大小写是否一致。
尝试重新加载 BlueMap 插件,但问题依然存在。
Sure! Below is the English version of the BlueMap GitHub issue report based on the log information you provided:
BlueMap GitHub Issue Report
Reporter: [Your GitHub Username]
Date: January 30, 2025
Issue Type: Bug
Description:
Problem Summary:
BlueMap is failing to load Minecraft worlds due to missing level.dat files. The specific worlds involved are:
world\DIM1#minecraft:the_end
world\DIM-1#minecraft:the_nether
The logs indicate java.nio.file.NoSuchFileException, suggesting that the level.dat files are either missing or the paths are incorrect.
Relevant Logs:
复制
[15:05:21 WARN] [BlueMap]:
################################
There is a problem with your BlueMap setup!
Failed to load world world\DIM1#minecraft:the_end!
Is the level.dat of that world present and not corrupted?
################################
[15:05:21 ERROR] [BlueMap]: Detailed error:
de.bluecolored.bluemap.common.config.ConfigurationException: java.nio.file.NoSuchFileException: world\DIM1\level.dat
at de.bluecolored.bluemap.common.BlueMapService.loadMap(BlueMapService.java:230) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.getOrLoadMaps(BlueMapService.java:166) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.getOrLoadMaps(BlueMapService.java:149) ~[?:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:187) ~[?:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:113) ~[?:?]
at de.bluecolored.bluemap.bukkit.BukkitPlugin.lambda$onEnable$0(BukkitPlugin.java:152) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[arclight-1.20.1-1.0.6-4e94eb76.jar%23163!/:arclight-1.20.1-1.0.6-4e94eb76]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[arclight-1.20.1-1.0.6-4e94eb76.jar%23163!/:arclight-1.20.1-1.0.6-4e94eb76]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.nio.file.NoSuchFileException: world\DIM1\level.dat
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:234) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:379) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:431) ~[?:?]
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) ~[?:?]
at java.nio.file.Files.newInputStream(Files.java:159) ~[?:?]
at de.bluecolored.bluemap.core.world.mca.MCAWorld.load(MCAWorld.java:272) ~[?:?]
at de.bluecolored.bluemap.common.BlueMapService.loadMap(BlueMapService.java:227) ~[?:?]
... 10 more
The same issue occurs for the world\DIM-1#minecraft:the_nether world, with similar log content.
Environment:
Operating System: Windows [specific version]
Java Version: java17
Minecraft Version: 1.20.1
BlueMap Version: 5.5-spigot
Server Software: Arclight 1.20.1-1.0.6-4e94eb76
Steps Taken:
Confirmed whether the level.dat files exist in the world\DIM1 and world\DIM-1 folders.
Checked the file paths for correctness and ensured that folder and file names are consistent in terms of case sensitivity.
Attempted to reload the BlueMap plugin, but the issue persists.
Expected Outcome:
We hope the developers can provide the following assistance:
Guidance on how to properly configure BlueMap to load these worlds.
If it is a path issue, provide methods to fix the paths.
If the files are corrupted, offer suggestions for restoring or repairing the level.dat files.
For the nether (world/DIM-1) you need:
world: "world"
dimension: "minecraft:the_nether"in your map configuration..
And for the end (world/DIM1) you need:
world: "world"
dimension: "minecraft:the_end"For further support please use our discord, GitHub issues are for bugs and planned features only :)