Skip to content

The system cannot find the file specified. #2837

@bmmaiti

Description

@bmmaiti

Expected behavior

使用MYSQL数据库出现报错,无法使用,用默认的JSON没有报错,但我的数据都在MYSQL里面

Observed/Actual behavior

[12:11:02] [Craft Scheduler Thread - 3 - BentoBox/ERROR]: [BentoBox] Could not comment config file config.yml plugins\BentoBox\addons\SkyGrid\config.yml.tmp (系统找不到指定的文件。)
[12:11:02] [Craft Scheduler Thread - 43 - BentoBox/ERROR]: [BentoBox] Could not comment config file config.yml plugins\BentoBox\addons\SkyGrid\config.yml.tmp: 另一个程序正在使用此文件,进程无法访问。
[12:11:02] [Craft Scheduler Thread - 30 - BentoBox/ERROR]: [BentoBox] Could not comment config file config.yml plugins\BentoBox\addons\SkyGrid\config.yml.tmp (系统找不到指定的文件。)
[12:11:02] [Craft Scheduler Thread - 30 - BentoBox/ERROR]: [BentoBox] java.io.FileNotFoundException: plugins\BentoBox\addons\SkyGrid\config.yml.tmp (系统找不到指定的文件。)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:185)
at java.base/java.io.FileInputStream.(FileInputStream.java:139)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseConnector.copyFileUsingStream(YamlDatabaseConnector.java:178)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseConnector.commentFile(YamlDatabaseConnector.java:163)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseConnector.saveYamlFile(YamlDatabaseConnector.java:134)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseHandler.save(YamlDatabaseHandler.java:467)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseHandler.processFile(YamlDatabaseHandler.java:456)
at BentoBox-3.11.1.jar//world.bentobox.bentobox.database.yaml.YamlDatabaseHandler.lambda$saveObject$1(YamlDatabaseHandler.java:372)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:466)

Steps/models to reproduce

使用MYSQL数据库

BentoBox version

3.11.1版本

latest.log

Plugin list

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions